Home
last modified time | relevance | path

Searched refs:outBitmap (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/apex/
Dandroid_canvas.cpp39 SkBitmap* outBitmap) { in convert() argument
52 if (outBitmap) { in convert()
53 outBitmap->setInfo(imageInfo, rowBytes); in convert()
54 outBitmap->setPixels(buffer->bits); in convert()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java312 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig); in scaleBitmapIfTooBig() local
313 Canvas canvas = new Canvas(outBitmap); in scaleBitmapIfTooBig()
318 new RectF(0, 0, outBitmap.getWidth(), outBitmap.getHeight()), paint); in scaleBitmapIfTooBig()
319 bitmap = outBitmap; in scaleBitmapIfTooBig()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp374 void Bitmap::getSkBitmap(SkBitmap* outBitmap) { in getSkBitmap() argument
377 outBitmap->allocPixels(mInfo); in getSkBitmap()
378 uirenderer::renderthread::RenderProxy::copyHWBitmapInto(this, outBitmap); in getSkBitmap()
382 outBitmap->setInfo(mInfo, rowBytes()); in getSkBitmap()
383 outBitmap->setPixelRef(sk_ref_sp(this), 0, 0); in getSkBitmap()
DBitmap.h106 void getSkBitmap(SkBitmap* outBitmap);
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h141 static sk_sp<Bitmap> createBitmap(int width, int height, SkBitmap* outBitmap) { in createBitmap() argument
143 outBitmap->setInfo(info); in createBitmap()
144 return Bitmap::allocateHeapBitmap(outBitmap); in createBitmap()
/frameworks/base/libs/hwui/jni/
DBitmap.cpp72 void getSkBitmap(SkBitmap* outBitmap) { in getSkBitmap() argument
74 mBitmap->getSkBitmap(outBitmap); in getSkBitmap()
218 void toSkBitmap(jlong bitmapHandle, SkBitmap* outBitmap) { in toSkBitmap() argument
220 bitmap->getSkBitmap(outBitmap); in toSkBitmap()
/frameworks/base/core/java/android/app/
DActivity.java2645 public boolean onCreateThumbnail(Bitmap outBitmap, Canvas canvas) { in onCreateThumbnail() argument