Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DAppSnapshotLoader.java174 final Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in loadTask() local
176 if (hwBitmap == null) { in loadTask()
180 final HardwareBuffer buffer = hwBitmap.getHardwareBuffer(); in loadTask()
192 int taskWidth = (int) ((float) hwBitmap.getWidth() / legacyConfig.mScale); in loadTask()
193 int taskHeight = (int) ((float) hwBitmap.getHeight() / legacyConfig.mScale); in loadTask()
200 topActivityComponent, buffer, hwBitmap.getColorSpace(), in loadTask()
DAbsAppSnapshotController.java442 final Bitmap hwBitmap = ThreadedRenderer.createHardwareBitmap(node, width, height); in drawAppThemeSnapshot() local
443 if (hwBitmap == null) { in drawAppThemeSnapshot()
454 topActivity.mActivityComponent, hwBitmap.getHardwareBuffer(), in drawAppThemeSnapshot()
455 hwBitmap.getColorSpace(), mainWindow.getConfiguration().orientation, in drawAppThemeSnapshot()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DRotationAnimationUtilsTest.java99 Bitmap hwBitmap = swBitmap.copy(Bitmap.Config.HARDWARE, false); in swBitmapToHardwareBuffer() local
100 return hwBitmap.getHardwareBuffer(); in swBitmapToHardwareBuffer()
/frameworks/base/libs/hwui/platform/host/
DReadback.cpp27 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument
/frameworks/base/libs/hwui/jni/
DImageDecoder.cpp479 sk_sp<Bitmap> hwBitmap = Bitmap::allocateHardwareBitmap(bm); in ImageDecoder_nDecodeBitmap() local
480 if (hwBitmap) { in ImageDecoder_nDecodeBitmap()
481 hwBitmap->setImmutable(); in ImageDecoder_nDecodeBitmap()
485 hwBitmap->setGainmap(std::move(gm)); in ImageDecoder_nDecodeBitmap()
488 return bitmap::createBitmap(env, hwBitmap.release(), bitmapCreateFlags, in ImageDecoder_nDecodeBitmap()
/frameworks/base/libs/hwui/
DReadback.h47 CopyResult copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
DReadback.cpp273 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument
274 LOG_ALWAYS_FATAL_IF(!hwBitmap->isHardware()); in copyHWBitmapInto()
277 return copyImageInto(hwBitmap->makeImage(), srcRect, bitmap); in copyHWBitmapInto()
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp475 int RenderProxy::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument
480 return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); in copyHWBitmapInto()
483 [&]() -> int { return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); }); in copyHWBitmapInto()
DRenderProxy.h151 static int copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
/frameworks/base/core/java/android/app/
DActivityOptions.java2349 final Bitmap hwBitmap = mThumbnail.copy(Config.HARDWARE, false /* isMutable */); in toBundle() local
2350 if (hwBitmap != null) { in toBundle()
2351 b.putParcelable(KEY_ANIM_THUMBNAIL, hwBitmap.getHardwareBuffer()); in toBundle()