Searched refs:bitmapCreateFlags (Results 1 – 6 of 6) sorted by relevance
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 56 Set<BitmapCreateFlags> bitmapCreateFlags = EnumSet.of(BitmapCreateFlags.MUTABLE); in nativeDecodeStream() local 60 bitmapCreateFlags.add(BitmapCreateFlags.PREMULTIPLIED); in nativeDecodeStream() 75 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream() 92 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density); in nativeDecodeStream()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapRegionDecoder.cpp | 225 int bitmapCreateFlags = 0; in nativeDecodeRegion() local 227 bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in nativeDecodeRegion() 231 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags); in nativeDecodeRegion() 233 return android::bitmap::createBitmap(env, heapAlloc.getStorageObjAndReset(), bitmapCreateFlags); in nativeDecodeRegion()
|
D | BitmapFactory.cpp | 499 int bitmapCreateFlags = 0x0; in doDecode() local 500 if (isMutable) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Mutable; in doDecode() 501 if (isPremultiplied) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in doDecode() 508 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags, in doDecode() 514 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1); in doDecode()
|
D | ImageDecoder.cpp | 441 int bitmapCreateFlags = 0x0; in ImageDecoder_nDecodeBitmap() local 446 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Premultiplied; in ImageDecoder_nDecodeBitmap() 450 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Mutable; in ImageDecoder_nDecodeBitmap() 459 return bitmap::createBitmap(env, hwBitmap.release(), bitmapCreateFlags, in ImageDecoder_nDecodeBitmap() 472 return bitmap::createBitmap(env, nativeBitmap.release(), bitmapCreateFlags, ninePatchChunk, in ImageDecoder_nDecodeBitmap()
|
D | Bitmap.h | 37 int bitmapCreateFlags, jbyteArray ninePatchChunk = NULL,
|
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()
|