Home
last modified time | relevance | path

Searched refs:drawBitmap (Results 1 – 25 of 272) sorted by relevance

1234567891011

/external/skia/gm/
Doverdrawcolorfilter.cpp49 canvas->drawBitmap(bitmap, 0, 0, &paint); in onDraw()
51 canvas->drawBitmap(bitmap, 0, 100, &paint); in onDraw()
53 canvas->drawBitmap(bitmap, 0, 200, &paint); in onDraw()
55 canvas->drawBitmap(bitmap, 0, 300, &paint); in onDraw()
57 canvas->drawBitmap(bitmap, 100, 0, &paint); in onDraw()
59 canvas->drawBitmap(bitmap, 100, 100, &paint); in onDraw()
61 canvas->drawBitmap(bitmap, 100, 200, &paint); in onDraw()
DcopyTo4444.cpp39 canvas->drawBitmap(bm, 0, 0); in onDraw()
43 canvas->drawBitmap(bm4444, SkIntToScalar(bm.width()), 0); in onDraw()
64 canvas->drawBitmap(bitmap, 0, 0);
66 canvas->drawBitmap(bitmap, 1, 1);
74 canvas->drawBitmap(bitmap, 2, 2);
78 canvas->drawBitmap(bitmap, 3, 3);
Dbitmappremul.cpp47 SkCanvas{ bitmap }.drawBitmap(make_argb8888_gradient(), 0, 0, &paint); in make_argb4444_gradient()
76 SkCanvas{ bitmap }.drawBitmap(make_argb8888_stripes(), 0, 0, &paint); in make_argb4444_stripes()
99 canvas->drawBitmap(make_argb8888_gradient(), 0, 0); in onDraw()
100 canvas->drawBitmap(make_argb4444_gradient(), slideSize, 0); in onDraw()
101 canvas->drawBitmap(make_argb8888_stripes(), 0, slideSize); in onDraw()
102 canvas->drawBitmap(make_argb4444_stripes(), slideSize, slideSize); in onDraw()
Dextractbitmap.cpp49 canvas->drawBitmap(bitmap, 0, 0); in onDraw()
57 canvas->drawBitmap(subset, 0, 0); in onDraw()
60 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y)); in onDraw()
66 canvas->drawBitmap(subset, 0, 0); in onDraw()
71 canvas->drawBitmap(subset, 0, 0); in onDraw()
Dbitmapimage.cpp53 legacyCanvas.drawBitmap(bitmap, 0.0f, 0.0f, nullptr); in onDraw()
54 canvas->drawBitmap(legacyBMCanvas, 0.0f, 0.0f, nullptr); in onDraw()
64 srgbCanvas.drawBitmap(bitmap, 0.0f, 0.0f, nullptr); in onDraw()
65 canvas->drawBitmap(srgbBMCanvas, 0.0f, 0.0f, nullptr); in onDraw()
Dbmpfilterqualityrepeat.cpp28 canvas.drawBitmap(colorBmp, 0, 0); in onOnceBeforeDraw()
30 canvas.drawBitmap(colorBmp, 20, 0); in onOnceBeforeDraw()
32 canvas.drawBitmap(colorBmp, 0, 20); in onOnceBeforeDraw()
34 canvas.drawBitmap(colorBmp, 20, 20); in onOnceBeforeDraw()
Dbitmapshader.cpp74 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
76 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
88 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
89 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
Demboss.cpp45 canvas->drawBitmap(bm, 10, 10, &paint); in onDraw()
51 canvas->drawBitmap(bm, 10, 10, &paint); in onDraw()
57 canvas->drawBitmap(bm, 10, 10, &paint); in onDraw()
Dbitmaprecttest.cpp41 canvas->drawBitmap(bm, 150, 45, nullptr);
50 canvas->drawBitmap(bm, -310, 45, nullptr);
/external/skqp/gm/
Doverdrawcolorfilter.cpp49 canvas->drawBitmap(bitmap, 0, 0, &paint); in onDraw()
51 canvas->drawBitmap(bitmap, 0, 100, &paint); in onDraw()
53 canvas->drawBitmap(bitmap, 0, 200, &paint); in onDraw()
55 canvas->drawBitmap(bitmap, 0, 300, &paint); in onDraw()
57 canvas->drawBitmap(bitmap, 100, 0, &paint); in onDraw()
59 canvas->drawBitmap(bitmap, 100, 100, &paint); in onDraw()
61 canvas->drawBitmap(bitmap, 100, 200, &paint); in onDraw()
DcopyTo4444.cpp40 canvas->drawBitmap(bm, 0, 0); in onDraw()
44 canvas->drawBitmap(bm4444, SkIntToScalar(bm.width()), 0); in onDraw()
64 canvas->drawBitmap(bitmap, 0, 0);
66 canvas->drawBitmap(bitmap, 1, 1);
74 canvas->drawBitmap(bitmap, 2, 2);
78 canvas->drawBitmap(bitmap, 3, 3);
Dbitmappremul.cpp47 SkCanvas{ bitmap }.drawBitmap(make_argb8888_gradient(), 0, 0, &paint); in make_argb4444_gradient()
76 SkCanvas{ bitmap }.drawBitmap(make_argb8888_stripes(), 0, 0, &paint); in make_argb4444_stripes()
99 canvas->drawBitmap(make_argb8888_gradient(), 0, 0); in onDraw()
100 canvas->drawBitmap(make_argb4444_gradient(), slideSize, 0); in onDraw()
101 canvas->drawBitmap(make_argb8888_stripes(), 0, slideSize); in onDraw()
102 canvas->drawBitmap(make_argb4444_stripes(), slideSize, slideSize); in onDraw()
Dextractbitmap.cpp49 canvas->drawBitmap(bitmap, 0, 0); in onDraw()
57 canvas->drawBitmap(subset, 0, 0); in onDraw()
60 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y)); in onDraw()
66 canvas->drawBitmap(subset, 0, 0); in onDraw()
71 canvas->drawBitmap(subset, 0, 0); in onDraw()
Dbitmapimage.cpp52 legacyCanvas.drawBitmap(bitmap, 0.0f, 0.0f, nullptr); in onDraw()
53 canvas->drawBitmap(legacyBMCanvas, 0.0f, 0.0f, nullptr); in onDraw()
63 srgbCanvas.drawBitmap(bitmap, 0.0f, 0.0f, nullptr); in onDraw()
64 canvas->drawBitmap(srgbBMCanvas, 0.0f, 0.0f, nullptr); in onDraw()
Dbmpfilterqualityrepeat.cpp28 canvas.drawBitmap(colorBmp, 0, 0); in onOnceBeforeDraw()
30 canvas.drawBitmap(colorBmp, 20, 0); in onOnceBeforeDraw()
32 canvas.drawBitmap(colorBmp, 0, 20); in onOnceBeforeDraw()
34 canvas.drawBitmap(colorBmp, 20, 20); in onOnceBeforeDraw()
Dbitmapshader.cpp74 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
75 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
87 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
88 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
Demboss.cpp45 canvas->drawBitmap(bm, 10, 10, &paint); in onDraw()
51 canvas->drawBitmap(bm, 10, 10, &paint); in onDraw()
57 canvas->drawBitmap(bm, 10, 10, &paint); in onDraw()
Dbitmaprecttest.cpp41 canvas->drawBitmap(bm, 150, 45, nullptr);
50 canvas->drawBitmap(bm, -310, 45, nullptr);
/external/skqp/docs/
DSkImageInfo_Reference.bmh113 canvas->drawBitmap(bitmap, 0, 0);
153 canvas->drawBitmap(bitmap, 0, 0);
186 canvas->drawBitmap(bitmap, 0, 0);
359 canvas->drawBitmap(bitmap, 0, 0, &orangePaint);
363 canvas->drawBitmap(bitmap, 2, 2, &orangePaint);
389 canvas->drawBitmap(bitmap, 0, 0);
399 canvas->drawBitmap(bitmap, 2, 2);
403 canvas->drawBitmap(bitmap, 4, 4);
440 canvas->drawBitmap(bitmap, 0, 0);
450 canvas->drawBitmap(bitmap, 2, 2);
[all …]
DSkBitmap_Reference.bmh976 canvas->drawBitmap(bitmap, 0, 0);
978 canvas->drawBitmap(bitmap, 2, 0);
981 canvas->drawBitmap(bitmap, 4, 0);
1061 canvas->drawBitmap(source, 40, 40);
1081 canvas->drawBitmap(bitmap, 10, 10);
1102 canvas->drawBitmap(source, x, y);
1207 canvas->drawBitmap(bitmap, 0, 0);
1285 canvas->drawBitmap(bitmap, 0, 0);
1286 canvas->drawBitmap(bitmap, 8, 8);
1309 offscreen.drawBitmap(source, -x, 0);
[all …]
DSkColor_Reference.bmh172 canvas->drawBitmap(source, 0, 0);
201 canvas->drawBitmap(source, 0, 0);
230 canvas->drawBitmap(source, 0, 0);
259 canvas->drawBitmap(source, 0, 0);
334 canvas->drawBitmap(bitmap, 0, 0);
362 canvas->drawBitmap(bitmap, 0, 0);
498 canvas->drawBitmap(bitmap, 0, 0);
499 canvas->drawBitmap(bitmap, 48, 48);
517 canvas->drawBitmap(bitmap, 0, 0);
518 canvas->drawBitmap(bitmap, 48, 48);
[all …]
/external/skia/docs/
DSkImageInfo_Reference.bmh113 canvas->drawBitmap(bitmap, 0, 0);
153 canvas->drawBitmap(bitmap, 0, 0);
186 canvas->drawBitmap(bitmap, 0, 0);
359 canvas->drawBitmap(bitmap, 0, 0, &orangePaint);
363 canvas->drawBitmap(bitmap, 2, 2, &orangePaint);
389 canvas->drawBitmap(bitmap, 0, 0);
399 canvas->drawBitmap(bitmap, 2, 2);
403 canvas->drawBitmap(bitmap, 4, 4);
440 canvas->drawBitmap(bitmap, 0, 0);
450 canvas->drawBitmap(bitmap, 2, 2);
[all …]
DSkBitmap_Reference.bmh976 canvas->drawBitmap(bitmap, 0, 0);
978 canvas->drawBitmap(bitmap, 2, 0);
981 canvas->drawBitmap(bitmap, 4, 0);
1061 canvas->drawBitmap(source, 40, 40);
1081 canvas->drawBitmap(bitmap, 10, 10);
1102 canvas->drawBitmap(source, x, y);
1207 canvas->drawBitmap(bitmap, 0, 0);
1285 canvas->drawBitmap(bitmap, 0, 0);
1286 canvas->drawBitmap(bitmap, 8, 8);
1309 offscreen.drawBitmap(source, -x, 0);
[all …]
DSkColor_Reference.bmh172 canvas->drawBitmap(source, 0, 0);
201 canvas->drawBitmap(source, 0, 0);
230 canvas->drawBitmap(source, 0, 0);
259 canvas->drawBitmap(source, 0, 0);
334 canvas->drawBitmap(bitmap, 0, 0);
362 canvas->drawBitmap(bitmap, 0, 0);
498 canvas->drawBitmap(bitmap, 0, 0);
499 canvas->drawBitmap(bitmap, 48, 48);
517 canvas->drawBitmap(bitmap, 0, 0);
518 canvas->drawBitmap(bitmap, 48, 48);
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java37 canvas.drawBitmap(imageBitmap, 1, 2, new Paint()); in shouldDescribeBitmapDrawing()
38 canvas.drawBitmap(imageBitmap, 100, 200, new Paint()); in shouldDescribeBitmapDrawing()
50 canvas.drawBitmap(imageBitmap, new Rect(1,2,3,4), new Rect(5,6,7,8), new Paint()); in shouldDescribeBitmapDrawing_withDestinationRect()
58 canvas.drawBitmap(imageBitmap, new Rect(1,2,3,4), new RectF(5.0f,6.0f,7.5f,8.5f), new Paint()); in shouldDescribeBitmapDrawing_withDestinationRectF()
66 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix()
67 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix()
79 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription()
80 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription()

1234567891011