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
Nested Classes Modifier and Type Class Description static classShadowNativeRenderNodeOP.PickerShadow picker forRenderNode. -
Constructor Summary
Constructors Constructor Description ShadowNativeRenderNodeOP() -
Method Summary
Modifier and Type Method Description protected voidend(Object canvas)protected static voidnAddAnimator(long renderNode, long animatorPtr)protected static longnCreate(String name)protected static voidnEndAllAnimators(long renderNode)protected static booleannGetAllowForceDark(long renderNode)protected static floatnGetAlpha(long renderNode)protected static intnGetAmbientShadowColor(long renderNode)protected static booleannGetAnimationMatrix(long renderNode, long animationMatrix)protected static intnGetBottom(long renderNode)protected static floatnGetCameraDistance(long renderNode)protected static booleannGetClipToBounds(long renderNode)protected static booleannGetClipToOutline(long renderNode)protected static floatnGetElevation(long renderNode)protected static intnGetHeight(long renderNode)protected static voidnGetInverseTransformMatrix(long renderNode, long nativeMatrix)protected static intnGetLayerType(long renderNode)protected static intnGetLeft(long renderNode)protected static longnGetNativeFinalizer()protected static floatnGetPivotX(long renderNode)protected static floatnGetPivotY(long renderNode)protected static intnGetRight(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 intnGetTop(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 longnGetUniqueId(long renderNode)protected static intnGetWidth(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 booleannSetAllowForceDark(long renderNode, boolean allowForceDark)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
-
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
-
nGetLeft
-
nGetTop
-
nGetRight
-
nGetBottom
-
nSetCameraDistance
-
nSetPivotY
-
nSetPivotX
-
nResetPivot
-
nSetLayerType
-
nGetLayerType
-
nSetLayerPaint
-
nSetClipToBounds
-
nGetClipToBounds
-
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
-
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
-
nSetElevation
-
nSetTranslationX
-
nSetTranslationY
-
nSetTranslationZ
-
nSetRotation
-
nSetRotationX
-
nSetRotationY
-
nSetScaleX
-
nSetScaleY
-
nSetStaticMatrix
-
nSetAnimationMatrix
@Implementation protected static boolean nSetAnimationMatrix(long renderNode, long animationMatrix) -
nHasOverlappingRendering
-
nGetAnimationMatrix
@Implementation protected static boolean nGetAnimationMatrix(long renderNode, long animationMatrix) -
nGetClipToOutline
-
nGetAlpha
-
nGetCameraDistance
-
nGetScaleX
-
nGetScaleY
-
nGetElevation
-
nGetTranslationX
-
nGetTranslationY
-
nGetTranslationZ
-
nGetRotation
-
nGetRotationX
-
nGetRotationY
-
nIsPivotExplicitlySet
-
nGetPivotX
-
nGetPivotY
-
nGetWidth
-
nGetHeight
-
nSetAllowForceDark
@Implementation protected static boolean nSetAllowForceDark(long renderNode, boolean allowForceDark) -
nGetAllowForceDark
-
nGetUniqueId
-
end
-