Searched refs:bitmapCreateFlags (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java56 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 DGraphicsJNI.h75 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 DBitmapRegionDecoder.cpp255 int bitmapCreateFlags = 0; local
256 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
257 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1);
H A DBitmapFactory.cpp452 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 DGraphics.cpp421 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