/external/skia/tests/ |
D | PDFInvalidBitmapTest.cpp | 51 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()
|
D | QuickRejectTest.cpp | 70 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()
|
D | PipeTest.cpp | 20 pipeCanvas->drawBitmap(badBitmap, 0, 0); in testDrawingBadBitmap() 41 pipeCanvas->drawBitmap(bm, 0, 0); in testDrawingAfterEndRecording()
|
D | DeferredCanvasTest.cpp | 448 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 …]
|
D | PDFJpegEmbedTest.cpp | 73 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/ |
D | colormatrix.cpp | 108 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 …]
|
D | extractbitmap.cpp | 51 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()
|
D | bmpfilterqualityrepeat.cpp | 27 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()
|
D | colorcube.cpp | 110 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()
|
D | bitmapshader.cpp | 76 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()
|
D | emboss.cpp | 43 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()
|
D | bitmappremul.cpp | 122 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()
|
D | arithmode.cpp | 107 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()
|
D | copyTo4444.cpp | 42 canvas->drawBitmap(bm, 0, 0); in onDraw() 44 canvas->drawBitmap(bm4444, SkIntToScalar(bm.width()), 0); in onDraw()
|
D | bitmaprecttest.cpp | 40 canvas->drawBitmap(bm, 150, 45, NULL); in test_bitmaprect() 49 canvas->drawBitmap(bm, -310, 45, NULL); in test_bitmaprect()
|
D | repeated_bitmap.cpp | 27 canvas->drawBitmap(bm, -4.0f, -4.0f); 47 canvas->drawBitmap(bm, -64.0f, -64.0f);
|
D | peekpixels.cpp | 50 canvas->drawBitmap(bitmap, 0, 0, NULL); in onDraw() 58 canvas->drawBitmap(bitmap, 0, 0, NULL); in onDraw()
|
D | downsamplebitmap.cpp | 95 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()
|
D | tileimagefilter.cpp | 79 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/ |
D | CanvasTest.java | 29 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()
|
D | BitmapTest.java | 89 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/ |
D | SampleDitherBitmap.cpp | 112 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()
|
D | SampleDither.cpp | 147 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()
|
D | SampleHairline.cpp | 200 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()
|
D | SamplePicture.cpp | 73 canvas->drawBitmap(fBitmap, 0, 0, NULL); in PictureView() 111 canvas->drawBitmap(fBitmap, 0, 0, NULL); in drawSomething()
|