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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java55 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 DBitmapRegionDecoder.cpp253 int bitmapCreateFlags = 0; local
254 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
255 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1);
H A DGraphicsJNI.h60 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 DBitmapFactory.cpp481 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 DGraphics.cpp362 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