Searched refs:hwBitmap (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
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()
|
D | AbsAppSnapshotController.java | 442 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/ |
D | RotationAnimationUtilsTest.java | 99 Bitmap hwBitmap = swBitmap.copy(Bitmap.Config.HARDWARE, false); in swBitmapToHardwareBuffer() local 100 return hwBitmap.getHardwareBuffer(); in swBitmapToHardwareBuffer()
|
/frameworks/base/libs/hwui/platform/host/ |
D | Readback.cpp | 27 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() argument
|
/frameworks/base/libs/hwui/jni/ |
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()
|
/frameworks/base/libs/hwui/ |
D | Readback.h | 47 CopyResult copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
|
D | Readback.cpp | 273 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/ |
D | RenderProxy.cpp | 475 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()
|
D | RenderProxy.h | 151 static int copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
|
/frameworks/base/core/java/android/app/ |
D | ActivityOptions.java | 2349 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()
|