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 | 55 Set<BitmapCreateFlags> bitmapCreateFlags = EnumSet.of(BitmapCreateFlags.MUTABLE); 59 bitmapCreateFlags.add(BitmapCreateFlags.PREMULTIPLIED); 73 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, 88 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 253 int bitmapCreateFlags = 0; local 254 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; 255 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1);
|
H A D | GraphicsJNI.h | 60 bitmap's SkAlphaType must already be in sync with bitmapCreateFlags. 63 int bitmapCreateFlags, jbyteArray ninepatch, jintArray layoutbounds, int density = -1); 65 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags,
|
H A D | BitmapFactory.cpp | 481 int bitmapCreateFlags = 0x0; local 482 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable; 483 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; 487 bitmapCreateFlags, ninePatchChunk, layoutBounds, -1);
|
H A D | Graphics.cpp | 362 int bitmapCreateFlags, jbyteArray ninepatch, jintArray layoutbounds, int density) 366 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; 367 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; 381 jobject GraphicsJNI::createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags, argument 384 return createBitmap(env, bitmap, NULL, bitmapCreateFlags, ninepatch, NULL, density); 361 createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer, int bitmapCreateFlags, jbyteArray ninepatch, jintArray layoutbounds, int density) argument
|
Completed in 91 milliseconds