Package org.robolectric.shadows
Class ShadowRenderNode
- java.lang.Object
-
- org.robolectric.shadows.ShadowRenderNode
-
@Implements(className="android.view.RenderNode", isInAndroidSdk=false, minSdk=21, maxSdk=28) public class ShadowRenderNode extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowRenderNode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected floatgetAlpha()protected floatgetCameraDistance()protected booleangetClipToOutline()protected floatgetElevation()protected floatgetPivotX()protected floatgetPivotY()protected floatgetRotation()protected floatgetRotationX()protected floatgetRotationY()protected floatgetScaleX()protected floatgetScaleY()protected floatgetTranslationX()protected floatgetTranslationY()protected floatgetTranslationZ()protected booleanhasOverlappingRendering()protected booleanisPivotExplicitlySet()protected booleanisValid()protected static booleannSetLayerPaint(long renderNode, long paint)Implementation of native method nSetLayerPaintprotected static booleannSetLayerType(long renderNode, int layerType)Implementation of native method nSetLayerTypeprotected booleansetAlpha(float alpha)protected booleansetCameraDistance(float cameraDistance)protected booleansetClipToOutline(boolean clipToOutline)protected booleansetElevation(float lift)protected booleansetHasOverlappingRendering(boolean overlappingRendering)protected booleansetPivotX(float pivotX)protected booleansetPivotY(float pivotY)protected booleansetRotation(float rotation)protected booleansetRotationX(float rotationX)protected booleansetRotationY(float rotationY)protected booleansetScaleX(float scaleX)protected booleansetScaleY(float scaleY)protected booleansetTranslationX(float translationX)protected booleansetTranslationY(float translationY)protected booleansetTranslationZ(float translationZ)
-
-
-
Method Detail
-
setAlpha
@Implementation protected boolean setAlpha(float alpha)
-
getAlpha
@Implementation protected float getAlpha()
-
setCameraDistance
@Implementation protected boolean setCameraDistance(float cameraDistance)
-
getCameraDistance
@Implementation protected float getCameraDistance()
-
setClipToOutline
@Implementation protected boolean setClipToOutline(boolean clipToOutline)
-
getClipToOutline
@Implementation protected boolean getClipToOutline()
-
setElevation
@Implementation protected boolean setElevation(float lift)
-
getElevation
@Implementation protected float getElevation()
-
setHasOverlappingRendering
@Implementation protected boolean setHasOverlappingRendering(boolean overlappingRendering)
-
hasOverlappingRendering
@Implementation protected boolean hasOverlappingRendering()
-
setRotation
@Implementation protected boolean setRotation(float rotation)
-
getRotation
@Implementation protected float getRotation()
-
setRotationX
@Implementation protected boolean setRotationX(float rotationX)
-
getRotationX
@Implementation protected float getRotationX()
-
setRotationY
@Implementation protected boolean setRotationY(float rotationY)
-
getRotationY
@Implementation protected float getRotationY()
-
setScaleX
@Implementation protected boolean setScaleX(float scaleX)
-
getScaleX
@Implementation protected float getScaleX()
-
setScaleY
@Implementation protected boolean setScaleY(float scaleY)
-
getScaleY
@Implementation protected float getScaleY()
-
setTranslationX
@Implementation protected boolean setTranslationX(float translationX)
-
setTranslationY
@Implementation protected boolean setTranslationY(float translationY)
-
setTranslationZ
@Implementation protected boolean setTranslationZ(float translationZ)
-
getTranslationX
@Implementation protected float getTranslationX()
-
getTranslationY
@Implementation protected float getTranslationY()
-
getTranslationZ
@Implementation protected float getTranslationZ()
-
isPivotExplicitlySet
@Implementation protected boolean isPivotExplicitlySet()
-
setPivotX
@Implementation protected boolean setPivotX(float pivotX)
-
getPivotX
@Implementation protected float getPivotX()
-
setPivotY
@Implementation protected boolean setPivotY(float pivotY)
-
getPivotY
@Implementation protected float getPivotY()
-
isValid
@Implementation protected boolean isValid()
-
nSetLayerType
@Implementation protected static boolean nSetLayerType(long renderNode, int layerType)Implementation of native method nSetLayerType- Parameters:
renderNode- IgnoredlayerType- Ignored- Returns:
- Always true
-
nSetLayerPaint
@Implementation protected static boolean nSetLayerPaint(long renderNode, long paint)Implementation of native method nSetLayerPaint- Parameters:
renderNode- Ignoredpaint- Ignored- Returns:
- Always true
-
-