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
that is backed by native code
invalid reference
android.view.RenderNode
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classShadow picker for.invalid reference
android.view.RenderNode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected static voidnAddAnimator(long renderNode, long animatorPtr) protected static longprotected static voidnEndAllAnimators(long renderNode) protected static floatnGetAlpha(long renderNode) protected static intnGetAmbientShadowColor(long renderNode) protected static floatnGetCameraDistance(long renderNode) protected static booleannGetClipToOutline(long renderNode) protected static floatnGetElevation(long renderNode) protected static voidnGetInverseTransformMatrix(long renderNode, long nativeMatrix) protected static longprotected static floatnGetPivotX(long renderNode) protected static floatnGetPivotY(long renderNode) protected static floatnGetRotation(long renderNode) protected static floatnGetRotationX(long renderNode) protected static floatnGetRotationY(long renderNode) protected static floatnGetScaleX(long renderNode) protected static floatnGetScaleY(long renderNode) protected static intnGetSpotShadowColor(long renderNode) protected static voidnGetTransformMatrix(long renderNode, long nativeMatrix) protected static floatnGetTranslationX(long renderNode) protected static floatnGetTranslationY(long renderNode) protected static floatnGetTranslationZ(long renderNode) protected static booleannHasIdentityMatrix(long renderNode) protected static booleannHasOverlappingRendering(long renderNode) protected static booleannHasShadow(long renderNode) protected static booleannIsPivotExplicitlySet(long renderNode) protected static booleannIsValid(long renderNode) protected static booleannOffsetLeftAndRight(long renderNode, int offset) protected static booleannOffsetTopAndBottom(long renderNode, int offset) protected static voidnOutput(long renderNode) protected static booleannResetPivot(long renderNode) protected static booleannSetAlpha(long renderNode, float alpha) protected static booleannSetAmbientShadowColor(long renderNode, int color) protected static booleannSetAnimationMatrix(long renderNode, long animationMatrix) protected static booleannSetBottom(long renderNode, int bottom) protected static booleannSetCameraDistance(long renderNode, float distance) protected static booleannSetClipBounds(long renderNode, int left, int top, int right, int bottom) protected static booleannSetClipBoundsEmpty(long renderNode) protected static booleannSetClipToBounds(long renderNode, boolean clipToBounds) protected static booleannSetClipToOutline(long renderNode, boolean clipToOutline) protected static booleannSetElevation(long renderNode, float lift) protected static booleannSetHasOverlappingRendering(long renderNode, boolean hasOverlappingRendering) protected static booleannSetLayerPaint(long renderNode, long paint) protected static booleannSetLayerType(long renderNode, int layerType) protected static booleannSetLeft(long renderNode, int left) protected static booleannSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) protected static booleannSetOutlineEmpty(long renderNode) protected static booleannSetOutlineNone(long renderNode) protected static booleannSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) protected static booleannSetPivotX(long renderNode, float pivotX) protected static booleannSetPivotY(long renderNode, float pivotY) protected static booleannSetProjectBackwards(long renderNode, boolean shouldProject) protected static booleannSetProjectionReceiver(long renderNode, boolean shouldReceive) protected static booleannSetRevealClip(long renderNode, boolean shouldClip, float x, float y, float radius) protected static booleannSetRight(long renderNode, int right) protected static booleannSetRotation(long renderNode, float rotation) protected static booleannSetRotationX(long renderNode, float rotationX) protected static booleannSetRotationY(long renderNode, float rotationY) protected static booleannSetScaleX(long renderNode, float scaleX) protected static booleannSetScaleY(long renderNode, float scaleY) protected static booleannSetSpotShadowColor(long renderNode, int color) protected static booleannSetStaticMatrix(long renderNode, long nativeMatrix) protected static booleannSetTop(long renderNode, int top) protected static booleannSetTranslationX(long renderNode, float translationX) protected static booleannSetTranslationY(long renderNode, float translationY) protected static booleannSetTranslationZ(long renderNode, float translationZ) protected static voidnSetUsageHint(long renderNode, int usageHint)
-
Constructor Details
-
ShadowNativeRenderNodeOP
public ShadowNativeRenderNodeOP()
-
-
Method Details
-
nCreate
-
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
-