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
Modifier and TypeClassDescriptionstatic final class
Shadow 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected static long
nCreateDisplayListCanvas
(long node, int width, int height) protected static void
nDrawCircle
(long renderer, long propCx, long propCy, long propRadius, long propPaint) protected static void
nDrawRenderNode
(long renderer, long renderNode) protected static void
nDrawRoundRect
(long renderer, long propLeft, long propTop, long propRight, long propBottom, long propRx, long propRy, long propPaint) protected static int
protected static int
protected static void
nResetDisplayListCanvas
(long canvas, long node, int width, int height) Methods inherited from class org.robolectric.shadows.ShadowNativeRecordingCanvas
nDrawRipple, nDrawTextureLayer, nDrawWebViewFunctor, nEnableZ, nFinishRecording
Methods 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, nPunchHole
Methods 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, saveUnclippedLayer
Methods 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
Methods inherited from class org.robolectric.shadows.ShadowCanvas
visualize
-
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)
-