Searched refs:bitmapCreateFlags (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 56 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/ |
D | BitmapRegionDecoder.cpp | 200 int bitmapCreateFlags = 0; in nativeDecodeRegion() local 202 bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied; in nativeDecodeRegion() 204 return GraphicsJNI::createBitmap(env, javaAlloc.getStorageObjAndReset(), bitmapCreateFlags); in nativeDecodeRegion()
|
D | BitmapFactory.cpp | 534 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()
|
D | Graphics.cpp | 410 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()
|
D | GraphicsJNI.h | 82 int bitmapCreateFlags, jbyteArray ninePatchChunk = NULL,
|