Searched refs:bitmapCreateFlags (Results 1 – 6 of 6) sorted by relevance
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 57 Set<BitmapCreateFlags> bitmapCreateFlags = EnumSet.of(BitmapCreateFlags.MUTABLE); in nativeDecodeStream() local 61 bitmapCreateFlags.add(BitmapCreateFlags.PREMULTIPLIED); in nativeDecodeStream() 78 NinePatch_Delegate.serialize(chunk), bitmapCreateFlags, density); in nativeDecodeStream() 90 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density); in nativeDecodeStream()
|
/frameworks/base/libs/hwui/jni/ |
D | BitmapRegionDecoder.cpp | 198 int bitmapCreateFlags = 0; in nativeDecodeRegion() local 200 bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in nativeDecodeRegion() 204 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags); in nativeDecodeRegion() 206 return android::bitmap::createBitmap(env, heapAlloc.getStorageObjAndReset(), bitmapCreateFlags); in nativeDecodeRegion()
|
D | Bitmap.h | 38 int bitmapCreateFlags, jbyteArray ninePatchChunk = nullptr,
|
D | ImageDecoder.cpp | 434 int bitmapCreateFlags = 0x0; in ImageDecoder_nDecodeBitmap() local 439 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Premultiplied; in ImageDecoder_nDecodeBitmap() 443 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Mutable; in ImageDecoder_nDecodeBitmap() 449 return bitmap::createBitmap(env, hwBitmap.release(), bitmapCreateFlags, in ImageDecoder_nDecodeBitmap() 462 return bitmap::createBitmap(env, nativeBitmap.release(), bitmapCreateFlags, ninePatchChunk, in ImageDecoder_nDecodeBitmap()
|
D | BitmapFactory.cpp | 492 int bitmapCreateFlags = 0x0; in doDecode() local 493 if (isMutable) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Mutable; in doDecode() 494 if (isPremultiplied) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in doDecode() 501 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags, in doDecode() 507 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1); in doDecode()
|
D | Bitmap.cpp | 200 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, in createBitmap() argument 202 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; in createBitmap() 203 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; in createBitmap()
|