Package org.robolectric.shadows
Class ShadowNativeDisplayListCanvas
java.lang.Object
org.robolectric.shadows.ShadowCanvas
org.robolectric.shadows.ShadowNativeBaseCanvas
org.robolectric.shadows.ShadowNativeCanvas
org.robolectric.shadows.ShadowNativeBaseRecordingCanvas
org.robolectric.shadows.ShadowNativeRecordingCanvas
org.robolectric.shadows.ShadowNativeDisplayListCanvas
@Implements(className="android.view.DisplayListCanvas", minSdk=26, maxSdk=28, shadowPicker=Picker.class) public class ShadowNativeDisplayListCanvas extends ShadowNativeRecordingCanvas
Shadow for
android.view.DisplayListCanvas that is backed by native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativeDisplayListCanvas.PickerShadow picker forandroid.view.DisplayListCanvas.Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowCanvas
ShadowCanvas.ArcPaintHistoryEvent, ShadowCanvas.CirclePaintHistoryEvent, ShadowCanvas.LinePaintHistoryEvent, ShadowCanvas.OvalPaintHistoryEvent, ShadowCanvas.RectPaintHistoryEvent, ShadowCanvas.RoundRectPaintHistoryEvent, ShadowCanvas.TextHistoryEvent -
Constructor Summary
Constructors Constructor Description ShadowNativeDisplayListCanvas() -
Method Summary
Modifier and Type Method Description protected static longnCreateDisplayListCanvas(long node, int width, int height)protected static voidnDrawCircle(long renderer, long propCx, long propCy, long propRadius, long propPaint)protected static voidnDrawRenderNode(long renderer, long renderNode)protected static voidnDrawRoundRect(long renderer, long propLeft, long propTop, long propRight, long propBottom, long propRx, long propRy, long propPaint)protected static intnGetMaximumTextureHeight()protected static intnGetMaximumTextureWidth()protected static voidnResetDisplayListCanvas(long canvas, long node, int width, int height)Methods inherited from class org.robolectric.shadows.ShadowNativeRecordingCanvas
nDrawRipple, nDrawTextureLayer, nDrawWebViewFunctor, nEnableZ, nFinishRecordingMethods inherited from class org.robolectric.shadows.ShadowNativeBaseRecordingCanvas
nDrawArc, nDrawBitmap, nDrawBitmap, nDrawBitmap, nDrawBitmapMatrix, nDrawBitmapMesh, nDrawCircle, nDrawColor, nDrawColor, nDrawDoubleRoundRect, nDrawDoubleRoundRect, nDrawGlyphs, nDrawLine, nDrawLines, nDrawNinePatch, nDrawOval, nDrawPaint, nDrawPath, nDrawPoint, nDrawPoints, nDrawRect, nDrawRegion, nDrawRoundRect, nDrawText, nDrawText, nDrawText, nDrawText, nDrawTextOnPath, nDrawTextOnPath, nDrawTextOnPath, nDrawTextOnPath, nDrawTextRun, nDrawTextRun, nDrawTextRun, nDrawVertices, nPunchHole, nPunchHoleMethods inherited from class org.robolectric.shadows.ShadowNativeCanvas
nClipPath, nClipRect, nConcat, nFreeCaches, nFreeTextLayoutCaches, nGetClipBounds, nGetHeight, nGetMatrix, nGetNativeFinalizer, nGetSaveCount, nGetWidth, nInitRaster, nInitRaster, nIsOpaque, nQuickReject, nQuickReject, nRestore, nRestoreToCount, nRestoreUnclippedLayer, nRotate, nSave, nSaveLayer, nSaveLayer, nSaveLayerAlpha, nSaveLayerAlpha, nSaveUnclippedLayer, nScale, nSetBitmap, nSetBitmap, nSetCompatibilityVersion, nSetDrawFilter, nSetMatrix, nSkew, nTranslate, saveUnclippedLayerMethods inherited from class org.robolectric.shadows.ShadowNativeBaseCanvas
appendDescription, getArcPaintHistoryCount, getCirclePaintHistoryCount, getDescription, getDrawnArc, getDrawnCircle, getDrawnLine, getDrawnOval, getDrawnPaint, getDrawnPath, getDrawnPathPaint, getDrawnRect, getDrawnRoundRect, getDrawnTextEvent, getLastDrawnRect, getLastDrawnRoundRect, getLinePaintHistoryCount, getOvalPaintHistoryCount, getPathPaintHistoryCount, getRectPaintHistoryCount, getRoundRectPaintHistoryCount, getTextHistoryCount, hasDrawnCircle, hasDrawnPath, nDrawBitmap, nDrawBitmap, nDrawBitmapMatrix, nDrawBitmapMesh, resetCanvasHistory, setHeight, setWidth
-
Constructor Details
-
ShadowNativeDisplayListCanvas
public ShadowNativeDisplayListCanvas()
-
-
Method Details
-
nCreateDisplayListCanvas
-
nResetDisplayListCanvas
@Implementation protected static void nResetDisplayListCanvas(long canvas, long node, int width, int height) -
nGetMaximumTextureWidth
-
nGetMaximumTextureHeight
-
nDrawRenderNode
-
nDrawCircle
@Implementation protected static void nDrawCircle(long renderer, long propCx, long propCy, long propRadius, long propPaint) -
nDrawRoundRect
@Implementation protected static void nDrawRoundRect(long renderer, long propLeft, long propTop, long propRight, long propBottom, long propRx, long propRy, long propPaint)
-