Home
last modified time | relevance | path

Searched refs:drawImage (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/external/skia/gm/
Dmakecolorspace.cpp63 canvas->drawImage(opaqueImage, 0.0f, 0.0f); in onDraw()
64 canvas->drawImage(make_color_space(opaqueImage, wideGamut), 128.0f, 0.0f); in onDraw()
65 canvas->drawImage(make_color_space(opaqueImage, wideGamutLinear), 256.0f, 0.0f); in onDraw()
66 canvas->drawImage(premulImage, 0.0f, 128.0f); in onDraw()
67 canvas->drawImage(make_color_space(premulImage, wideGamut), 128.0f, 128.0f); in onDraw()
68 canvas->drawImage(make_color_space(premulImage, wideGamutLinear), 256.0f, 128.0f); in onDraw()
74 canvas->drawImage(opaqueImage, 0.0f, 0.0f); in onDraw()
75 canvas->drawImage(make_color_space(opaqueImage, wideGamut), 128.0f, 0.0f); in onDraw()
76 canvas->drawImage(make_color_space(opaqueImage, wideGamutLinear), 256.0f, 0.0f); in onDraw()
77 canvas->drawImage(premulImage, 0.0f, 128.0f); in onDraw()
[all …]
Dcolormatrix.cpp86 canvas->drawImage(bmps[i], 0, 0, &paint); in onDraw()
90 canvas->drawImage(bmps[i], 80, 0, &paint); in onDraw()
94 canvas->drawImage(bmps[i], 160, 0, &paint); in onDraw()
98 canvas->drawImage(bmps[i], 240, 0, &paint); in onDraw()
102 canvas->drawImage(bmps[i], 0, 80, &paint); in onDraw()
106 canvas->drawImage(bmps[i], 80, 80, &paint); in onDraw()
110 canvas->drawImage(bmps[i], 160, 80, &paint); in onDraw()
114 canvas->drawImage(bmps[i], 240, 80, &paint); in onDraw()
118 canvas->drawImage(bmps[i], 0, 160, &paint); in onDraw()
122 canvas->drawImage(bmps[i], 80, 160, &paint); in onDraw()
[all …]
Dsrgb.cpp30 canvas->drawImage(img, 0, 0, nullptr);
31 canvas->drawImage(img, 256, 0, &p);
34 canvas->drawImage(img, 0, 256, &p);
36 canvas->drawImage(img, 256, 256, &p);
39 canvas->drawImage(img, 0, 512, &p);
41 canvas->drawImage(img, 256, 512, &p);
Dencode-alpha-jpeg.cpp63 canvas->drawImage(img0, 0.0f, 0.0f); in onDraw()
64 canvas->drawImage(img1, 0.0f, 100.0f); in onDraw()
71 canvas->drawImage(img0, 100.0f, 0.0f); in onDraw()
72 canvas->drawImage(img1, 100.0f, 100.0f); in onDraw()
80 canvas->drawImage(img0, 200.0f, 0.0f); in onDraw()
81 canvas->drawImage(img1, 200.0f, 100.0f); in onDraw()
88 canvas->drawImage(img0, 300.0f, 0.0f); in onDraw()
89 canvas->drawImage(img1, 300.0f, 100.0f); in onDraw()
Dalpha_image.cpp43 canvas->drawImage(image.get(), 16, 16, &paint);
47 canvas->drawImage(image.get(), 144, 16, &paint);
50 canvas->drawImage(image.get(), 16, 144, &paint);
53 canvas->drawImage(image.get(), 144, 144, &paint);
Druntimecolorfilter.cpp33 canvas->drawImage(img, 0, 0, nullptr);
40 canvas->drawImage(img, 256, 0, &p);
50 canvas->drawImage(img, 512, 0, &p);
Dencode.cpp39 canvas->drawImage(pngImage.get(), 0.0f, 0.0f); in onDraw()
40 canvas->drawImage(jpgImage.get(), 512.0f, 0.0f); in onDraw()
71 canvas->drawImage(img, 0, 0, nullptr);
Dsurface.cpp131 canvas->drawImage(image, 10, 10, nullptr); in onDraw()
140 canvas->drawImage(image2.get(), 10 + SkIntToScalar(image->width()) + 10, 10, nullptr); in onDraw()
165 canvas->drawImage(surf->makeImageSnapshot(), 0, 0, nullptr);
186 canvas->drawImage(surf->makeImageSnapshot(), 0, 0, nullptr);
239 surf->getCanvas()->drawImage(saveImg,
/external/skqp/gm/
Dmakecolorspace.cpp62 canvas->drawImage(opaqueImage, 0.0f, 0.0f); in onDraw()
63 canvas->drawImage(make_color_space(opaqueImage, wideGamut), 128.0f, 0.0f); in onDraw()
64 canvas->drawImage(make_color_space(opaqueImage, wideGamutLinear), 256.0f, 0.0f); in onDraw()
65 canvas->drawImage(premulImage, 0.0f, 128.0f); in onDraw()
66 canvas->drawImage(make_color_space(premulImage, wideGamut), 128.0f, 128.0f); in onDraw()
67 canvas->drawImage(make_color_space(premulImage, wideGamutLinear), 256.0f, 128.0f); in onDraw()
73 canvas->drawImage(opaqueImage, 0.0f, 0.0f); in onDraw()
74 canvas->drawImage(make_color_space(opaqueImage, wideGamut), 128.0f, 0.0f); in onDraw()
75 canvas->drawImage(make_color_space(opaqueImage, wideGamutLinear), 256.0f, 0.0f); in onDraw()
76 canvas->drawImage(premulImage, 0.0f, 128.0f); in onDraw()
[all …]
Dcolormatrix.cpp86 canvas->drawImage(bmps[i], 0, 0, &paint); in onDraw()
90 canvas->drawImage(bmps[i], 80, 0, &paint); in onDraw()
94 canvas->drawImage(bmps[i], 160, 0, &paint); in onDraw()
98 canvas->drawImage(bmps[i], 240, 0, &paint); in onDraw()
102 canvas->drawImage(bmps[i], 0, 80, &paint); in onDraw()
106 canvas->drawImage(bmps[i], 80, 80, &paint); in onDraw()
110 canvas->drawImage(bmps[i], 160, 80, &paint); in onDraw()
114 canvas->drawImage(bmps[i], 240, 80, &paint); in onDraw()
118 canvas->drawImage(bmps[i], 0, 160, &paint); in onDraw()
122 canvas->drawImage(bmps[i], 80, 160, &paint); in onDraw()
[all …]
Dsrgb.cpp30 canvas->drawImage(img, 0, 0, nullptr);
31 canvas->drawImage(img, 256, 0, &p);
34 canvas->drawImage(img, 0, 256, &p);
36 canvas->drawImage(img, 256, 256, &p);
39 canvas->drawImage(img, 0, 512, &p);
41 canvas->drawImage(img, 256, 512, &p);
Dcrosscontextimage.cpp27 canvas->drawImage(encodedImage, 10, 10);
31 canvas->drawImage(crossContextImage, 512 + 30, 10);
40 canvas->drawImage(crossContextRaster, 512 + 512 + 60, 10);
47 canvas->drawImage(encodedSubset, 10, 512 + 30);
48 canvas->drawImage(crossContextSubset, 512 + 30, 512 + 30);
49 canvas->drawImage(crossContextRasterSubset, 512 + 512 + 60, 512 + 30);
Dencode-alpha-jpeg.cpp61 canvas->drawImage(img0, 0.0f, 0.0f); in onDraw()
62 canvas->drawImage(img1, 0.0f, 100.0f); in onDraw()
69 canvas->drawImage(img0, 100.0f, 0.0f); in onDraw()
70 canvas->drawImage(img1, 100.0f, 100.0f); in onDraw()
79 canvas->drawImage(img0, 200.0f, 0.0f); in onDraw()
80 canvas->drawImage(img1, 200.0f, 100.0f); in onDraw()
87 canvas->drawImage(img0, 300.0f, 0.0f); in onDraw()
88 canvas->drawImage(img1, 300.0f, 100.0f); in onDraw()
Dalpha_image.cpp43 canvas->drawImage(image.get(), 16, 16, &paint);
47 canvas->drawImage(image.get(), 144, 16, &paint);
50 canvas->drawImage(image.get(), 16, 144, &paint);
53 canvas->drawImage(image.get(), 144, 144, &paint);
Dencode.cpp39 canvas->drawImage(pngImage.get(), 0.0f, 0.0f); in onDraw()
40 canvas->drawImage(jpgImage.get(), 512.0f, 0.0f); in onDraw()
71 canvas->drawImage(img, 0, 0, nullptr);
Dsurface.cpp131 canvas->drawImage(image, 10, 10, nullptr); in onDraw()
140 canvas->drawImage(image2.get(), 10 + SkIntToScalar(image->width()) + 10, 10, nullptr); in onDraw()
165 canvas->drawImage(surf->makeImageSnapshot(), 0, 0, nullptr);
186 canvas->drawImage(surf->makeImageSnapshot(), 0, 0, nullptr);
239 surf->getCanvas()->drawImage(saveImg,
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java294 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() method in OverrideGraphics2D
296 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer); in drawImage()
299 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() method in OverrideGraphics2D
301 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer); in drawImage()
304 …public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObser… in drawImage() method in OverrideGraphics2D
306 return graphics.drawImage(img, x, y, width, height, bgcolor, observer); in drawImage()
309 public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) in drawImage() method in OverrideGraphics2D
311 return graphics.drawImage(img, x, y, width, height, observer); in drawImage()
314 public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) in drawImage() method in OverrideGraphics2D
316 return graphics.drawImage(img, x, y, bgcolor, observer); in drawImage()
[all …]
/external/skqp/tests/
DPromiseImageTest.cpp174 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
208 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
209 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
228 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
243 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
330 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
361 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
362 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
375 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
385 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DPinnedImageTest.cpp54 canvas->drawImage(img, 0, 0); in basic_test()
59 canvas->drawImage(img, 0, 0); in basic_test()
67 canvas->drawImage(img, 0, 0); in basic_test()
72 canvas->drawImage(img, 0, 0); in basic_test()
80 canvas->drawImage(img, 0, 0); in basic_test()
/external/skqp/docs/
DSkImage_Reference.bmh75 canvas->drawImage(image, 10, 0);
98 canvas->drawImage(image, 0, 0);
99 canvas->drawImage(raw.get(), 128, 0);
198 canvas->drawImage(image1, 0, 0);
199 canvas->drawImage(image2, 10, 0);
225 canvas->drawImage(image, 0, 0);
245 canvas->drawImage(image, x, 0);
327 canvas->drawImage(image, x, 0);
366 canvas->drawImage(image, x, y);
392 canvas->drawImage(image, 0, 0);
[all …]
/external/skia/docs/
DSkImage_Reference.bmh75 canvas->drawImage(image, 10, 0);
98 canvas->drawImage(image, 0, 0);
99 canvas->drawImage(raw.get(), 128, 0);
198 canvas->drawImage(image1, 0, 0);
199 canvas->drawImage(image2, 10, 0);
225 canvas->drawImage(image, 0, 0);
245 canvas->drawImage(image, x, 0);
307 canvas->drawImage(image, x, 0);
346 canvas->drawImage(image, x, y);
372 canvas->drawImage(image, 0, 0);
[all …]
/external/skia/tests/
DPromiseImageTest.cpp164 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
195 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
196 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
209 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
219 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
293 canvas->drawImage(alphaImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
294 canvas->drawImage(grayImg, 1, 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
395 canvas->drawImage(image, 0, 0); in DEF_GPUTEST()
459 canvas->drawImage(image, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
461 canvas->drawImage(image, 1, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DPinnedImageTest.cpp54 canvas->drawImage(img, 0, 0); in basic_test()
59 canvas->drawImage(img, 0, 0); in basic_test()
67 canvas->drawImage(img, 0, 0); in basic_test()
72 canvas->drawImage(img, 0, 0); in basic_test()
80 canvas->drawImage(img, 0, 0); in basic_test()
/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/
DImagePanel.java103 gg.drawImage(image, 0, (int)(getHeight()/2 - th/2), (int) tw, (int) th, null); in paintComponent()
107 gg.drawImage(image, (int)((float)getWidth()/2 - tw/2), 0, (int) tw, (int) th, null); in paintComponent()
119 gg.drawImage(image, tx, ty, tx + tw, ty + th, x, y, x + width, y + width, null); in paintComponent()
125 gg.drawImage(image, tx, ty, tx + tw, ty + th, x, y, x + width, y + width, null); in paintComponent()
/external/skia/samplecode/
DSampleMixer.cpp49 canvas->drawImage(fImg, 0, 0, &paint); in dodraw()
52 canvas->drawImage(fImg, fImg->width() + gap * fWeight, 0, &paint); in dodraw()
55 canvas->drawImage(fImg, 2*fImg->width() + gap, 0, &paint); in dodraw()

12345678910>>...12