Home
last modified time | relevance | path

Searched refs:hwBitmap (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotLoader.java171 final Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in loadTask() local
173 if (hwBitmap == null) { in loadTask()
177 final GraphicBuffer buffer = hwBitmap.createGraphicBufferHandle(); in loadTask()
189 int taskWidth = (int) ((float) hwBitmap.getWidth() / legacyConfig.mScale); in loadTask()
190 int taskHeight = (int) ((float) hwBitmap.getHeight() / legacyConfig.mScale); in loadTask()
197 hwBitmap.getColorSpace(), proto.orientation, proto.rotation, taskSize, in loadTask()
DTaskSnapshotController.java504 final Bitmap hwBitmap = ThreadedRenderer.createHardwareBitmap(node, width, height);
505 if (hwBitmap == null) {
513 topChild.mActivityComponent, hwBitmap.createGraphicBufferHandle(),
514 hwBitmap.getColorSpace(), mainWindow.getConfiguration().orientation,
/frameworks/base/libs/hwui/
DReadback.cpp78 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument
79 LOG_ALWAYS_FATAL_IF(!hwBitmap->isHardware()); in copyHWBitmapInto()
86 return copyImageInto(hwBitmap->makeImage(), transform, srcRect, bitmap); in copyHWBitmapInto()
DReadback.h52 CopyResult copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DRotationAnimationUtilsTest.java150 Bitmap hwBitmap = swBitmap.copy(Bitmap.Config.HARDWARE, false); in swBitmapToGraphicsBuffer() local
151 return hwBitmap.createGraphicBufferHandle(); in swBitmapToGraphicsBuffer()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp352 int RenderProxy::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument
357 return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); in copyHWBitmapInto()
360 [&]() -> int { return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); }); in copyHWBitmapInto()
DRenderProxy.h148 static int copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
/frameworks/base/libs/hwui/jni/
DImageDecoder.cpp443 sk_sp<Bitmap> hwBitmap = Bitmap::allocateHardwareBitmap(bm); in ImageDecoder_nDecodeBitmap() local
444 if (hwBitmap) { in ImageDecoder_nDecodeBitmap()
445 hwBitmap->setImmutable(); in ImageDecoder_nDecodeBitmap()
446 return bitmap::createBitmap(env, hwBitmap.release(), bitmapCreateFlags, in ImageDecoder_nDecodeBitmap()
/frameworks/base/core/java/android/app/
DActivityOptions.java1616 final Bitmap hwBitmap = mThumbnail.copy(Config.HARDWARE, false /* isMutable */); in toBundle() local
1617 if (hwBitmap != null) { in toBundle()
1618 b.putParcelable(KEY_ANIM_THUMBNAIL, hwBitmap.createGraphicBufferHandle()); in toBundle()