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.cpp455 Bitmap* heapBitmap = heapAlloc.getStorageObjAndReset(); in nativeDecodeRegion() local
456 if (hasGainmap && heapBitmap != nullptr) { in nativeDecodeRegion()
457 heapBitmap->setGainmap(std::move(gainmap)); in nativeDecodeRegion()
459 uirenderer::logBitmapDecode(*heapBitmap); in nativeDecodeRegion()
460 return android::bitmap::createBitmap(env, heapBitmap, bitmapCreateFlags); in nativeDecodeRegion()
DBitmapFactory.cpp660 Bitmap* heapBitmap = defaultAllocator.getStorageObjAndReset(); in doDecode() local
661 if (hasGainmap && heapBitmap != nullptr) { in doDecode()
662 heapBitmap->setGainmap(std::move(gainmap)); in doDecode()
665 uirenderer::logBitmapDecode(*heapBitmap); in doDecode()
667 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()