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.java56 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/
DBitmapRegionDecoder.cpp225 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()
DBitmapFactory.cpp499 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()
DImageDecoder.cpp441 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()
DBitmap.h37 int bitmapCreateFlags, jbyteArray ninePatchChunk = NULL,
DBitmap.cpp200 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()