Home
last modified time | relevance | path

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

123456

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DRenderNodeTests.java104 Canvas canvas = renderNode.beginRecording(); in testBasicDraw() local
130 Canvas canvas = renderNode.beginRecording(); in testAlphaOverlappingRendering() local
151 Canvas canvas = renderNode.beginRecording(); in testAlphaNonOverlappingRendering() local
170 Canvas canvas = renderNode.beginRecording(); in testUseCompositingLayer() local
297 RecordingCanvas canvas = renderNode.beginRecording(); in testStartEndRecordingEmpty() local
310 RecordingCanvas canvas = renderNode.beginRecording(); in testStartEndRecordingWithBounds() local
322 RecordingCanvas canvas = renderNode.beginRecording(5, 10); in testStartEndRecordingEmptyWithSize() local
335 RecordingCanvas canvas = renderNode.beginRecording(5, 10); in testStartEndRecordingWithBoundsWithSize() local
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
292 }, true).addCanvasClient((canvas, width, height) -> { in testCompressHardware() argument
322 }, 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()
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
DColorMatrixColorFilterTest.java54 Canvas canvas = new Canvas(bitmap); in testColorMatrixColorFilter() local
DLightingColorFilterTest.java46 Canvas canvas = new Canvas(bitmap); in testLightingColorFilter() 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/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/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()
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
106 final Canvas canvas = new Canvas(bitmap); in testCenterAligned() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java288 Canvas canvas = new Canvas(bm); in testLifeCycleSoftware() local
438 Canvas canvas = new Canvas(actual); in testColorFilter() local
477 Canvas canvas = new Canvas(expected); in testPostProcess() local
518 Canvas canvas = new Canvas(actual); in testPostProcess() local
599 Canvas canvas = new Canvas(test); in drawAndCompare() local
613 Canvas canvas = new Canvas(normal); in testAutoMirroredDrawing() local
619 Canvas canvas = new Canvas(flipped); in testAutoMirroredDrawing() 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/app/src/android/app/cts/
DWallpaperManagerTest.java83 Canvas canvas = new Canvas(tmpWallpaper); in setBitmapTest() local
117 Canvas canvas = new Canvas(tmpWallpaper); in wallpaperChangedBroadcastTest() local
248 Canvas canvas = new Canvas(tmpWallpaper); in wallpaperColors_primary() local
276 Canvas canvas = new Canvas(tmpWallpaper); in wallpaperColors_secondary() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DColorChangeOnKeyView.java48 public void onDraw(Canvas canvas) { in onDraw()

123456