Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java56 Set<BitmapCreateFlags> bitmapCreateFlags = EnumSet.of(BitmapCreateFlags.MUTABLE); in nativeDecodeStream() local
60 bitmapCreateFlags.add(BitmapCreateFlags.PREMULTIPLIED); in nativeDecodeStream()
74 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream()
91 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density); in nativeDecodeStream()
/frameworks/base/core/jni/android/graphics/
DBitmapRegionDecoder.cpp244 int bitmapCreateFlags = 0; in nativeDecodeRegion() local
245 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; in nativeDecodeRegion()
247 bitmapCreateFlags); in nativeDecodeRegion()
DBitmapFactory.cpp437 int bitmapCreateFlags = 0x0; in doDecode() local
438 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable; in doDecode()
439 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; in doDecode()
443 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1); in doDecode()
DGraphics.cpp410 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, in createBitmap() argument
412 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; in createBitmap()
413 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; in createBitmap()
DGraphicsJNI.h80 int bitmapCreateFlags, jbyteArray ninePatchChunk = NULL,