Home
last modified time | relevance | path

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

123

/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativePorterDuffColorFilterTest.java40 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffColorFilter()
42 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
53 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffColorFilter()
55 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
63 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffColorFilter()
65 canvas.drawBitmap(b2, 0, height / 2, p); in testPorterDuffColorFilter()
DShadowNativeBlendModeColorFilterTest.java56 canvas.drawBitmap(b1, 0, 0, p); in testBlendModeColorFilter()
58 canvas.drawBitmap(b2, 0, TEST_HEIGHT / 2, p); in testBlendModeColorFilter()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/renderer/
DLineChartRenderer.java79 Bitmap drawBitmap = mDrawBitmap == null ? null : mDrawBitmap.get(); in drawData() local
81 if (drawBitmap == null in drawData()
82 || (drawBitmap.getWidth() != width) in drawData()
83 || (drawBitmap.getHeight() != height)) { in drawData()
86 drawBitmap = Bitmap.createBitmap(width, height, mBitmapConfig); in drawData()
87 mDrawBitmap = new WeakReference<>(drawBitmap); in drawData()
88 mBitmapCanvas = new Canvas(drawBitmap); in drawData()
93 drawBitmap.eraseColor(Color.TRANSPARENT); in drawData()
103 c.drawBitmap(drawBitmap, 0, 0, mRenderPaint); in drawData()
693 …c.drawBitmap(circleBitmap, mCirclesBuffer[0] - circleRadius, mCirclesBuffer[1] - circleRadius, nul… in drawCircles()
[all …]
DPieChartRenderer.java129 Bitmap drawBitmap = mDrawBitmap == null ? null : mDrawBitmap.get(); in drawData() local
131 if (drawBitmap == null in drawData()
132 || (drawBitmap.getWidth() != width) in drawData()
133 || (drawBitmap.getHeight() != height)) { in drawData()
136 drawBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_4444); in drawData()
137 mDrawBitmap = new WeakReference<>(drawBitmap); in drawData()
138 mBitmapCanvas = new Canvas(drawBitmap); in drawData()
143 drawBitmap.eraseColor(Color.TRANSPARENT); in drawData()
677 c.drawBitmap(mDrawBitmap.get(), 0, 0, null); in drawExtras()
1062 Bitmap drawBitmap = mDrawBitmap.get(); in releaseBitmap() local
[all …]
/external/skia/docs/examples/
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);
DImageInfo_MakeN32.cpp15 canvas->drawBitmap(bitmap, 0, 0);
DImageInfo_width.cpp9 canvas->drawBitmap(source, 0, 0);
DColorGetB.cpp8 canvas->drawBitmap(source, 0, 0);
DColorGetR.cpp8 canvas->drawBitmap(source, 0, 0);
DColorGetG.cpp8 canvas->drawBitmap(source, 0, 0);
DImageInfo_MakeN32Premul_2.cpp17 canvas->drawBitmap(bitmap, 0, 0);
DImageInfo_MakeN32Premul.cpp17 canvas->drawBitmap(bitmap, 0, 0);
DImageInfo_height.cpp9 canvas->drawBitmap(source, 0, 0);
DSurface_peekPixels.cpp18 canvas->drawBitmap(surfBits, 0, 0);
DPaint_setImageFilter.cpp20 canvas->drawBitmap(bitmap, 0, 0, &paint);
DMatrix_hasPerspective.cpp15 canvas->drawBitmap(source, 0, 0);
DAlpha_Type_Premul.cpp19 canvas->drawBitmap(bitmap, 0, 0);
/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/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java39 canvas.drawBitmap(imageBitmap, 1, 2, new Paint()); in shouldDescribeBitmapDrawing()
40 canvas.drawBitmap(imageBitmap, 100, 200, new Paint()); in shouldDescribeBitmapDrawing()
54 canvas.drawBitmap(imageBitmap, new Rect(1, 2, 3, 4), new Rect(5, 6, 7, 8), new Paint()); in shouldDescribeBitmapDrawing_withDestinationRect()
65 canvas.drawBitmap( in shouldDescribeBitmapDrawing_withDestinationRectF()
77 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix()
78 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in shouldDescribeBitmapDrawing_WithMatrix()
96 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription()
97 canvas.drawBitmap(imageBitmap, new Matrix(), new Paint()); in visualize_shouldReturnDescription()
/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()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCanvas.java126 protected void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap() method in ShadowCanvas
141 protected void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { in drawBitmap() method in ShadowCanvas
157 protected void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { in drawBitmap() method in ShadowCanvas
173 protected void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { in drawBitmap() method in ShadowCanvas
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyCanvas.java152 protected void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap() method in ShadowLegacyCanvas
167 shadowTargetBitmap.drawBitmap(bitmap, (int) left, (int) top); in drawBitmap()
172 protected void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { in drawBitmap() method in ShadowLegacyCanvas
195 protected void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { in drawBitmap() method in ShadowLegacyCanvas
218 protected void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { in drawBitmap() method in ShadowLegacyCanvas
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DClassifierActivity.java153 canvas.drawBitmap(rgbFrameBitmap, frameToCropTransform, null); in processImage()
195 canvas.drawBitmap(copy, matrix, new Paint()); in renderDebug()
/external/robolectric/integration_tests/ctesque/src/sharedTest/java/android/graphics/
DBitmapTest.java209 canvas.drawBitmap(bitmap, 0, 0, null); in drawCanvas_bitmap_sameSize()
219 canvas.drawBitmap(bitmap, 50, 50, null); in drawCanvas_bitmap_centered()
232 canvas.drawBitmap(bitmap, -50, -50, null); in drawCanvas_overflow_topLeft()
244 canvas.drawBitmap(bitmap, 50, -50, null); in drawCanvas_overflow_topRight()
256 canvas.drawBitmap(bitmap, -50, 50, null); in drawCanvas_overflow_bottomLeft()
268 canvas.drawBitmap(bitmap, 50, 50, null); in drawCanvas_overflow_bottomRight()

123