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 | 104 Set<BitmapCreateFlags> bitmapCreateFlags = EnumSet.of(BitmapCreateFlags.MUTABLE); 108 bitmapCreateFlags.add(BitmapCreateFlags.PREMULTIPLIED); 122 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, 137 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 254 int bitmapCreateFlags = 0; local 255 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; 256 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1);
|
H A D | GraphicsJNI.h | 62 int bitmapCreateFlags, jbyteArray ninepatch, jintArray layoutbounds, int density = -1); 64 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags,
|
H A D | BitmapFactory.cpp | 464 int bitmapCreateFlags = 0x0; local 465 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable; 466 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; 470 bitmapCreateFlags, ninePatchChunk, layoutBounds, -1);
|
H A D | Graphics.cpp | 350 int bitmapCreateFlags, jbyteArray ninepatch, jintArray layoutbounds, int density) 354 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; 355 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; 365 jobject GraphicsJNI::createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags, argument 368 return createBitmap(env, bitmap, NULL, bitmapCreateFlags, ninepatch, NULL, density); 349 createBitmap(JNIEnv* env, SkBitmap* bitmap, jbyteArray buffer, int bitmapCreateFlags, jbyteArray ninepatch, jintArray layoutbounds, int density) argument
|
Completed in 105 milliseconds