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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java104 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 DBitmapRegionDecoder.cpp254 int bitmapCreateFlags = 0; local
255 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
256 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1);
H A DGraphicsJNI.h62 int bitmapCreateFlags, jbyteArray ninepatch, jintArray layoutbounds, int density = -1);
64 static jobject createBitmap(JNIEnv* env, SkBitmap* bitmap, int bitmapCreateFlags,
H A DBitmapFactory.cpp464 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 DGraphics.cpp350 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