Home
last modified time | relevance | path

Searched refs:heapBitmap (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/tests/common/scenes/
DReadbackFromHardwareBitmap.cpp56 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/
DBitmapRegionDecoder.cpp369 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()
DBitmapFactory.cpp663 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/
DBitmapAllocationTestUtils.h44 sk_sp<Bitmap> heapBitmap(Bitmap::allocateHeapBitmap(&skBitmap)); in allocateHardwareBitmap()