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(maxSdk=34) protected static long nCreate(String name)
    • nGetNativeFinalizer

      @Implementation(maxSdk=34) protected static long nGetNativeFinalizer()
    • nOutput

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

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

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

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

      @Implementation(minSdk=33, maxSdk=34) protected static void nRequestPositionUpdates(long renderNode, WeakReference<RenderNode.PositionUpdateListener> callback)
    • nAddAnimator

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

      @Implementation(maxSdk=34) protected static void nEndAllAnimators(long renderNode)
    • nForceEndAnimators

      @Implementation(minSdk=33, maxSdk=34) protected static void nForceEndAnimators(long renderNode)
    • nDiscardDisplayList

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      @Implementation(maxSdk=29) protected static boolean nSetOutlineConvexPath(long renderNode, long nativePath, float alpha)
    • nSetOutlineEmpty

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      @Implementation(maxSdk=34) protected static long nGetUniqueId(long renderNode)
    • nSetDisplayList

      @Implementation(minSdk=29, maxSdk=30) protected static void nSetDisplayList(long renderNode, long newData)
    • nSetIsTextureView

      @Implementation(minSdk=34, maxSdk=34) protected static void nSetIsTextureView(long renderNode)