Class ShadowNativeRenderNode

java.lang.Object
org.robolectric.shadows.ShadowNativeRenderNode

Shadow for RenderNode that is backed by native code
  • Constructor Details

    • ShadowNativeRenderNode

      public ShadowNativeRenderNode()
  • Method Details

    • nCreate

      @Implementation protected static long nCreate(String name)
    • nGetNativeFinalizer

      @Implementation protected static long nGetNativeFinalizer()
    • nOutput

      @Implementation protected static void nOutput(long renderNode)
    • nGetUsageSize

      @Implementation(minSdk=30) protected static int nGetUsageSize(long renderNode)
    • nGetAllocatedSize

      @Implementation(minSdk=30) protected static int nGetAllocatedSize(long renderNode)
    • nRequestPositionUpdates

      @Implementation(maxSdk=32) protected static void nRequestPositionUpdates(long renderNode, RenderNode.PositionUpdateListener callback)
    • nAddAnimator

      @Implementation protected static void nAddAnimator(long renderNode, long animatorPtr)
    • nEndAllAnimators

      @Implementation protected static void nEndAllAnimators(long renderNode)
    • nDiscardDisplayList

      @Implementation(minSdk=31) protected static void nDiscardDisplayList(long renderNode)
    • nIsValid

      @Implementation protected static boolean nIsValid(long renderNode)
    • nGetTransformMatrix

      @Implementation protected static void nGetTransformMatrix(long renderNode, long nativeMatrix)
    • nGetInverseTransformMatrix

      @Implementation protected static void nGetInverseTransformMatrix(long renderNode, long nativeMatrix)
    • nHasIdentityMatrix

      @Implementation protected static boolean nHasIdentityMatrix(long renderNode)
    • nOffsetTopAndBottom

      @Implementation protected static boolean nOffsetTopAndBottom(long renderNode, int offset)
    • nOffsetLeftAndRight

      @Implementation protected static boolean nOffsetLeftAndRight(long renderNode, int offset)
    • nSetLeftTopRightBottom

      @Implementation protected static boolean nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom)
    • nSetLeft

      @Implementation protected static boolean nSetLeft(long renderNode, int left)
    • nSetTop

      @Implementation protected static boolean nSetTop(long renderNode, int top)
    • nSetRight

      @Implementation protected static boolean nSetRight(long renderNode, int right)
    • nSetBottom

      @Implementation protected static boolean nSetBottom(long renderNode, int bottom)
    • nGetLeft

      @Implementation protected static int nGetLeft(long renderNode)
    • nGetTop

      @Implementation protected static int nGetTop(long renderNode)
    • nGetRight

      @Implementation protected static int nGetRight(long renderNode)
    • nGetBottom

      @Implementation protected static int nGetBottom(long renderNode)
    • nSetCameraDistance

      @Implementation protected static boolean nSetCameraDistance(long renderNode, float distance)
    • nSetPivotY

      @Implementation protected static boolean nSetPivotY(long renderNode, float pivotY)
    • nSetPivotX

      @Implementation protected static boolean nSetPivotX(long renderNode, float pivotX)
    • nResetPivot

      @Implementation protected static boolean nResetPivot(long renderNode)
    • nSetLayerType

      @Implementation protected static boolean nSetLayerType(long renderNode, int layerType)
    • nGetLayerType

      @Implementation protected static int nGetLayerType(long renderNode)
    • nSetLayerPaint

      @Implementation protected static boolean nSetLayerPaint(long renderNode, long paint)
    • nSetClipToBounds

      @Implementation protected static boolean nSetClipToBounds(long renderNode, boolean clipToBounds)
    • nGetClipToBounds

      @Implementation protected static boolean nGetClipToBounds(long renderNode)
    • nSetClipBounds

      @Implementation protected static boolean nSetClipBounds(long renderNode, int left, int top, int right, int bottom)
    • nSetClipBoundsEmpty

      @Implementation protected static boolean nSetClipBoundsEmpty(long renderNode)
    • nSetProjectBackwards

      @Implementation protected static boolean nSetProjectBackwards(long renderNode, boolean shouldProject)
    • nSetProjectionReceiver

      @Implementation protected static boolean nSetProjectionReceiver(long renderNode, boolean shouldReceive)
    • nSetOutlineRoundRect

      @Implementation protected static boolean nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha)
    • nSetOutlinePath

      @Implementation(minSdk=30) protected static boolean nSetOutlinePath(long renderNode, long nativePath, float alpha)
    • nSetOutlineEmpty

      @Implementation protected static boolean nSetOutlineEmpty(long renderNode)
    • nSetOutlineNone

      @Implementation protected static boolean nSetOutlineNone(long renderNode)
    • nClearStretch

      @Implementation(minSdk=31) protected static boolean nClearStretch(long renderNode)
    • nStretch

      @Implementation(minSdk=31) protected static boolean nStretch(long renderNode, float vecX, float vecY, float maxStretchX, float maxStretchY)
    • nHasShadow

      @Implementation protected static boolean nHasShadow(long renderNode)
    • nSetSpotShadowColor

      @Implementation protected static boolean nSetSpotShadowColor(long renderNode, int color)
    • nSetAmbientShadowColor

      @Implementation protected static boolean nSetAmbientShadowColor(long renderNode, int color)
    • nGetSpotShadowColor

      @Implementation protected static int nGetSpotShadowColor(long renderNode)
    • nGetAmbientShadowColor

      @Implementation protected static int nGetAmbientShadowColor(long renderNode)
    • nSetClipToOutline

      @Implementation protected static boolean nSetClipToOutline(long renderNode, boolean clipToOutline)
    • nSetRevealClip

      @Implementation protected static boolean nSetRevealClip(long renderNode, boolean shouldClip, float x, float y, float radius)
    • nSetAlpha

      @Implementation protected static boolean nSetAlpha(long renderNode, float alpha)
    • nSetRenderEffect

      @Implementation(minSdk=31) protected static boolean nSetRenderEffect(long renderNode, long renderEffect)
    • nSetHasOverlappingRendering

      @Implementation protected static boolean nSetHasOverlappingRendering(long renderNode, boolean hasOverlappingRendering)
    • nSetUsageHint

      @Implementation protected static void nSetUsageHint(long renderNode, int usageHint)
    • nSetElevation

      @Implementation protected static boolean nSetElevation(long renderNode, float lift)
    • nSetTranslationX

      @Implementation protected static boolean nSetTranslationX(long renderNode, float translationX)
    • nSetTranslationY

      @Implementation protected static boolean nSetTranslationY(long renderNode, float translationY)
    • nSetTranslationZ

      @Implementation protected static boolean nSetTranslationZ(long renderNode, float translationZ)
    • nSetRotation

      @Implementation protected static boolean nSetRotation(long renderNode, float rotation)
    • nSetRotationX

      @Implementation protected static boolean nSetRotationX(long renderNode, float rotationX)
    • nSetRotationY

      @Implementation protected static boolean nSetRotationY(long renderNode, float rotationY)
    • nSetScaleX

      @Implementation protected static boolean nSetScaleX(long renderNode, float scaleX)
    • nSetScaleY

      @Implementation protected static boolean nSetScaleY(long renderNode, float scaleY)
    • nSetStaticMatrix

      @Implementation protected static boolean nSetStaticMatrix(long renderNode, long nativeMatrix)
    • nSetAnimationMatrix

      @Implementation protected static boolean nSetAnimationMatrix(long renderNode, long animationMatrix)
    • nHasOverlappingRendering

      @Implementation protected static boolean nHasOverlappingRendering(long renderNode)
    • nGetAnimationMatrix

      @Implementation protected static boolean nGetAnimationMatrix(long renderNode, long animationMatrix)
    • nGetClipToOutline

      @Implementation protected static boolean nGetClipToOutline(long renderNode)
    • nGetAlpha

      @Implementation protected static float nGetAlpha(long renderNode)
    • nGetCameraDistance

      @Implementation protected static float nGetCameraDistance(long renderNode)
    • nGetScaleX

      @Implementation protected static float nGetScaleX(long renderNode)
    • nGetScaleY

      @Implementation protected static float nGetScaleY(long renderNode)
    • nGetElevation

      @Implementation protected static float nGetElevation(long renderNode)
    • nGetTranslationX

      @Implementation protected static float nGetTranslationX(long renderNode)
    • nGetTranslationY

      @Implementation protected static float nGetTranslationY(long renderNode)
    • nGetTranslationZ

      @Implementation protected static float nGetTranslationZ(long renderNode)
    • nGetRotation

      @Implementation protected static float nGetRotation(long renderNode)
    • nGetRotationX

      @Implementation protected static float nGetRotationX(long renderNode)
    • nGetRotationY

      @Implementation protected static float nGetRotationY(long renderNode)
    • nIsPivotExplicitlySet

      @Implementation protected static boolean nIsPivotExplicitlySet(long renderNode)
    • nGetPivotX

      @Implementation protected static float nGetPivotX(long renderNode)
    • nGetPivotY

      @Implementation protected static float nGetPivotY(long renderNode)
    • nGetWidth

      @Implementation protected static int nGetWidth(long renderNode)
    • nGetHeight

      @Implementation protected static int nGetHeight(long renderNode)
    • nSetAllowForceDark

      @Implementation protected static boolean nSetAllowForceDark(long renderNode, boolean allowForceDark)
    • nGetAllowForceDark

      @Implementation protected static boolean nGetAllowForceDark(long renderNode)
    • nGetUniqueId

      @Implementation protected static long nGetUniqueId(long renderNode)