Home
last modified time | relevance | path

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

12345678

/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);
Dbitmapfilters.cpp30 canvas->drawBitmap(bm, x, y, paint); in draw_bm()
146 canvas->drawBitmap(fBitmap, 10, 10, &paint); // should stay blue (ignore paint's color) in onDraw()
147 canvas->drawBitmap(fAlpha, 120, 10, &paint); // should draw red in onDraw()
Dandroidblendmodes.cpp62 canvas->drawBitmap(fCompositeDst, 0, 0, &p); in drawTile()
64 canvas->drawBitmap(fCompositeSrc, 0, 0, &p); in drawTile()
Dp3.cpp130 canvas->drawBitmap(bm, 10,10);
145 canvas->drawBitmap(bm, 10,10);
163 canvas->drawBitmap(bm, 10,10);
350 canvas->drawBitmap(bm, 10,10, &as_bitmap);
/external/skia/docs/examples/
Dgpu4444diff.cpp12 canvas->drawBitmap(bitmap, 0, 0); in draw()
14 canvas->drawBitmap(bitmap, 2, 2); in draw()
25 canvas->drawBitmap(bitmap, 4, 4); in draw()
29 canvas->drawBitmap(bitmap, 6, 6); in draw()
DDevice_Text.cpp23 canvas->drawBitmap(bitmap, 4, 12);
25 canvas->drawBitmap(bitmap, 4, -1);
DImageInfo_makeColorSpace.cpp30 canvas->drawBitmap(bitmap, 0, 0);
38 canvas->drawBitmap(bitmap, 0, 0);
/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 …]
DSkPixmap_Reference.bmh141 canvas->drawBitmap(bitmap, x, 0);
199 canvas->drawBitmap(bitmap, 0, 0);
1071 canvas->drawBitmap(bitmap, 0, 0);
1074 canvas->drawBitmap(bitmap, 10, 0);
1106 canvas->drawBitmap(bitmap, 0, 0);
1109 canvas->drawBitmap(bitmap, 10, 0);
1142 canvas->drawBitmap(bitmap, 0, 0);
1167 canvas->drawBitmap(bitmap, 0, 0);
1170 canvas->drawBitmap(bitmap, 10, 0);
1201 canvas->drawBitmap(bitmap, 0, 0);
[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()
/external/skqp/tests/
DQuickRejectTest.cpp72 canvas.drawBitmap(src, 0, 0, &paint); in test_drawBitmap()
80 canvas.drawBitmap(src, SkIntToScalar(-10), 0, &paint); in test_drawBitmap()
88 canvas.drawBitmap(src, SkIntToScalar(-10), 0, &paint); in test_drawBitmap()
/external/skqp/samplecode/
DSampleHairline.cpp194 canvas->drawBitmap(b0, 0, 0, nullptr); in show_bitmaps()
195 canvas->drawBitmap(b1, SkIntToScalar(b0.width()), 0, nullptr); in show_bitmaps()
216 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr); in onDrawContent()
DSampleSubpixelTranslate.cpp90 …canvas->drawBitmap( fBM, fCurPos.fX + i * (fBM.width() + 10), fCurPos.fY + 2*(fSize + 10), &paint … in onDrawContent()
101 …canvas->drawBitmap( fBM, fCurPos.fX + i * (fBM.width() + 10), fCurPos.fY + 2*(fSize + 10) + fBM.he… in onDrawContent()
DSampleUnpremul.cpp125 canvas->drawBitmap(bm, 0, 0); in onDrawContent()
127 canvas->drawBitmap(fBitmap, 0, 0); in onDrawContent()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java71 canvas.drawBitmap(toCrop, m, paint); in centerCrop()
129 canvas.drawBitmap(toFit, matrix, paint); in fitCenter()
280 canvas.drawBitmap(toOrient, matrix, paint); in rotateImageExif()

12345678