Home
last modified time | relevance | path

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

12345

/cts/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java57 Canvas canvas = original.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testSaveRestoreBalance() local
86 private void createImbalance(Canvas canvas) { in createImbalance()
97 Canvas canvas = new Canvas(bitmap); in verifyBalance() local
123 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testPicture() local
164 private void drawPicture(Canvas canvas) { in drawPicture()
DBitmapShaderTest.java61 Canvas canvas = new Canvas(b); in testBitmapShader() local
109 Canvas canvas = new Canvas(dstBitmap); in testClamp() local
131 Canvas canvas = new Canvas(dstBitmap); in testRepeat() local
153 Canvas canvas = new Canvas(dstBitmap); in testMirror() local
DComposeShaderTest.java55 Canvas canvas = new Canvas(bitmap); in testPorterDuff() local
94 Canvas canvas = new Canvas(bitmap); in testXfermode() local
123 Canvas canvas = new Canvas(bitmap); in testChildLocalMatrix() local
DRadialGradientTest.java50 Canvas canvas = new Canvas(bitmap); in testZeroScaleMatrix() local
DPorterDuffXfermodeTest.java48 Canvas canvas = new Canvas(target); in testPorterDuffXfermode() local
DSumPathEffectTest.java56 Canvas canvas = new Canvas(expected); in testSumPathEffect() local
DColorMatrixColorFilterTest.java54 Canvas canvas = new Canvas(bitmap); in testColorMatrixColorFilter() local
DLightingColorFilterTest.java45 Canvas canvas = new Canvas(bitmap); in testLightingColorFilter() local
DPorterDuffColorFilterTest.java49 Canvas canvas = new Canvas(target); in testPorterDuffColorFilter() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBitmapTests.java90 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testCreateFromPicture() local
113 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testReadbackThroughPicture() local
133 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testReadbackThroughPictureNoEndRecording() local
151 Canvas canvas = picture.beginRecording(bitmap.getWidth(), bitmap.getHeight()); in testCreateScaledBitmapFromPicture() local
212 }, true).addCanvasClient((canvas, width, height) -> { in testSetDensity() argument
291 }, true).addCanvasClient((canvas, width, height) -> { in testCompressHardware() argument
321 }, true).addCanvasClient((canvas, width, height) -> { in testBitmapCopy() argument
DAutofillHighlightTests.java43 Canvas canvas = new Canvas(goldenBitmap); in testHighlightedFrameLayout() local
DAlphaBlendTest.java45 protected void onDraw(Canvas canvas) { in onDraw()
DColorSpaceTests.java140 private void drawAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawAsset()
183 private void drawTranslucentAsset(@NonNull Canvas canvas, Bitmap bitmap) { in drawTranslucentAsset()
DBitmapTests.java66 protected void onDraw(Canvas canvas) { in onDraw()
228 Canvas canvas = picture.beginRecording(TEST_WIDTH, TEST_HEIGHT); in testCreateFromPicture() local
DVectorDrawableTests.java70 protected void onDraw(Canvas canvas) { in onDraw()
/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/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java285 Canvas canvas = new Canvas(bm); in testLifeCycleSoftware() local
429 Canvas canvas = new Canvas(actual); in testColorFilter() local
468 Canvas canvas = new Canvas(expected); in testPostProcess() local
509 Canvas canvas = new Canvas(actual); in testPostProcess() local
590 Canvas canvas = new Canvas(test); in drawAndCompare() local
604 Canvas canvas = new Canvas(normal); in testAutoMirroredDrawing() local
610 Canvas canvas = new Canvas(flipped); in testAutoMirroredDrawing() local
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DShapeTest.java111 Canvas canvas = new Canvas(bitmap); in testDraw() local
138 public void draw(Canvas canvas, Paint paint) { in draw()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DColorChangeOnKeyView.java48 public void onDraw(Canvas canvas) { in onDraw()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMyDrawable.java44 public void draw(Canvas canvas) { in draw()
/cts/tests/acceleration/src/android/acceleration/
DAcceleratedView.java46 protected void onDraw(Canvas canvas) { in onDraw()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DDaveyView.java67 protected void onDraw(Canvas canvas) { in onDraw()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java104 Canvas canvas = new Canvas(bitmap); in convertToBitmap() local

12345