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 | 455 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()
|
| D | BitmapFactory.cpp | 660 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/ |
| D | BitmapAllocationTestUtils.h | 44 sk_sp<Bitmap> heapBitmap(Bitmap::allocateHeapBitmap(&skBitmap)); in allocateHardwareBitmap()
|