Home
last modified time | relevance | path

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

12345

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DColorFiltersActivity.java76 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mColorMatrixPaint); in onDraw()
79 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mLightingPaint); in onDraw()
82 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBlendPaint); in onDraw()
87 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mColorMatrixPaint); in onDraw()
90 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mLightingPaint); in onDraw()
93 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mBlendPaint); in onDraw()
DTransform3dActivity.java64 drawBitmap(canvas, centerX, centerY, 0.0f, matrix); in onDraw()
67 drawBitmap(canvas, centerX, centerY, -mBitmap1.getWidth(), matrix); in onDraw()
70 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth(), matrix); in onDraw()
73 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth() * 2.0f, matrix); in onDraw()
77 private void drawBitmap(Canvas canvas, float centerX, float centerY, float offset, in drawBitmap() method in Transform3dActivity.Transform3dView
82 canvas.drawBitmap(mBitmap1, centerX, centerY, null); in drawBitmap()
DAlpha8BitmapActivity.java53 canvas.drawBitmap(texture, 0.0f, 0.0f, null); in BitmapsView()
79 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
84 canvas.drawBitmap(mBitmap1, matrix, mBitmapPaint); in onDraw()
89 canvas.drawBitmap(mBitmap1, src, dst, mBitmapPaint); in onDraw()
DAssetsAtlasActivity.java59 canvas.drawBitmap(mBitmap, 0.0f, 0.0f, null); in onDraw()
61 canvas.drawBitmap(mBitmap, matrix, null); in onDraw()
63 canvas.drawBitmap(mBitmap, src, dst, null); in onDraw()
DColorFiltersMutateActivity.java198 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mColorMatrixPaint); in onDraw()
201 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mLightingPaint); in onDraw()
204 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBlendPaint); in onDraw()
213 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mColorMatrixPaint); in onDraw()
216 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mLightingPaint); in onDraw()
219 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mBlendPaint); in onDraw()
DBitmapsActivity.java83 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
87 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, null); in onDraw()
92 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
100 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mBitmapPaint); in onDraw()
DBitmapsAlphaActivity.java71 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
75 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, null); in onDraw()
79 canvas.drawBitmap(mBitmap3, 0.0f, 0.0f, null); in onDraw()
DQuickRejectActivity.java83 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
84 canvas.drawBitmap(mBitmap1, -mBitmap1.getWidth(), 0.0f, mBitmapPaint); in onDraw()
85 canvas.drawBitmap(mBitmap1, 50.0f, 0.0f, mBitmapPaint); in onDraw()
DMipMapActivity.java67 canvas.drawBitmap(mBitmap1, 0, 0, mBitmapPaint); in onDraw()
73 canvas.drawBitmap(mBitmap2, 0, 0, mBitmapPaint); in onDraw()
DBitmapsRectActivity.java70 canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect, mBitmapPaint); in onDraw()
74 canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect2, mBitmapPaint); in onDraw()
DBitmapMutateActivity.java103 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
107 canvas.drawBitmap(mPixels, 0, width, 0.0f, 0.0f, width, height, false, mBitmapPaint); in onDraw()
DFramebufferBlendActivity.java90 canvas.drawBitmap(mTexture, 0.0f, 0.0f, mPaint); in drawBlendedBitmap()
106 canvas.drawBitmap(mTexture, 0.0f, 0.0f, mPaint); in drawBlendedBitmapInverse()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java217 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { in drawBitmap() method in NopCanvas
221 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) { in drawBitmap() method in NopCanvas
225 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) { in drawBitmap() method in NopCanvas
229 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, in drawBitmap() method in NopCanvas
234 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, in drawBitmap() method in NopCanvas
239 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { in drawBitmap() method in NopCanvas
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DHealing.java104 undoCanvas.drawBitmap(output, mRoiBounds, undoRect, null); in heal()
107 c.drawBitmap(image, 0, 0, null); in heal()
108 c.drawBitmap(dest_bitmap, mRoiBounds.left, mRoiBounds.top, null); in heal()
181 undoCanvas.drawBitmap(output, mRoiBounds, undoRect, null); in heal_orig()
184 c.drawBitmap(image, 0, 0, null); in heal_orig()
185 c.drawBitmap(destBitmap, mRoiBounds.left, mRoiBounds.top, null); in heal_orig()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.h53 virtual void drawBitmap(Bitmap& bitmap, float left, float top, const Paint* paint) override;
54 virtual void drawBitmap(Bitmap& bitmap, const SkMatrix& matrix, const Paint* paint) override;
55 virtual void drawBitmap(Bitmap& bitmap, float srcLeft, float srcTop, float srcRight,
/frameworks/base/libs/hwui/tests/unit/
DSkiaCanvasTests.cpp63 canvas.drawBitmap(*adobeBitmap, 0, 0, nullptr); in TEST()
69 adobeSkCanvas.drawBitmap(*bitmap, 0, 0, nullptr); in TEST()
77 picCanvas.drawBitmap(*adobeBitmap, 0, 0, nullptr); in TEST()
/frameworks/base/libs/hwui/tests/common/scenes/
DReadbackFromHardwareBitmap.cpp55 canvas.drawBitmap(*heapBitmap, 0, 0, nullptr); in createContent()
57 canvas.drawBitmap(*hardwareBitmap, 0, 500, nullptr); in createContent()
DListViewAnimation.cpp99 canvas.drawBitmap(*randomIcon, dp(10), dp(10), nullptr); in createListItem()
102 canvas.drawBitmap(*box, itemWidth - dp(10) - box->width(), dp(10), nullptr); in createListItem()
DTvApp.cpp102 canvas.drawBitmap(*bitmap, 0, 0, nullptr); in createBitmapNode()
110 canvas.drawBitmap(*bitmap, 0, 0, nullptr); in createSharedBitmapNode()
225 canvas->drawBitmap(*bitmap, 0, 0, &paint); in updateCard()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DShadowGenerator.java73 out.drawBitmap(shadow, offset[0], offset[1], mDrawPaint); in recreateIcon()
77 out.drawBitmap(shadow, offset[0], offset[1] + KEY_SHADOW_DISTANCE * mIconSize, in recreateIcon()
83 out.drawBitmap(icon, 0, 0, mDrawPaint); in recreateIcon()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1556 public void drawBitmap(@NonNull Bitmap bitmap, float left, float top, @Nullable Paint paint) {
1557 super.drawBitmap(bitmap, left, top, paint);
1579 public void drawBitmap(@NonNull Bitmap bitmap, @Nullable Rect src, @NonNull RectF dst,
1581 super.drawBitmap(bitmap, src, dst, paint);
1603 public void drawBitmap(@NonNull Bitmap bitmap, @Nullable Rect src, @NonNull Rect dst,
1605 super.drawBitmap(bitmap, src, dst, paint);
1630 public void drawBitmap(@NonNull int[] colors, int offset, int stride, float x, float y,
1632 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
1644 public void drawBitmap(@NonNull int[] colors, int offset, int stride, int x, int y,
1646 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt115 c.drawBitmap(bitmap!!, 0f, 0f, pt) in run()
271 canvas.drawBitmap(bitmap!!, 0f, 0f, _drawPaint) in onDraw()
343 c.drawBitmap(oldBits, 0f, 0f, _drawPaint) in setupBitmaps()
358 _paintCanvas?.drawBitmap(bitmap!!, 0f, 0f, invertPaint) in invertContents()
/frameworks/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java214 canvas.drawBitmap(bitmap, destSrc, dest, null); in drawScaled()
264 canvas.drawBitmap(bitmap, leftSrc, left, paint); in drawScaled()
265 canvas.drawBitmap(bitmap, topSrc, top, paint); in drawScaled()
266 canvas.drawBitmap(bitmap, rightSrc, right, paint); in drawScaled()
267 canvas.drawBitmap(bitmap, bottomSrc, bottom, paint); in drawScaled()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DHealing.java137 undoCanvas.drawBitmap(output, mRoiBounds, undoRect, null); in heal()
140 c.drawBitmap(image, 0, 0, null); in heal()
141 c.drawBitmap(destBitmap, mRoiBounds.left, mRoiBounds.top, null); in heal()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
DCircleFramedDrawable.java86 canvas.drawBitmap(icon, cropRect, circleRect, paint); in CircleFramedDrawable()
103 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, mIconPaint); in draw()

12345