Searched refs:hwBitmap (Results 1 – 9 of 9) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppSnapshotLoader.java | 174 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()
|
H A D | AbsAppSnapshotController.java | 429 final Bitmap hwBitmap = ThreadedRenderer.createHardwareBitmap(node, width, height); in drawAppThemeSnapshot() local 430 if (hwBitmap == null) { in drawAppThemeSnapshot() 441 topActivity.mActivityComponent, hwBitmap.getHardwareBuffer(), in drawAppThemeSnapshot() 442 hwBitmap.getColorSpace(), mainWindow.getConfiguration().orientation, in drawAppThemeSnapshot()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | RotationAnimationUtilsTest.java | 99 Bitmap hwBitmap = swBitmap.copy(Bitmap.Config.HARDWARE, false); in swBitmapToHardwareBuffer() local 100 return hwBitmap.getHardwareBuffer(); in swBitmapToHardwareBuffer()
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | ImageDecoder.cpp | 479 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()
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | Readback.h | 47 CopyResult copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
|
H A D | Readback.cpp | 270 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument 271 LOG_ALWAYS_FATAL_IF(!hwBitmap->isHardware()); in copyHWBitmapInto() 274 return copyImageInto(hwBitmap->makeImage(), srcRect, bitmap); in copyHWBitmapInto()
|
/aosp14/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 455 int RenderProxy::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument 460 return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); in copyHWBitmapInto() 463 [&]() -> int { return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); }); in copyHWBitmapInto()
|
H A D | RenderProxy.h | 150 static int copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | ActivityOptions.java | 2230 final Bitmap hwBitmap = mThumbnail.copy(Config.HARDWARE, false /* isMutable */); in toBundle() local 2231 if (hwBitmap != null) { in toBundle() 2232 b.putParcelable(KEY_ANIM_THUMBNAIL, hwBitmap.getHardwareBuffer()); in toBundle()
|