Searched refs:bitmapCreateFlags (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tools/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() 74 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream() 91 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density); in nativeDecodeStream()
|
/frameworks/base/core/jni/android/graphics/ |
D | GraphicsJNI.h | 78 int bitmapCreateFlags, jbyteArray ninePatch, jobject ninePatchInsets, int density = -1); 80 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags, 82 return createBitmap(env, bitmap, NULL, bitmapCreateFlags, ninePatch, NULL, density);
|
D | BitmapRegionDecoder.cpp | 255 int bitmapCreateFlags = 0; in nativeDecodeRegion() local 256 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; in nativeDecodeRegion() 257 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1); in nativeDecodeRegion()
|
D | BitmapFactory.cpp | 452 int bitmapCreateFlags = 0x0; in doDecode() local 453 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable; in doDecode() 454 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; in doDecode() 458 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1); in doDecode()
|
D | Graphics.cpp | 421 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, int density) in createBitmap() argument 426 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; in createBitmap() 427 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; in createBitmap()
|