Searched refs:bitmapCreateFlags (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapFactory_Delegate.java | 56 Set<BitmapCreateFlags> bitmapCreateFlags = EnumSet.of(BitmapCreateFlags.MUTABLE); 60 bitmapCreateFlags.add(BitmapCreateFlags.PREMULTIPLIED); 74 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, 91 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | GraphicsJNI.h | 75 bitmap's SkAlphaType must already be in sync with bitmapCreateFlags. 78 int bitmapCreateFlags, jbyteArray ninePatch, jobject ninePatchInsets, int density = -1); 80 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags, argument 82 return createBitmap(env, bitmap, NULL, bitmapCreateFlags, ninePatch, NULL, density);
|
H A D | BitmapRegionDecoder.cpp | 255 int bitmapCreateFlags = 0; local 256 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; 257 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1);
|
H A D | BitmapFactory.cpp | 452 int bitmapCreateFlags = 0x0; local 453 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable; 454 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; 458 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1);
|
H A D | Graphics.cpp | 421 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, int density) 426 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; 427 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; 420 createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer, int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, int density) argument
|
Completed in 54 milliseconds