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 ShadowCanvasShadow forandroid.view.DisplayListCanvasfrom 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static longnCreateDisplayListCanvas()protected static longnCreateDisplayListCanvas(int width, int height)protected static longnCreateDisplayListCanvas(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
-
-
-
-
Method Detail
-
nCreateDisplayListCanvas
@Implementation(minSdk=26, maxSdk=28) protected static long nCreateDisplayListCanvas(long node, int width, int height)
-
nCreateDisplayListCanvas
@Config(minSdk=24, maxSdk=25) protected static long nCreateDisplayListCanvas(int width, int height)
-
nCreateDisplayListCanvas
@Config(maxSdk=23) protected static long nCreateDisplayListCanvas()
-
-