Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/hwui/jni/
H A DBitmapRegionDecoder.cpp128 android::Bitmap* recycledBitmap = nullptr; in nativeDecodeRegion() local
131 recycledBitmap = &bitmap::toBitmap(inBitmapHandle); in nativeDecodeRegion()
132 if (recycledBitmap->isImmutable()) { in nativeDecodeRegion()
135 recycledBytes = recycledBitmap->getAllocationByteCount(); in nativeDecodeRegion()
147 RecyclingClippingPixelAllocator recycleAlloc(recycledBitmap, recycledBytes); in nativeDecodeRegion()
152 decodeColorType = recycledBitmap->info().colorType(); in nativeDecodeRegion()
194 bitmap::reinitBitmap(env, javaBitmap, recycledBitmap->info(), !requireUnpremul); in nativeDecodeRegion()
H A DGraphicsJNI.h222 RecyclingClippingPixelAllocator(android::Bitmap* recycledBitmap,
H A DGraphics.cpp620 android::Bitmap* recycledBitmap, size_t recycledBytes) in RecyclingClippingPixelAllocator() argument
621 : mRecycledBitmap(recycledBitmap) in RecyclingClippingPixelAllocator()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java212 Bitmap recycledBitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testTaskDescriptionParceling() local
213 recycledBitmap.recycle(); in testTaskDescriptionParceling()
214 assertTrue(recycledBitmap.isRecycled()); in testTaskDescriptionParceling()
217 Icon.createWithBitmap(recycledBitmap), // icon in testTaskDescriptionParceling()