Home
last modified time | relevance | path

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

1234567

/external/skia/tests/
DPDFInvalidBitmapTest.cpp51 canvas->drawBitmap(SkBitmap(), 0, 0); in DEF_TEST()
52 canvas->drawBitmap(make_invalid_bitmap(SkImageInfo()), 0, 0); in DEF_TEST()
53 canvas->drawBitmap(make_invalid_bitmap(kN32_SkColorType), 0, 0); in DEF_TEST()
54 canvas->drawBitmap(make_invalid_bitmap(kIndex_8_SkColorType), 0, 0); in DEF_TEST()
55 canvas->drawBitmap(make_invalid_bitmap(kARGB_4444_SkColorType), 0, 0); in DEF_TEST()
56 canvas->drawBitmap(make_invalid_bitmap(kRGB_565_SkColorType), 0, 0); in DEF_TEST()
57 canvas->drawBitmap(make_invalid_bitmap(kAlpha_8_SkColorType), 0, 0); in DEF_TEST()
DQuickRejectTest.cpp70 canvas.drawBitmap(src, 0, 0, &paint); in test_drawBitmap()
78 canvas.drawBitmap(src, SkIntToScalar(-10), 0, &paint); in test_drawBitmap()
86 canvas.drawBitmap(src, SkIntToScalar(-10), 0, &paint); in test_drawBitmap()
DPipeTest.cpp20 pipeCanvas->drawBitmap(badBitmap, 0, 0); in testDrawingBadBitmap()
41 pipeCanvas->drawBitmap(bm, 0, 0); in testDrawingAfterEndRecording()
DDeferredCanvasTest.cpp448 virtual void drawBitmap(const SkDraw&, const SkBitmap&, in drawBitmap() function in MockDevice
503 canvas->drawBitmap(sourceImage, 0, 0, NULL); in TestDeferredCanvasMemoryLimit()
538 canvas->drawBitmap(sourceImages[0], 0, 0, NULL); in TestDeferredCanvasBitmapCaching()
558 canvas->drawBitmap(sourceImages[0], 0, 0, NULL); in TestDeferredCanvasBitmapCaching()
560 canvas->drawBitmap(sourceImages[0], 0, 0, NULL); in TestDeferredCanvasBitmapCaching()
566 canvas->drawBitmap(sourceImages[1], 0, 0, NULL); in TestDeferredCanvasBitmapCaching()
580 canvas->drawBitmap(sourceImages[0], 0, 0, NULL); in TestDeferredCanvasBitmapCaching()
582 canvas->drawBitmap(sourceImages[1], 0, 0, NULL); in TestDeferredCanvasBitmapCaching()
593 canvas->drawBitmap(sourceImages[1], 0, 0, NULL); in TestDeferredCanvasBitmapCaching()
595 canvas->drawBitmap(sourceImages[1], 0, 0, NULL); in TestDeferredCanvasBitmapCaching()
[all …]
DPDFJpegEmbedTest.cpp73 canvas->drawBitmap(bm1, 65.0, 0.0, NULL); in DEF_TEST()
75 canvas->drawBitmap(bm2, 0.0, 512.0, NULL); in DEF_TEST()
/external/skia/gm/
Dcolormatrix.cpp108 canvas->drawBitmap(bmps[i], 0, 0, &paint); in onDraw()
112 canvas->drawBitmap(bmps[i], 80, 0, &paint); in onDraw()
116 canvas->drawBitmap(bmps[i], 160, 0, &paint); in onDraw()
120 canvas->drawBitmap(bmps[i], 240, 0, &paint); in onDraw()
124 canvas->drawBitmap(bmps[i], 0, 80, &paint); in onDraw()
128 canvas->drawBitmap(bmps[i], 80, 80, &paint); in onDraw()
132 canvas->drawBitmap(bmps[i], 160, 80, &paint); in onDraw()
136 canvas->drawBitmap(bmps[i], 240, 80, &paint); in onDraw()
140 canvas->drawBitmap(bmps[i], 0, 160, &paint); in onDraw()
144 canvas->drawBitmap(bmps[i], 80, 160, &paint); in onDraw()
[all …]
Dextractbitmap.cpp51 canvas->drawBitmap(bitmap, 0, 0); in onDraw()
59 canvas->drawBitmap(subset, 0, 0); in onDraw()
62 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y)); in onDraw()
68 canvas->drawBitmap(subset, 0, 0); in onDraw()
73 canvas->drawBitmap(subset, 0, 0); in onDraw()
Dbmpfilterqualityrepeat.cpp27 canvas.drawBitmap(colorBmp, 0, 0); in onOnceBeforeDraw()
29 canvas.drawBitmap(colorBmp, 20, 0); in onOnceBeforeDraw()
31 canvas.drawBitmap(colorBmp, 0, 20); in onOnceBeforeDraw()
33 canvas.drawBitmap(colorBmp, 20, 20); in onOnceBeforeDraw()
Dcolorcube.cpp110 canvas->drawBitmap(fBitmap, 10, 10, &paint); in onDraw()
113 canvas->drawBitmap(fBitmap, 110, 10, &paint); in onDraw()
116 canvas->drawBitmap(fBitmap, 210, 10, &paint); in onDraw()
119 canvas->drawBitmap(fBitmap, 310, 10, &paint); in onDraw()
122 canvas->drawBitmap(fBitmap, 410, 10, &paint); in onDraw()
Dbitmapshader.cpp76 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
77 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
89 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
90 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
Demboss.cpp43 canvas->drawBitmap(bm, 10, 10, &paint); in onDraw()
48 canvas->drawBitmap(bm, 10, 10, &paint); in onDraw()
54 canvas->drawBitmap(bm, 10, 10, &paint); in onDraw()
Dbitmappremul.cpp122 canvas->drawBitmap(make_argb8888_gradient(), 0, 0); in onDraw()
123 canvas->drawBitmap(make_argb4444_gradient(), slideSize, 0); in onDraw()
124 canvas->drawBitmap(make_argb8888_stripes(), 0, slideSize); in onDraw()
125 canvas->drawBitmap(make_argb4444_stripes(), slideSize, slideSize); in onDraw()
Darithmode.cpp107 canvas->drawBitmap(src, x, y, NULL); in onDraw()
109 canvas->drawBitmap(dst, x, y, NULL); in onDraw()
113 canvas->drawBitmap(dst, x, y, NULL); in onDraw()
117 canvas->drawBitmap(src, x, y, &paint); in onDraw()
DcopyTo4444.cpp42 canvas->drawBitmap(bm, 0, 0); in onDraw()
44 canvas->drawBitmap(bm4444, SkIntToScalar(bm.width()), 0); in onDraw()
Dbitmaprecttest.cpp40 canvas->drawBitmap(bm, 150, 45, NULL); in test_bitmaprect()
49 canvas->drawBitmap(bm, -310, 45, NULL); in test_bitmaprect()
Drepeated_bitmap.cpp27 canvas->drawBitmap(bm, -4.0f, -4.0f);
47 canvas->drawBitmap(bm, -64.0f, -64.0f);
Dpeekpixels.cpp50 canvas->drawBitmap(bitmap, 0, 0, NULL); in onDraw()
58 canvas->drawBitmap(bitmap, 0, 0, NULL); in onDraw()
Ddownsamplebitmap.cpp95 canvas->drawBitmap(fBM, 0, 0, &paint); in onDraw()
222 canvas->drawBitmap(fBM, x, y, NULL); in onDraw()
235 canvas->drawBitmap(bm, x, y, NULL); in onDraw()
Dtileimagefilter.cpp79 canvas->drawBitmap(fBitmap, 0, 0, &paint); in onDraw()
107 canvas->drawBitmap(fBitmap, 0, 0); in onDraw()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCanvasTest.java29 canvas.drawBitmap(imageBitmap, 1, 2, new Paint()); in shouldDescribeBitmapDrawing()
30 canvas.drawBitmap(imageBitmap, 100, 200, new Paint()); in shouldDescribeBitmapDrawing()
42 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix()
43 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix()
55 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription()
56 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription()
DBitmapTest.java89 canvas.drawBitmap(bitmap2, 0, 0, null); in shouldReceiveDescriptionWhenDrawingToCanvas()
103 canvas.drawBitmap(bitmap2, new Matrix(), null); in shouldReceiveDescriptionWhenDrawingToCanvasWithBitmapAndMatrixAndPaint()
119 canvas.drawBitmap(bitmap2, new Matrix(), paint); in shouldReceiveDescriptionWhenDrawABitmapToCanvasWithAPaintEffect()
/external/skia/samplecode/
DSampleDitherBitmap.cpp112 canvas->drawBitmap(bitmap, 0, 0, &paint); in draw2()
114 canvas->drawBitmap(bitmap, 0, SkIntToScalar(bm.height() + 10), &paint); in draw2()
119 canvas->drawBitmap(bitmap, x, 0, &paint); in draw2()
121 canvas->drawBitmap(bitmap, x, SkIntToScalar(bm.height() + 10), &paint); in draw2()
DSampleDither.cpp147 canvas->drawBitmap(fBM, x, y, &paint); in onDrawContent()
150 canvas->drawBitmap(fBM, x, y, &paint); in onDrawContent()
154 canvas->drawBitmap(fBMPreDither, x, y, &paint); in onDrawContent()
157 canvas->drawBitmap(fBM16, x, y, &paint); in onDrawContent()
DSampleHairline.cpp200 canvas->drawBitmap(b0, 0, 0, NULL); in show_bitmaps()
201 canvas->drawBitmap(b1, SkIntToScalar(b0.width()), 0, NULL); in show_bitmaps()
222 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), NULL); in onDrawContent()
DSamplePicture.cpp73 canvas->drawBitmap(fBitmap, 0, 0, NULL); in PictureView()
111 canvas->drawBitmap(fBitmap, 0, 0, NULL); in drawSomething()

1234567