Home
last modified time | relevance | path

Searched refs:asImage (Results 1 – 25 of 236) sorted by relevance

12345678910

/external/skia/gm/
Doverdrawcolorfilter.cpp53 canvas->drawImage(bitmap.asImage(), 0, 0, sampling, &paint); in onDraw()
55 canvas->drawImage(bitmap.asImage(), 0, 100, sampling, &paint); in onDraw()
57 canvas->drawImage(bitmap.asImage(), 0, 200, sampling, &paint); in onDraw()
59 canvas->drawImage(bitmap.asImage(), 0, 300, sampling, &paint); in onDraw()
61 canvas->drawImage(bitmap.asImage(), 100, 0, sampling, &paint); in onDraw()
63 canvas->drawImage(bitmap.asImage(), 100, 100, sampling, &paint); in onDraw()
65 canvas->drawImage(bitmap.asImage(), 100, 200, sampling, &paint); in onDraw()
Dcopy_to_4444.cpp36 canvas->drawImage(bm.asImage(), 0, 0); in onDraw()
40 canvas->drawImage(bm4444.asImage(), SkIntToScalar(bm.width()), 0); in onDraw()
57 canvas->drawImage(bitmap.asImage(), 0, 0);
59 canvas->drawImage(bitmap.asImage(), 1, 1);
67 canvas->drawImage(bitmap.asImage(), 2, 2);
71 canvas->drawImage(bitmap.asImage(), 3, 3);
Dbitmappremul.cpp47 return bitmap.asImage(); in make_argb8888_gradient()
57 return bitmap.asImage(); in make_argb4444_gradient()
76 return bitmap.asImage(); in make_argb8888_stripes()
86 return bitmap.asImage(); in make_argb4444_stripes()
133 return bmp.asImage(); in make_out_of_gamut_image()
Dbmpfilterqualityrepeat.cpp39 canvas.drawImage(colorBmp.asImage(), 0, 0); in onOnceBeforeDraw()
41 canvas.drawImage(colorBmp.asImage(), 20, 0); in onOnceBeforeDraw()
43 canvas.drawImage(colorBmp.asImage(), 0, 20); in onOnceBeforeDraw()
45 canvas.drawImage(colorBmp.asImage(), 20, 20); in onOnceBeforeDraw()
Dbitmapfilters.cpp82 fImg32 = bm32.asImage(); in onOnceBeforeDraw()
83 fImg4444 = bm4444.asImage(); in onOnceBeforeDraw()
84 fImg565 = bm565.asImage(); in onOnceBeforeDraw()
160 canvas->drawImage(fBitmap.asImage(), 10, 10, sampling, &paint); in onDraw()
162 canvas->drawImage(fAlpha.asImage(), 120, 10, sampling, &paint); in onDraw()
Dalpha_image.cpp45 auto image = make_alpha_image(96, 96).asImage();
76 auto image = bm.asImage();
120 offscreenCanvas.drawImage(maskBitmap.asImage(), 0, 0, SkSamplingOptions{}, &clearPaint);
123 canvas->drawImage(offscreenBitmap.asImage(), 0, 0);
/external/skia/docs/examples/
Dgpu8888diff.cpp13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
15 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
25 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
29 canvas->drawImage(bitmap.asImage(), 6, 6); in draw()
Dgpu4444diff.cpp12 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
14 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
25 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
29 canvas->drawImage(bitmap.asImage(), 6, 6); in draw()
DBitmap_tryAllocPixels_3.cpp11 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
14 canvas->drawImage(bitmap.asImage(), 8, 0); in draw()
16 canvas->drawImage(bitmap.asImage(), 16, 0); in draw()
DBitmap_notifyPixelsChanged.cpp12 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
14 canvas->drawImage(bitmap.asImage(), 2, 0); in draw()
17 canvas->drawImage(bitmap.asImage(), 4, 0); in draw()
DColor_Type_RGB_888.cpp13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
22 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
25 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
DColor_Type_RGB_101010.cpp13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
22 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
26 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
DColor_Type_RGB_565.cpp13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
23 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
27 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
DColor_Type_RGBA_8888.cpp13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
23 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
27 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
DColor_Type_RGBA_1010102.cpp13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
26 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
30 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
DColor_Type_ARGB_4444.cpp13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
23 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
27 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
DColor_Type_BGRA_8888.cpp13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
23 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
27 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
DImageInfo_MakeS32.cpp19 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
23 canvas->drawImage(bitmap.asImage(), 0, 48); in draw()
27 canvas->drawImage(noColorSpaceBitmap.asImage(), 0, 96); in draw()
DColor_Type_RGBA_F16.cpp30 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
45 canvas->drawImage(bitmap.asImage(), 2, 2); in draw()
49 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
Dskbug_5648.cpp9 auto img0 = bitmap.asImage(); in draw()
10 auto img1 = bitmap.asImage(); in draw()
DBitmap_eraseARGB.cpp11 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
12 canvas->drawImage(bitmap.asImage(), .5f, .5f); in draw()
DBitmap_setPixels.cpp12 canvas->drawImage(bitmap.asImage(), 0, 0); in draw()
14 canvas->drawImage(bitmap.asImage(), 10, 0); in draw()
DBitmap_tryAllocPixels_2.cpp12 offscreen.drawImage(source.asImage(), -y, -y); in draw()
13 canvas->drawImage(bitmap.asImage(), y, y); in draw()
DBitmap_tryAllocPixels.cpp13 offscreen.drawImage(source.asImage(), -x, 0); in draw()
14 canvas->drawImage(bitmap.asImage(), x, 0); in draw()
/external/skia/tests/
DImageBitmapTest.cpp27 auto img = bm.asImage(); in DEF_TEST()
28 auto imgA = a.asImage(); in DEF_TEST()
29 auto imgB = b.asImage(); in DEF_TEST()

12345678910