Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/jni/
H A DBitmapRegionDecoder.cpp258 android::Bitmap* recycledBitmap = nullptr; in nativeDecodeRegion() local
260 recycledBitmap = &bitmap::toBitmap(inBitmapHandle); in nativeDecodeRegion()
261 if (recycledBitmap->isImmutable()) { in nativeDecodeRegion()
282 RecyclingClippingPixelAllocator recycleAlloc(recycledBitmap); in nativeDecodeRegion()
287 decodeColorType = recycledBitmap->info().colorType(); in nativeDecodeRegion()
337 gainmapWidth = recycledBitmap->width(); in nativeDecodeRegion()
338 gainmapHeight = recycledBitmap->height(); in nativeDecodeRegion()
351 recycledBitmap->setGainmap(std::move(gainmap)); in nativeDecodeRegion()
353 bitmap::reinitBitmap(env, javaBitmap, recycledBitmap->info(), !requireUnpremul); in nativeDecodeRegion()
H A DGraphics.cpp623 RecyclingClippingPixelAllocator::RecyclingClippingPixelAllocator(android::Bitmap* recycledBitmap, in RecyclingClippingPixelAllocator() argument
625 : mRecycledBitmap(recycledBitmap) in RecyclingClippingPixelAllocator()
626 , mRecycledBytes(recycledBitmap ? recycledBitmap->getAllocationByteCount() : 0) in RecyclingClippingPixelAllocator()
H A DGraphicsJNI.h225 RecyclingClippingPixelAllocator(android::Bitmap* recycledBitmap,
/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java216 Bitmap recycledBitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testTaskDescriptionParceling() local
217 recycledBitmap.recycle(); in testTaskDescriptionParceling()
218 assertTrue(recycledBitmap.isRecycled()); in testTaskDescriptionParceling()
221 Icon.createWithBitmap(recycledBitmap), // icon in testTaskDescriptionParceling()