/external/skia/tests/ |
D | PDFInvalidBitmapTest.cpp | 54 canvas->drawBitmap(SkBitmap(), 0, 0); in DEF_TEST() 55 canvas->drawBitmap(make_invalid_bitmap(SkImageInfo()), 0, 0); in DEF_TEST() 56 canvas->drawBitmap(make_invalid_bitmap(kN32_SkColorType), 0, 0); in DEF_TEST() 57 canvas->drawBitmap(make_invalid_bitmap(kIndex_8_SkColorType), 0, 0); in DEF_TEST() 58 canvas->drawBitmap(make_invalid_bitmap(kARGB_4444_SkColorType), 0, 0); in DEF_TEST() 59 canvas->drawBitmap(make_invalid_bitmap(kRGB_565_SkColorType), 0, 0); in DEF_TEST() 60 canvas->drawBitmap(make_invalid_bitmap(kAlpha_8_SkColorType), 0, 0); in DEF_TEST()
|
D | QuickRejectTest.cpp | 76 canvas.drawBitmap(src, 0, 0, &paint); in test_drawBitmap() 84 canvas.drawBitmap(src, SkIntToScalar(-10), 0, &paint); in test_drawBitmap() 92 canvas.drawBitmap(src, SkIntToScalar(-10), 0, &paint); in test_drawBitmap()
|
D | PictureTest.cpp | 610 recordingCanvas->drawBitmap(bm, 0, 0); in test_bad_bitmap() 796 recorder.beginRecording(10, 10)->drawBitmap(bm, 0, 0); in test_hierarchical() 814 canvas->drawBitmap(bm, 0, 0); in test_hierarchical() 821 canvas->drawBitmap(bm, 0, 0); in test_hierarchical() 891 canvas->drawBitmap(bitmap, 0.0f, 0.0f, &paint); in draw_bitmaps() 894 canvas->drawBitmap(bitmap, 1, 1); // drawSprite in draw_bitmaps() 947 canvas->drawBitmap(blueBM, 25, 25); in DEF_TEST() 948 canvas->drawBitmap(redBM, 50, 50); in DEF_TEST() 1032 canvas->drawBitmap(mut, 0, 0); in DEF_TEST() 1033 canvas->drawBitmap(immut, 800, 600); in DEF_TEST()
|
/external/skia/gm/ |
D | overdrawcolorfilter.cpp | 49 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()
|
D | extractbitmap.cpp | 50 canvas->drawBitmap(bitmap, 0, 0); in onDraw() 58 canvas->drawBitmap(subset, 0, 0); in onDraw() 61 canvas->drawBitmap(subset, SkIntToScalar(x), SkIntToScalar(y)); in onDraw() 67 canvas->drawBitmap(subset, 0, 0); in onDraw() 72 canvas->drawBitmap(subset, 0, 0); in onDraw()
|
D | bitmapimage.cpp | 51 legacyCanvas.drawBitmap(bitmap, 0.0f, 0.0f, nullptr); in onDraw() 52 canvas->drawBitmap(legacyBMCanvas, 0.0f, 0.0f, nullptr); in onDraw() 62 srgbCanvas.drawBitmap(bitmap, 0.0f, 0.0f, nullptr); in onDraw() 63 canvas->drawBitmap(srgbBMCanvas, 0.0f, 0.0f, nullptr); in onDraw()
|
D | bitmapshader.cpp | 71 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw() 72 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw() 84 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw() 85 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
|
D | bmpfilterqualityrepeat.cpp | 28 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()
|
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 | copyTo4444.cpp | 39 canvas->drawBitmap(bm, 0, 0); in onDraw() 41 canvas->drawBitmap(bm4444, SkIntToScalar(bm.width()), 0); in onDraw()
|
D | bitmaprecttest.cpp | 41 canvas->drawBitmap(bm, 150, 45, nullptr); 50 canvas->drawBitmap(bm, -310, 45, nullptr);
|
D | bitmapfilters.cpp | 35 canvas->drawBitmap(bm, x, y, paint); in draw_bm() 153 canvas->drawBitmap(fBitmap, 10, 10, &paint); // should stay blue (ignore paint's color) in onDraw() 154 canvas->drawBitmap(fAlpha, 120, 10, &paint); // should draw red in onDraw()
|
D | SkLinearBitmapPipelineGM.cpp | 85 canvas->drawBitmap(bmdst, r.left(), r.top(), nullptr); in draw_rect_orig() 132 canvas->drawBitmap(bmdst, r.left(), r.top(), nullptr); in draw_rect_fp() 141 canvas->drawBitmap(bm, r.left(), r.top(), nullptr); in draw_rect_none()
|
D | gammaencodedpremul.cpp | 85 canvas->drawBitmap(bitmap, 0, 2 * i * kStripeHeight + j); in onDraw() 97 canvas->drawBitmap(bitmap, 0, (2 * i + 1) * kStripeHeight + j); in onDraw()
|
D | tablecolorfilter.cpp | 154 canvas->drawBitmap(bm, x, y, &paint); in onDraw() 161 canvas->drawBitmap(bm, x, y, &paint); in onDraw() 180 canvas->drawBitmap(bm, x, y, &paint); in onDraw()
|
/external/robolectric/v1/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 | 111 canvas->drawBitmap(bitmap, 0, 0, &paint); in draw2() 113 canvas->drawBitmap(bitmap, 0, SkIntToScalar(bm.height() + 10), &paint); in draw2() 118 canvas->drawBitmap(bitmap, x, 0, &paint); in draw2() 120 canvas->drawBitmap(bitmap, x, SkIntToScalar(bm.height() + 10), &paint); in draw2()
|
D | SampleDither.cpp | 142 canvas->drawBitmap(fBM, x, y, &paint); in onDrawContent() 145 canvas->drawBitmap(fBM, x, y, &paint); in onDrawContent() 149 canvas->drawBitmap(fBMPreDither, x, y, &paint); in onDrawContent() 152 canvas->drawBitmap(fBM16, x, y, &paint); in onDrawContent()
|
D | SampleHairline.cpp | 195 canvas->drawBitmap(b0, 0, 0, nullptr); in show_bitmaps() 196 canvas->drawBitmap(b1, SkIntToScalar(b0.width()), 0, nullptr); in show_bitmaps() 217 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr); in onDrawContent()
|
D | SampleSubpixelTranslate.cpp | 87 …canvas->drawBitmap( fBM, fCurPos.fX + i * (fBM.width() + 10), fCurPos.fY + 2*(fSize + 10), &paint … in onDrawContent() 95 …canvas->drawBitmap( fBM, fCurPos.fX + i * (fBM.width() + 10), fCurPos.fY + 2*(fSize + 10) + fBM.he… in onDrawContent()
|
D | SampleUnpremul.cpp | 129 canvas->drawBitmap(bm, 0, 0); in onDrawContent() 131 canvas->drawBitmap(fBitmap, 0, 0); in onDrawContent()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowCanvas.java | 73 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap() method in ShadowCanvas 115 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { in drawBitmap() method in ShadowCanvas
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | TransformationUtils.java | 71 canvas.drawBitmap(toCrop, m, paint); in centerCrop() 129 canvas.drawBitmap(toFit, matrix, paint); in fitCenter() 280 canvas.drawBitmap(toOrient, matrix, paint); in rotateImageExif()
|