Package org.robolectric.shadows
Class ShadowDisplayListCanvas
java.lang.Object
org.robolectric.shadows.ShadowCanvas
org.robolectric.shadows.ShadowDisplayListCanvas
@Implements(className="android.view.DisplayListCanvas", isInAndroidSdk=false, minSdk=23, maxSdk=30) public class ShadowDisplayListCanvas extends ShadowCanvas
Shadow for
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.RectPaintHistoryEvent, ShadowCanvas.RoundRectPaintHistoryEvent, ShadowCanvas.TextHistoryEvent
-
Constructor Summary
Constructors Constructor Description ShadowDisplayListCanvas()
-
Method Summary
Modifier and Type Method Description protected static long
nCreateDisplayListCanvas()
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.ShadowCanvas
__constructor__, appendDescription, drawArc, drawBitmap, drawBitmap, drawBitmap, drawBitmap, drawCircle, drawColor, drawLine, drawOval, drawPaint, drawPath, drawRect, drawRect, drawRoundRect, drawText, drawText, drawText, drawText, getArcPaintHistoryCount, getCirclePaintHistoryCount, getDescription, getDrawnArc, getDrawnCircle, getDrawnLine, getDrawnOval, getDrawnPaint, getDrawnPath, getDrawnPathPaint, getDrawnRect, getDrawnRoundRect, getDrawnTextEvent, getHeight, getLastDrawnRect, getLastDrawnRoundRect, getLinePaintHistoryCount, getOvalPaintHistoryCount, getPathPaintHistoryCount, getRectPaintHistoryCount, getRoundRectPaintHistoryCount, getTextHistoryCount, getWidth, hasDrawnCircle, hasDrawnPath, resetCanvasHistory, restore, save, scale, scale, setBitmap, setHeight, setWidth, translate, 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
-
nCreateDisplayListCanvas
-