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() 76 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream() 93 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density); in nativeDecodeStream()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapRegionDecoder.cpp | 229 int bitmapCreateFlags = 0; in nativeDecodeRegion() local 231 bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in nativeDecodeRegion() 235 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags); in nativeDecodeRegion() 237 return android::bitmap::createBitmap(env, heapAlloc.getStorageObjAndReset(), bitmapCreateFlags); in nativeDecodeRegion()
|
D | BitmapFactory.cpp | 500 int bitmapCreateFlags = 0x0; in doDecode() local 501 if (isMutable) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Mutable; in doDecode() 502 if (isPremultiplied) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in doDecode() 509 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags, in doDecode() 515 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1); in doDecode()
|
D | ImageDecoder.cpp | 457 int bitmapCreateFlags = 0x0; in ImageDecoder_nDecodeBitmap() local 462 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Premultiplied; in ImageDecoder_nDecodeBitmap() 466 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Mutable; in ImageDecoder_nDecodeBitmap() 472 return bitmap::createBitmap(env, hwBitmap.release(), bitmapCreateFlags, in ImageDecoder_nDecodeBitmap() 485 return bitmap::createBitmap(env, nativeBitmap.release(), bitmapCreateFlags, ninePatchChunk, in ImageDecoder_nDecodeBitmap()
|
D | Bitmap.h | 37 int bitmapCreateFlags, jbyteArray ninePatchChunk = NULL,
|
D | Bitmap.cpp | 196 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, in createBitmap() argument 198 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; in createBitmap() 199 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; in createBitmap()
|