Home
last modified time | relevance | path

Searched refs:drawImage (Results 1 – 13 of 13) sorted by relevance

/frameworks/layoutlib/bridge/src/android/view/
DShadowPainter.java88 g2.drawImage(image, shadowSize, shadowSize, null); in createDropShadow()
170 g2.drawImage(source, null, 0, 0); in createDropShadow()
196 g.drawImage(source, 0, 0, null); in createRectangularDropShadow()
225 g.drawImage(source, 0, 0, null); in createSmallRectangularDropShadow()
311 gc.drawImage(ShadowBottomLeft, x - ShadowBottomLeft.getWidth(null), y + height, null); in drawRectangleShadow()
312 gc.drawImage(ShadowBottomRight, x + width, y + height, null); in drawRectangleShadow()
313 gc.drawImage(ShadowTopRight, x + width, y, null); in drawRectangleShadow()
314 gc.drawImage(ShadowTopLeft, x - ShadowTopLeft.getWidth(null), y, null); in drawRectangleShadow()
315 gc.drawImage(ShadowBottom, in drawRectangleShadow()
318 gc.drawImage(ShadowRight, in drawRectangleShadow()
[all …]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java92 temp.getGraphics().drawImage(goldenImage, 0, 0, null); in assertImageSimilar()
169 g.drawImage(goldenImage, 0, 0, null); in assertImageSimilar()
170 g.drawImage(image, 2 * imageWidth, 0, null); in assertImageSimilar()
221 g2.drawImage(source, 0, 0, null); in scale()
224 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, in scale()
268 g2.drawImage(source, 0, 0, nearestWidth, nearestHeight, 0, 0, sourceWidth, sourceHeight, in scale()
282 g2.drawImage(source, 0, 0, halfWidth, halfHeight, 0, 0, sourceWidth, sourceHeight, in scale()
/frameworks/layoutlib/bridge/src/android/util/imagepool/
DImageImpl.java81 public void drawImage(Graphics2D graphics, int x, int y, @Nullable ImageObserver o) { in drawImage() method in ImageImpl
85 graphics.drawImage(mImg, x, y, mWidth, mHeight, o); in drawImage()
DImagePool.java64 void drawImage(Graphics2D graphics, int x, int y, ImageObserver o); in drawImage() method
/frameworks/base/libs/hwui/
DRecordingCanvas.h107 void drawImage(sk_sp<const SkImage>, SkScalar, SkScalar, const SkPaint*, BitmapPalette palette);
183 void drawImage(const sk_sp<SkImage>& image, SkScalar left, SkScalar top, const SkPaint* paint,
DRecordingCanvas.cpp313 void draw(SkCanvas* c, const SkMatrix&) const { c->drawImage(image.get(), x, y, &paint); } in draw()
613 void DisplayListData::drawImage(sk_sp<const SkImage> image, SkScalar x, SkScalar y, in drawImage() function in android::uirenderer::DisplayListData
891 fDL->drawImage(SkImage::MakeFromBitmap(bm), x, y, paint, BitmapPalette::Unknown); in onDrawBitmap()
907 void RecordingCanvas::drawImage(const sk_sp<SkImage>& image, SkScalar x, SkScalar y, in drawImage() function in android::uirenderer::RecordingCanvas
909 fDL->drawImage(image, x, y, paint, palette); in drawImage()
942 fDL->drawImage(sk_ref_sp(img), x, y, paint, BitmapPalette::Unknown); in onDrawImage()
DSkiaCanvas.cpp549 mCanvas->drawImage(bitmap.makeImage(), left, top, filterPaint(paint)); in drawBitmap()
555 mCanvas->drawImage(bitmap.makeImage(), 0, 0, filterPaint(paint)); in drawBitmap()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java335 graphics.drawImage(layer.getImage(), in GcSnapshot()
662 configuredGraphics.drawImage(image, 0, 0, null); in drawInLayer()
740 g.drawImage(originalCopy, in restoreLayer()
752 g.drawImage(mLocalLayer.getImage(), in restoreLayer()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp190 mRecorder.drawImage(image, left, top, filterBitmap(paint), bitmap.palette()); in drawBitmap()
204 mRecorder.drawImage(image, 0, 0, filterBitmap(paint), bitmap.palette()); in drawBitmap()
DLayerDrawable.cpp151 canvas->drawImage(layerImage.get(), 0, 0, &paint); in DrawLayer()
DVkInteropFunctorDrawable.cpp185 canvas->drawImage(functorImage, 0, 0, &paint); in onDraw()
DSkiaPipeline.cpp504 surface->getCanvas()->drawImage(counts.get(), 0.0f, 0.0f, &paint); in renderOverdraw()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java130 image.drawImage(graphics, (int) x, (int) y, null); in nDrawBitmap()
506 graphics.drawImage(image, mtx, null); in nDrawBitmapMatrix()
680 graphics.drawImage(image, dleft, dtop, dright, dbottom, sleft, stop, sright, in drawBitmap()