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 -
Method Summary
Modifier and TypeMethodDescriptionprotected floatgetAlpha()protected intprotected floatprotected booleanprotected floatprotected intprotected voidgetInverseMatrix(Matrix matrix) protected intgetLeft()protected voidprotected floatprotected floatprotected intgetRight()protected floatprotected floatprotected floatprotected floatprotected floatprotected intgetTop()protected floatprotected floatprotected floatprotected intgetWidth()protected booleanprotected booleanprotected booleanprotected booleanisValid()protected static booleannSetLayerPaint(long renderNode, long paint) Implementation of native method nSetLayerPaintprotected static booleannSetLayerType(long renderNode, int layerType) Implementation of native method nSetLayerTypeprotected booleanoffsetLeftAndRight(int offset) protected booleanoffsetTopAndBottom(int offset) protected booleanprotected booleansetAlpha(float alpha) protected booleansetBottom(int bottom) protected booleansetCameraDistance(float cameraDistance) protected booleansetClipToOutline(boolean clipToOutline) protected booleansetElevation(float lift) protected booleansetHasOverlappingRendering(boolean overlappingRendering) protected booleansetLeft(int left) protected booleansetLeftTopRightBottom(int left, int top, int right, int bottom) protected booleansetPivotX(float pivotX) protected booleansetPivotY(float pivotY) protected booleansetPosition(int left, int top, int right, int bottom) protected booleansetPosition(Rect position) protected booleansetRight(int right) protected booleansetRotation(float rotation) protected booleansetRotationX(float rotationX) protected booleansetRotationY(float rotationY) protected booleansetScaleX(float scaleX) protected booleansetScaleY(float scaleY) protected booleansetTop(int top) protected booleansetTranslationX(float translationX) protected booleansetTranslationY(float translationY) protected booleansetTranslationZ(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
-
resetPivot
-
setPivotX
-
getPivotX
-
setPivotY
-
getPivotY
-
setLeft
-
getLeft
-
setTop
-
getTop
-
setRight
-
getRight
-
setBottom
-
getBottom
-
getWidth
-
getHeight
-
setLeftTopRightBottom
-
setPosition
-
setPosition
-
offsetLeftAndRight
-
offsetTopAndBottom
-
getInverseMatrix
-
getMatrix
-
hasIdentityMatrix
-
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
-