Searched refs:canvas (Results 1 – 5 of 5) sorted by relevance
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/myapplication.widgets/ |
D | CanvasTestView.java | 38 protected void onDraw(Canvas canvas) { in onDraw() argument 39 int savedLayer = canvas.saveLayer(0, 0, canvas.getWidth(), canvas.getHeight(), null); in onDraw() 40 super.onDraw(canvas); in onDraw() 41 canvas.restoreToCount(savedLayer); in onDraw()
|
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/ |
D | Filmstrip.kt | 148 val canvas = Canvas(filmstrip) in render() constant 151 canvas.drawRect( in render() 168 canvas.drawBitmap( in render() 174 canvas.drawText( in render() 200 val canvas = Canvas(filmstrip) in render() constant 202 canvas.drawRect( in render() 218 canvas.drawBitmap( in render() 226 canvas.drawText( in render()
|
D | VideoRenderer.kt | 105 surface.lockCanvas(null).also { canvas -> in <lambda>() method 107 canvas.drawBitmap(screenshot.bitmap, 0.0f, 0.0f, null) in <lambda>() 108 surface.unlockCanvasAndPost(canvas) in <lambda>()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/test/widgets/ |
D | HookWidget.java | 87 protected void onDraw(Canvas canvas) { in onDraw() argument 90 super.onDraw(canvas); in onDraw() 95 canvas.drawRect(rect, paint); in onDraw()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | ViewCapture.kt | 218 val canvas = Canvas(destBitmap) in generateBitmapFromDraw() constant 219 canvas.translate((-scrollX).toFloat(), (-scrollY).toFloat()) in generateBitmapFromDraw() 221 canvas.translate((-rect.left).toFloat(), (-rect.top).toFloat()) in generateBitmapFromDraw() 224 draw(canvas) in generateBitmapFromDraw()
|