/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | PaintTests.kt | 53 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 …]
|
D | RenderNodeTests.java | 123 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 …]
|
D | HardwareBitmapTests.java | 91 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
|
D | AutofillHighlightTests.java | 44 Canvas canvas = new Canvas(goldenBitmap); in testHighlightedFrameLayout() local
|
D | AlphaBlendTest.java | 46 protected void onDraw(Canvas canvas) { in onDraw()
|
D | EdgeEffectTests.java | 341 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
|
D | ColorSpaceTests.java | 141 private void drawAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawAsset() 184 private void drawTranslucentAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawTranslucentAsset()
|
D | BitmapTests.java | 67 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/ |
D | PictureTest.java | 54 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()
|
D | BitmapShaderTest.java | 62 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
|
D | ComposeShaderTest.java | 57 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
|
D | PorterDuffXfermodeTest.java | 49 Canvas canvas = new Canvas(target); in testPorterDuffXfermode() local
|
D | SumPathEffectTest.java | 57 Canvas canvas = new Canvas(expected); in testSumPathEffect() local
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 114 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/ |
D | BitmapBlendModeCanvasClient.java | 65 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/ |
D | BitmapBlendModeCanvasClient.java | 65 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/ |
D | CanvasClient.java | 27 void draw(Canvas canvas, int width, int height); in draw()
|
D | DisplayModifier.java | 442 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/ |
D | CanvasClient.java | 27 void draw(Canvas canvas, int width, int height); in draw()
|
D | CanvasClientDrawable.java | 30 public void draw(Canvas canvas) { in draw()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | DynamicDrawableSpanTest.java | 85 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/ |
D | ShapeTest.java | 112 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/ |
D | AttachedSurfaceControlSyncTest.java | 104 Canvas canvas = mSurface.lockHardwareCanvas(); in GreenSurfaceAnchorView() local 150 public void onDraw(Canvas canvas) { in onDraw()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 298 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/ |
D | ColorChangeOnKeyView.java | 48 public void onDraw(Canvas canvas) { in onDraw()
|