Class ShadowNativeRenderNodeOP

java.lang.Object
org.robolectric.shadows.ShadowNativeRenderNodeOP

@Implements(className="android.view.RenderNode", minSdk=26, maxSdk=28, shadowPicker=Picker.class) public class ShadowNativeRenderNodeOP extends Object
Shadow for RenderNode that is backed by native code
  • Constructor Details

    • ShadowNativeRenderNodeOP

      public ShadowNativeRenderNodeOP()
  • Method Details

    • nCreate

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

      @Implementation protected static long nGetNativeFinalizer()
    • nOutput

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

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

      @Implementation protected static void nEndAllAnimators(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)
    • 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(minSdk=28) protected static boolean nResetPivot(long renderNode)
    • nSetLayerType

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

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

      @Implementation protected static boolean nSetClipToBounds(long renderNode, boolean clipToBounds)
    • 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)
    • nSetOutlineEmpty

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

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

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

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

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

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

      @Implementation(minSdk=28) 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)
    • nSetHasOverlappingRendering

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

      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)
    • 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)
    • end

      @Implementation protected void end(Object canvas)