Home
last modified time | relevance | path

Searched refs:drawBitmap (Results 1 – 25 of 104) 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()
DColorFiltersMutateActivity.java159 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mColorMatrixPaint); in onDraw()
162 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mLightingPaint); in onDraw()
165 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBlendPaint); in onDraw()
170 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mColorMatrixPaint); in onDraw()
173 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mLightingPaint); in onDraw()
176 canvas.drawBitmap(mBitmap2, 0.0f, 0.0f, mBlendPaint); in onDraw()
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()
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()
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()
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/base/libs/hwui/tests/common/scenes/
DReadbackFromHardwareBitmap.cpp54 skCanvas.drawBitmap(readback, 0, 0); in createContent()
55 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()
/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.h48 virtual void drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) override;
49 virtual void drawBitmap(Bitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) override;
50 virtual void drawBitmap(Bitmap& bitmap, float srcLeft, float srcTop, float srcRight,
DSkiaRecordingCanvas.cpp188 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, float left, float top, const SkPaint* paint) { in drawBitmap() function in android::uirenderer::skiapipeline::SkiaRecordingCanvas
199 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, const SkMatrix& matrix, const SkPaint* paint) { in drawBitmap() function in android::uirenderer::skiapipeline::SkiaRecordingCanvas
210 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, float srcLeft, float srcTop, float srcRight, in drawBitmap() function in android::uirenderer::skiapipeline::SkiaRecordingCanvas
/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/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java203 canvas.drawBitmap(bitmap, destSrc, dest, null); in drawScaled()
247 canvas.drawBitmap(bitmap, leftSrc, left, paint); in drawScaled()
248 canvas.drawBitmap(bitmap, topSrc, top, paint); in drawScaled()
249 canvas.drawBitmap(bitmap, rightSrc, right, paint); in drawScaled()
250 canvas.drawBitmap(bitmap, bottomSrc, bottom, paint); in drawScaled()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1539 public void drawBitmap(@NonNull Bitmap bitmap, float left, float top, @Nullable Paint paint) { in drawBitmap() method in Canvas
1540 super.drawBitmap(bitmap, left, top, paint); in drawBitmap()
1562 public void drawBitmap(@NonNull Bitmap bitmap, @Nullable Rect src, @NonNull RectF dst, in drawBitmap() method in Canvas
1564 super.drawBitmap(bitmap, src, dst, paint); in drawBitmap()
1586 public void drawBitmap(@NonNull Bitmap bitmap, @Nullable Rect src, @NonNull Rect dst, in drawBitmap() method in Canvas
1588 super.drawBitmap(bitmap, src, dst, paint); in drawBitmap()
1613 public void drawBitmap(@NonNull int[] colors, int offset, int stride, float x, float y, in drawBitmap() method in Canvas
1615 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint); in drawBitmap()
1627 public void drawBitmap(@NonNull int[] colors, int offset, int stride, int x, int y, in drawBitmap() method in Canvas
1629 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint); in drawBitmap()
[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/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, mPaint); in CircleFramedDrawable()
103 canvas.drawBitmap(mBitmap, mSrcRect, mDstRect, null); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java92 canvas.drawBitmap(fadeIn, 0, 0, coloredPaint); in colorize()
99 canvas.drawBitmap(fadeIn, 0, 0, null); in colorize()

12345