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 floatgetAlpha()floatgetCameraDistance()booleangetClipToOutline()floatgetElevation()floatgetPivotX()floatgetPivotY()floatgetRotation()floatgetRotationX()floatgetRotationY()floatgetScaleX()floatgetScaleY()floatgetTranslationX()floatgetTranslationY()floatgetTranslationZ()booleanhasOverlappingRendering()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 nSetLayerTypebooleansetAlpha(float alpha)booleansetCameraDistance(float cameraDistance)booleansetClipToOutline(boolean clipToOutline)booleansetElevation(float lift)booleansetHasOverlappingRendering(boolean overlappingRendering)booleansetPivotX(float pivotX)booleansetPivotY(float pivotY)booleansetRotation(float rotation)booleansetRotationX(float rotationX)booleansetRotationY(float rotationY)booleansetScaleX(float scaleX)booleansetScaleY(float scaleY)booleansetTranslationX(float translationX)booleansetTranslationY(float translationY)booleansetTranslationZ(float translationZ)
-
-
-
Method Detail
-
setAlpha
@Implementation public boolean setAlpha(float alpha)
-
getAlpha
@Implementation public float getAlpha()
-
setCameraDistance
@Implementation public boolean setCameraDistance(float cameraDistance)
-
getCameraDistance
@Implementation public float getCameraDistance()
-
setClipToOutline
@Implementation public boolean setClipToOutline(boolean clipToOutline)
-
getClipToOutline
@Implementation public boolean getClipToOutline()
-
setElevation
@Implementation public boolean setElevation(float lift)
-
getElevation
@Implementation public float getElevation()
-
setHasOverlappingRendering
@Implementation public boolean setHasOverlappingRendering(boolean overlappingRendering)
-
hasOverlappingRendering
@Implementation public boolean hasOverlappingRendering()
-
setRotation
@Implementation public boolean setRotation(float rotation)
-
getRotation
@Implementation public float getRotation()
-
setRotationX
@Implementation public boolean setRotationX(float rotationX)
-
getRotationX
@Implementation public float getRotationX()
-
setRotationY
@Implementation public boolean setRotationY(float rotationY)
-
getRotationY
@Implementation public float getRotationY()
-
setScaleX
@Implementation public boolean setScaleX(float scaleX)
-
getScaleX
@Implementation public float getScaleX()
-
setScaleY
@Implementation public boolean setScaleY(float scaleY)
-
getScaleY
@Implementation public float getScaleY()
-
setTranslationX
@Implementation public boolean setTranslationX(float translationX)
-
setTranslationY
@Implementation public boolean setTranslationY(float translationY)
-
setTranslationZ
@Implementation public boolean setTranslationZ(float translationZ)
-
getTranslationX
@Implementation public float getTranslationX()
-
getTranslationY
@Implementation public float getTranslationY()
-
getTranslationZ
@Implementation public float getTranslationZ()
-
isPivotExplicitlySet
@Implementation public boolean isPivotExplicitlySet()
-
setPivotX
@Implementation public boolean setPivotX(float pivotX)
-
getPivotX
@Implementation public float getPivotX()
-
setPivotY
@Implementation public boolean setPivotY(float pivotY)
-
getPivotY
@Implementation public 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
-
-