Package org.robolectric.shadows
Class ShadowNativeRenderNodeOP
java.lang.Object
org.robolectric.shadows.ShadowNativeRenderNodeOP
@Implements(className="android.view.RenderNode",
minSdk=26,
maxSdk=28,
looseSignatures=true,
shadowPicker=Picker.class)
public class ShadowNativeRenderNodeOP
extends Object
Shadow for
RenderNode
that is backed by native code-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected static void
nAddAnimator
(long renderNode, long animatorPtr) protected static long
protected static void
nEndAllAnimators
(long renderNode) protected static float
nGetAlpha
(long renderNode) protected static int
nGetAmbientShadowColor
(long renderNode) protected static float
nGetCameraDistance
(long renderNode) protected static boolean
nGetClipToOutline
(long renderNode) protected static float
nGetElevation
(long renderNode) protected static void
nGetInverseTransformMatrix
(long renderNode, long nativeMatrix) protected static long
protected static float
nGetPivotX
(long renderNode) protected static float
nGetPivotY
(long renderNode) protected static float
nGetRotation
(long renderNode) protected static float
nGetRotationX
(long renderNode) protected static float
nGetRotationY
(long renderNode) protected static float
nGetScaleX
(long renderNode) protected static float
nGetScaleY
(long renderNode) protected static int
nGetSpotShadowColor
(long renderNode) protected static void
nGetTransformMatrix
(long renderNode, long nativeMatrix) protected static float
nGetTranslationX
(long renderNode) protected static float
nGetTranslationY
(long renderNode) protected static float
nGetTranslationZ
(long renderNode) protected static boolean
nHasIdentityMatrix
(long renderNode) protected static boolean
nHasOverlappingRendering
(long renderNode) protected static boolean
nHasShadow
(long renderNode) protected static boolean
nIsPivotExplicitlySet
(long renderNode) protected static boolean
nIsValid
(long renderNode) protected static boolean
nOffsetLeftAndRight
(long renderNode, int offset) protected static boolean
nOffsetTopAndBottom
(long renderNode, int offset) protected static void
nOutput
(long renderNode) protected static boolean
nResetPivot
(long renderNode) protected static boolean
nSetAlpha
(long renderNode, float alpha) protected static boolean
nSetAmbientShadowColor
(long renderNode, int color) protected static boolean
nSetAnimationMatrix
(long renderNode, long animationMatrix) protected static boolean
nSetBottom
(long renderNode, int bottom) protected static boolean
nSetCameraDistance
(long renderNode, float distance) protected static boolean
nSetClipBounds
(long renderNode, int left, int top, int right, int bottom) protected static boolean
nSetClipBoundsEmpty
(long renderNode) protected static boolean
nSetClipToBounds
(long renderNode, boolean clipToBounds) protected static boolean
nSetClipToOutline
(long renderNode, boolean clipToOutline) protected static boolean
nSetElevation
(long renderNode, float lift) protected static boolean
nSetHasOverlappingRendering
(long renderNode, boolean hasOverlappingRendering) protected static boolean
nSetLayerPaint
(long renderNode, long paint) protected static boolean
nSetLayerType
(long renderNode, int layerType) protected static boolean
nSetLeft
(long renderNode, int left) protected static boolean
nSetLeftTopRightBottom
(long renderNode, int left, int top, int right, int bottom) protected static boolean
nSetOutlineEmpty
(long renderNode) protected static boolean
nSetOutlineNone
(long renderNode) protected static boolean
nSetOutlineRoundRect
(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) protected static boolean
nSetPivotX
(long renderNode, float pivotX) protected static boolean
nSetPivotY
(long renderNode, float pivotY) protected static boolean
nSetProjectBackwards
(long renderNode, boolean shouldProject) protected static boolean
nSetProjectionReceiver
(long renderNode, boolean shouldReceive) protected static boolean
nSetRevealClip
(long renderNode, boolean shouldClip, float x, float y, float radius) protected static boolean
nSetRight
(long renderNode, int right) protected static boolean
nSetRotation
(long renderNode, float rotation) protected static boolean
nSetRotationX
(long renderNode, float rotationX) protected static boolean
nSetRotationY
(long renderNode, float rotationY) protected static boolean
nSetScaleX
(long renderNode, float scaleX) protected static boolean
nSetScaleY
(long renderNode, float scaleY) protected static boolean
nSetSpotShadowColor
(long renderNode, int color) protected static boolean
nSetStaticMatrix
(long renderNode, long nativeMatrix) protected static boolean
nSetTop
(long renderNode, int top) protected static boolean
nSetTranslationX
(long renderNode, float translationX) protected static boolean
nSetTranslationY
(long renderNode, float translationY) protected static boolean
nSetTranslationZ
(long renderNode, float translationZ) protected static void
nSetUsageHint
(long renderNode, int usageHint)
-
Constructor Details
-
ShadowNativeRenderNodeOP
public ShadowNativeRenderNodeOP()
-
-
Method Details
-
nCreate
-
nGetNativeFinalizer
-
nOutput
-
nAddAnimator
-
nEndAllAnimators
-
nIsValid
-
nGetTransformMatrix
-
nGetInverseTransformMatrix
@Implementation protected static void nGetInverseTransformMatrix(long renderNode, long nativeMatrix) -
nHasIdentityMatrix
-
nOffsetTopAndBottom
-
nOffsetLeftAndRight
-
nSetLeftTopRightBottom
@Implementation protected static boolean nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) -
nSetLeft
-
nSetTop
-
nSetRight
-
nSetBottom
-
nSetCameraDistance
-
nSetPivotY
-
nSetPivotX
-
nResetPivot
-
nSetLayerType
-
nSetLayerPaint
-
nSetClipToBounds
-
nSetClipBounds
@Implementation protected static boolean nSetClipBounds(long renderNode, int left, int top, int right, int bottom) -
nSetClipBoundsEmpty
-
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
-
nSetOutlineNone
-
nHasShadow
-
nSetSpotShadowColor
-
nSetAmbientShadowColor
@Implementation(minSdk=28) protected static boolean nSetAmbientShadowColor(long renderNode, int color) -
nGetSpotShadowColor
-
nGetAmbientShadowColor
-
nSetClipToOutline
-
nSetRevealClip
@Implementation protected static boolean nSetRevealClip(long renderNode, boolean shouldClip, float x, float y, float radius) -
nSetAlpha
-
nSetHasOverlappingRendering
@Implementation protected static boolean nSetHasOverlappingRendering(long renderNode, boolean hasOverlappingRendering) -
nSetUsageHint
protected static void nSetUsageHint(long renderNode, int usageHint) -
nSetElevation
-
nSetTranslationX
-
nSetTranslationY
-
nSetTranslationZ
-
nSetRotation
-
nSetRotationX
-
nSetRotationY
-
nSetScaleX
-
nSetScaleY
-
nSetStaticMatrix
-
nSetAnimationMatrix
-
nHasOverlappingRendering
-
nGetClipToOutline
-
nGetAlpha
-
nGetCameraDistance
-
nGetScaleX
-
nGetScaleY
-
nGetElevation
-
nGetTranslationX
-
nGetTranslationY
-
nGetTranslationZ
-
nGetRotation
-
nGetRotationX
-
nGetRotationY
-
nIsPivotExplicitlySet
-
nGetPivotX
-
nGetPivotY
-
end
-