Searched refs:heapBitmap (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ReadbackFromHardwareBitmap.cpp | 56 sk_sp<Bitmap> heapBitmap(TestUtils::createBitmap(hardwareBitmap->width(), in createContent() local 61 canvas.drawBitmap(*heapBitmap, 0, 0, nullptr); in createContent()
|
/frameworks/base/libs/hwui/jni/ |
D | BitmapRegionDecoder.cpp | 369 Bitmap* heapBitmap = heapAlloc.getStorageObjAndReset(); in nativeDecodeRegion() local 370 if (hasGainmap && heapBitmap != nullptr) { in nativeDecodeRegion() 371 heapBitmap->setGainmap(std::move(gainmap)); in nativeDecodeRegion() 373 return android::bitmap::createBitmap(env, heapBitmap, bitmapCreateFlags); in nativeDecodeRegion()
|
D | BitmapFactory.cpp | 663 Bitmap* heapBitmap = defaultAllocator.getStorageObjAndReset(); in doDecode() local 664 if (hasGainmap && heapBitmap != nullptr) { in doDecode() 665 heapBitmap->setGainmap(std::move(gainmap)); in doDecode() 669 return bitmap::createBitmap(env, heapBitmap, bitmapCreateFlags, ninePatchChunk, ninePatchInsets, in doDecode()
|
/frameworks/base/libs/hwui/tests/common/ |
D | BitmapAllocationTestUtils.h | 44 sk_sp<Bitmap> heapBitmap(Bitmap::allocateHeapBitmap(&skBitmap)); in allocateHardwareBitmap()
|