Home
last modified time | relevance | path

Searched defs:canvas (Results 1 – 25 of 151) sorted by relevance

1234567

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DPaintTests.kt53 val canvas = Canvas(bitmap) in <lambda>() constant
84 paint, canvas -> in <lambda>() method
91 paint, canvas -> in <lambda>() method
100 paint, canvas -> in <lambda>() method
106 paint, canvas -> in <lambda>() method
112 paint, canvas -> in <lambda>() method
120 paint, canvas -> in <lambda>() method
126 paint, canvas -> in <lambda>() method
137 paint, canvas -> in <lambda>() method
143 paint, canvas -> in <lambda>() method
[all …]
DRenderNodeTests.java123 Canvas canvas = renderNode.beginRecording(); in testBasicDraw() local
149 Canvas canvas = renderNode.beginRecording(); in testAlphaOverlappingRendering() local
170 Canvas canvas = renderNode.beginRecording(); in testAlphaNonOverlappingRendering() local
189 Canvas canvas = renderNode.beginRecording(); in testUseCompositingLayer() local
316 RecordingCanvas canvas = renderNode.beginRecording(); in testStartEndRecordingEmpty() local
329 RecordingCanvas canvas = renderNode.beginRecording(); in testStartEndRecordingWithBounds() local
341 RecordingCanvas canvas = renderNode.beginRecording(5, 10); in testStartEndRecordingEmptyWithSize() local
354 RecordingCanvas canvas = renderNode.beginRecording(5, 10); in testStartEndRecordingWithBoundsWithSize() local
659 public void draw(@NonNull Canvas canvas) { in draw()
708 Canvas canvas = renderNode.beginRecording(); in testBlurRenderEffectImplicitInput() local
[all …]
DHardwareBitmapTests.java91 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testCreateFromPicture() local
114 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testReadbackThroughPicture() local
134 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testReadbackThroughPictureNoEndRecording() local
152 Canvas canvas = picture.beginRecording(bitmap.getWidth(), bitmap.getHeight()); in testCreateScaledBitmapFromPicture() local
213 }, true).addCanvasClient((canvas, width, height) -> { in testSetDensity() argument
293 }, true).addCanvasClient((canvas, width, height) -> { in testCompressHardware() argument
323 }, true).addCanvasClient((canvas, width, height) -> { in testBitmapCopy() argument
DAutofillHighlightTests.java44 Canvas canvas = new Canvas(goldenBitmap); in testHighlightedFrameLayout() local
DAlphaBlendTest.java46 protected void onDraw(Canvas canvas) { in onDraw()
DEdgeEffectTests.java341 RecordingCanvas canvas = node.beginRecording(); in testNoSetSizeCallDoesNotCrash() local
355 RecordingCanvas canvas = node.beginRecording(); in testInvalidPullDistanceDoesNotCrash() local
374 RecordingCanvas canvas = node.beginRecording(); in testAbsorbThenDrawDoesNotCrash() local
453 public void draw(Canvas canvas) { in draw()
507 Canvas canvas = renderNode.beginRecording(); in testStretchPullAndHold() local
545 Canvas canvas = renderNode.beginRecording(); local
DColorSpaceTests.java141 private void drawAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawAsset()
184 private void drawTranslucentAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawTranslucentAsset()
DBitmapTests.java67 protected void onDraw(Canvas canvas) { in onDraw()
229 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testCreateFromPicture() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java54 Canvas canvas = original.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testSaveRestoreBalance() local
72 private void createImbalance(Canvas canvas) { in createImbalance()
83 Canvas canvas = new Canvas(bitmap); in verifyBalance() local
108 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testPicture() local
139 private void drawPicture(Canvas canvas) { in drawPicture()
DBitmapShaderTest.java62 Canvas canvas = new Canvas(b); in testBitmapShader() local
110 Canvas canvas = new Canvas(dstBitmap); in testClamp() local
132 Canvas canvas = new Canvas(dstBitmap); in testRepeat() local
154 Canvas canvas = new Canvas(dstBitmap); in testMirror() local
DComposeShaderTest.java57 Canvas canvas = new Canvas(bitmap); in testPorterDuff() local
90 Canvas canvas = new Canvas(bitmap); in testBlendMode() local
129 Canvas canvas = new Canvas(bitmap); in testXfermode() local
158 Canvas canvas = new Canvas(bitmap); in testChildLocalMatrix() local
DPorterDuffXfermodeTest.java49 Canvas canvas = new Canvas(target); in testPorterDuffXfermode() local
DSumPathEffectTest.java57 Canvas canvas = new Canvas(expected); in testSumPathEffect() local
/cts/tests/app/src/android/app/cts/
DWallpaperManagerTest.java114 Canvas canvas = new Canvas(tmpWallpaper); in setBitmapTest() local
148 Canvas canvas = new Canvas(tmpWallpaper); in wallpaperChangedBroadcastTest() local
267 Canvas canvas = new Canvas(tmpWallpaper); in wallpaperColors_primary() local
295 Canvas canvas = new Canvas(tmpWallpaper); in wallpaperColors_secondary() local
322 Canvas canvas = new Canvas(highRatioWallpaper); in highRatioWallpaper_largeWidth() local
336 Canvas canvas = new Canvas(highRatioWallpaper); in highRatioWallpaper_largeHeight() local
350 Canvas canvas = new Canvas(highResolutionWallpaper); in highResolutionWallpaper() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/blendmode/
DBitmapBlendModeCanvasClient.java65 public void draw(Canvas canvas, int width, int height) { in draw()
80 Canvas canvas = new Canvas(bitmap); in createBitmap() local
/cts/tests/tests/uirendering27/src/android/uirendering/cts/blendmode/
DBitmapBlendModeCanvasClient.java65 public void draw(Canvas canvas, int width, int height) { in draw()
80 Canvas canvas = new Canvas(bitmap); in createBitmap() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DCanvasClient.java27 void draw(Canvas canvas, int width, int height); in draw()
DDisplayModifier.java442 abstract public void modifyDrawing(Paint paint, Canvas canvas); in modifyDrawing()
525 public void modifyDrawing(Canvas canvas, Paint paint) { in modifyDrawing()
585 public void modifyDrawing(Paint paint, Canvas canvas) { in modifyDrawing()
599 public void modifyDrawing(Paint paint, Canvas canvas) { in modifyDrawing()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DCanvasClient.java27 void draw(Canvas canvas, int width, int height); in draw()
DCanvasClientDrawable.java30 public void draw(Canvas canvas) { in draw()
/cts/tests/tests/text/src/android/text/style/cts/
DDynamicDrawableSpanTest.java85 Canvas canvas = new Canvas(); in testDraw() local
107 final Canvas canvas = new Canvas(bitmap); in testCenterAligned() local
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DShapeTest.java112 Canvas canvas = new Canvas(bitmap); in testDraw() local
139 public void draw(Canvas canvas, Paint paint) { in draw()
/cts/tests/tests/view/src/android/view/cts/
DAttachedSurfaceControlSyncTest.java104 Canvas canvas = mSurface.lockHardwareCanvas(); in GreenSurfaceAnchorView() local
150 public void onDraw(Canvas canvas) { in onDraw()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java298 Canvas canvas = new Canvas(bm); in testLifeCycleSoftware() local
476 Canvas canvas = new Canvas(actual); in testColorFilter() local
509 Canvas canvas = new Canvas(actual); in testExif() local
544 Canvas canvas = new Canvas(expected); in testPostProcess() local
585 Canvas canvas = new Canvas(actual); in testPostProcess() local
671 Canvas canvas = new Canvas(test); in drawAndCompare() local
685 Canvas canvas = new Canvas(normal); in testAutoMirroredDrawing() local
691 Canvas canvas = new Canvas(flipped); in testAutoMirroredDrawing() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DColorChangeOnKeyView.java48 public void onDraw(Canvas canvas) { in onDraw()

1234567