Package org.robolectric.shadows
Class ShadowDisplayListCanvas
java.lang.Object
org.robolectric.shadows.ShadowCanvas
org.robolectric.shadows.ShadowLegacyCanvas
org.robolectric.shadows.ShadowDisplayListCanvas
@Implements(className="android.view.DisplayListCanvas",
isInAndroidSdk=false,
minSdk=23,
maxSdk=30)
public class ShadowDisplayListCanvas
extends ShadowLegacyCanvas
Shadow for
android.view.DisplayListCanvas
from API versions M to R-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowCanvas
ShadowCanvas.ArcPaintHistoryEvent, ShadowCanvas.CirclePaintHistoryEvent, ShadowCanvas.LinePaintHistoryEvent, ShadowCanvas.OvalPaintHistoryEvent, ShadowCanvas.Picker, ShadowCanvas.RectPaintHistoryEvent, ShadowCanvas.RoundRectPaintHistoryEvent, ShadowCanvas.TextHistoryEvent
-
Field Summary
Fields inherited from class org.robolectric.shadows.ShadowLegacyCanvas
canvasReflector, realCanvas
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static long
protected static long
nCreateDisplayListCanvas
(int width, int height) protected static long
nCreateDisplayListCanvas
(long node, int width, int height) Methods inherited from class org.robolectric.shadows.ShadowLegacyCanvas
__constructor__, appendDescription, drawArc, drawBitmap, drawBitmap, drawBitmap, drawBitmap, drawCircle, drawColor, drawLine, drawOval, drawPaint, drawPath, drawRect, drawRect, drawRoundRect, drawText, drawText, drawText, drawText, getArcPaintHistoryCount, getCirclePaintHistoryCount, getClipBounds, getDescription, getDrawnArc, getDrawnCircle, getDrawnLine, getDrawnOval, getDrawnPaint, getDrawnPath, getDrawnPathPaint, getDrawnRect, getDrawnRoundRect, getDrawnTextEvent, getHeight, getLastDrawnRect, getLastDrawnRoundRect, getLinePaintHistoryCount, getOvalPaintHistoryCount, getPathPaintHistoryCount, getRectPaintHistoryCount, getRoundRectPaintHistoryCount, getSaveCount, getTextHistoryCount, getWidth, hasDrawnCircle, hasDrawnPath, initRaster, initRaster, initRaster, native_saveLayer, native_saveLayer, native_saveLayer, native_saveLayerAlpha, native_saveLayerAlpha, native_saveLayerAlpha, nGetSaveCount, nInitRaster, nInitRaster, nRestore, nRestoreToCount, nSave, nSaveLayer, nSaveLayer, nSaveLayerAlpha, nSaveLayerAlpha, release, reset, resetCanvasHistory, restore, restoreToCount, save, scale, scale, setBitmap, setHeight, setWidth, translate
Methods inherited from class org.robolectric.shadows.ShadowCanvas
visualize
-
Constructor Details
-
ShadowDisplayListCanvas
public ShadowDisplayListCanvas()
-
-
Method Details
-
nCreateDisplayListCanvas
@Implementation(minSdk=26, maxSdk=28) protected static long nCreateDisplayListCanvas(long node, int width, int height) -
nCreateDisplayListCanvas
@Implementation(minSdk=24, maxSdk=25) protected static long nCreateDisplayListCanvas(int width, int height) -
nCreateDisplayListCanvas
-