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
Modifier and Type Method Description protected float
getAlpha()
protected float
getCameraDistance()
protected boolean
getClipToOutline()
protected float
getElevation()
protected float
getPivotX()
protected float
getPivotY()
protected float
getRotation()
protected float
getRotationX()
protected float
getRotationY()
protected float
getScaleX()
protected float
getScaleY()
protected float
getTranslationX()
protected float
getTranslationY()
protected float
getTranslationZ()
protected boolean
hasOverlappingRendering()
protected boolean
isPivotExplicitlySet()
protected boolean
isValid()
protected static boolean
nSetLayerPaint(long renderNode, long paint)
Implementation of native method nSetLayerPaintprotected static boolean
nSetLayerType(long renderNode, int layerType)
Implementation of native method nSetLayerTypeprotected boolean
setAlpha(float alpha)
protected boolean
setCameraDistance(float cameraDistance)
protected boolean
setClipToOutline(boolean clipToOutline)
protected boolean
setElevation(float lift)
protected boolean
setHasOverlappingRendering(boolean overlappingRendering)
protected boolean
setPivotX(float pivotX)
protected boolean
setPivotY(float pivotY)
protected boolean
setRotation(float rotation)
protected boolean
setRotationX(float rotationX)
protected boolean
setRotationY(float rotationY)
protected boolean
setScaleX(float scaleX)
protected boolean
setScaleY(float scaleY)
protected boolean
setTranslationX(float translationX)
protected boolean
setTranslationY(float translationY)
protected boolean
setTranslationZ(float translationZ)
-
Constructor Details
-
ShadowRenderNode
public ShadowRenderNode()
-
-
Method Details
-
setAlpha
-
getAlpha
-
setCameraDistance
-
getCameraDistance
-
setClipToOutline
-
getClipToOutline
-
setElevation
-
getElevation
-
setHasOverlappingRendering
-
hasOverlappingRendering
-
setRotation
-
getRotation
-
setRotationX
-
getRotationX
-
setRotationY
-
getRotationY
-
setScaleX
-
getScaleX
-
setScaleY
-
getScaleY
-
setTranslationX
-
setTranslationY
-
setTranslationZ
-
getTranslationX
-
getTranslationY
-
getTranslationZ
-
isPivotExplicitlySet
-
setPivotX
-
getPivotX
-
setPivotY
-
getPivotY
-
isValid
-
nSetLayerType
Implementation of native method nSetLayerType- Parameters:
renderNode
- IgnoredlayerType
- Ignored- Returns:
- Always true
-
nSetLayerPaint
Implementation of native method nSetLayerPaint- Parameters:
renderNode
- Ignoredpaint
- Ignored- Returns:
- Always true
-