Home
last modified time | relevance | path

Searched refs:bitmapCreateFlags (Results 1 – 6 of 6) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java57 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/
DBitmapRegionDecoder.cpp229 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()
DBitmap.h37 int bitmapCreateFlags, jbyteArray ninePatchChunk = NULL,
DImageDecoder.cpp455 int bitmapCreateFlags = 0x0; in ImageDecoder_nDecodeBitmap() local
460 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Premultiplied; in ImageDecoder_nDecodeBitmap()
464 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Mutable; in ImageDecoder_nDecodeBitmap()
470 return bitmap::createBitmap(env, hwBitmap.release(), bitmapCreateFlags, in ImageDecoder_nDecodeBitmap()
483 return bitmap::createBitmap(env, nativeBitmap.release(), bitmapCreateFlags, ninePatchChunk, in ImageDecoder_nDecodeBitmap()
DBitmapFactory.cpp498 int bitmapCreateFlags = 0x0; in doDecode() local
499 if (isMutable) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Mutable; in doDecode()
500 if (isPremultiplied) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in doDecode()
507 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags, in doDecode()
513 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1); in doDecode()
DBitmap.cpp196 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()