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()
75 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream()
92 bm = Bitmap_Delegate.createBitmap(is, bitmapCreateFlags, density); in nativeDecodeStream()
/frameworks/base/core/jni/android/graphics/
DBitmapRegionDecoder.cpp200 int bitmapCreateFlags = 0; in nativeDecodeRegion() local
202 bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; in nativeDecodeRegion()
204 return GraphicsJNI::createBitmap(env, javaAlloc.getStorageObjAndReset(), bitmapCreateFlags); in nativeDecodeRegion()
DBitmapFactory.cpp534 int bitmapCreateFlags = 0x0; in doDecode() local
535 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable; in doDecode()
536 if (isPremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; in doDecode()
540 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.h82 int bitmapCreateFlags, jbyteArray ninePatchChunk = NULL,