Searched refs:hwBitmap (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotLoader.java | 171 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()
|
D | TaskSnapshotController.java | 504 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/ |
D | Readback.cpp | 78 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()
|
D | Readback.h | 52 CopyResult copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | RotationAnimationUtilsTest.java | 150 Bitmap hwBitmap = swBitmap.copy(Bitmap.Config.HARDWARE, false); in swBitmapToGraphicsBuffer() local 151 return hwBitmap.createGraphicBufferHandle(); in swBitmapToGraphicsBuffer()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderProxy.cpp | 352 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()
|
D | RenderProxy.h | 148 static int copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap);
|
/frameworks/base/libs/hwui/jni/ |
D | ImageDecoder.cpp | 443 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/ |
D | ActivityOptions.java | 1616 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()
|