Searched refs:hwBitmap (Results 1 – 9 of 9) sorted by relevance
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskSnapshotLoader.java | 171 final Bitmap hwBitmap = bitmap.copy(Config.HARDWARE, false); in loadTask() local 173 if (hwBitmap == null) { in loadTask() 177 final HardwareBuffer buffer = hwBitmap.getHardwareBuffer(); 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()
|
H A D | TaskSnapshotController.java | 575 final Bitmap hwBitmap = ThreadedRenderer.createHardwareBitmap(node, width, height); 576 if (hwBitmap == null) { 587 topChild.mActivityComponent, hwBitmap.getHardwareBuffer(), 588 hwBitmap.getColorSpace(), mainWindow.getConfiguration().orientation,
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | RotationAnimationUtilsTest.java | 150 Bitmap hwBitmap = swBitmap.copy(Bitmap.Config.HARDWARE, false); in swBitmapToHardwareBuffer() local 151 return hwBitmap.getHardwareBuffer(); in swBitmapToHardwareBuffer()
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | ImageDecoder.cpp | 446 sk_sp<Bitmap> hwBitmap = Bitmap::allocateHardwareBitmap(bm); in ImageDecoder_nDecodeBitmap() local 447 if (hwBitmap) { in ImageDecoder_nDecodeBitmap() 448 hwBitmap->setImmutable(); in ImageDecoder_nDecodeBitmap() 449 return bitmap::createBitmap(env, hwBitmap.release(), bitmapCreateFlags, in ImageDecoder_nDecodeBitmap()
|
/aosp12/frameworks/base/libs/hwui/ |
H A D | Readback.cpp | 249 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument 250 LOG_ALWAYS_FATAL_IF(!hwBitmap->isHardware()); in copyHWBitmapInto() 257 return copyImageInto(hwBitmap->makeImage(), transform, srcRect, bitmap); in copyHWBitmapInto()
|
H A D | Readback.h | 52 CopyResult copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
|
/aosp12/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderProxy.cpp | 388 int RenderProxy::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument 393 return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); in copyHWBitmapInto() 396 [&]() -> int { return (int)thread.readback().copyHWBitmapInto(hwBitmap, bitmap); }); in copyHWBitmapInto()
|
H A D | RenderProxy.h | 138 static int copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | ActivityOptions.java | 1868 final Bitmap hwBitmap = mThumbnail.copy(Config.HARDWARE, false /* isMutable */); in toBundle() local 1869 if (hwBitmap != null) { in toBundle() 1870 b.putParcelable(KEY_ANIM_THUMBNAIL, hwBitmap.getHardwareBuffer()); in toBundle()
|