Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmap.h37 int bitmapCreateFlags, jbyteArray ninePatchChunk = nullptr,
DBitmapRegionDecoder.cpp354 int bitmapCreateFlags = 0; in nativeDecodeRegion() local
356 bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in nativeDecodeRegion()
367 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags); in nativeDecodeRegion()
373 return android::bitmap::createBitmap(env, heapBitmap, bitmapCreateFlags); in nativeDecodeRegion()
DImageDecoder.cpp467 int bitmapCreateFlags = 0x0; in ImageDecoder_nDecodeBitmap() local
472 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Premultiplied; in ImageDecoder_nDecodeBitmap()
476 bitmapCreateFlags |= bitmap::kBitmapCreateFlag_Mutable; in ImageDecoder_nDecodeBitmap()
488 return bitmap::createBitmap(env, hwBitmap.release(), bitmapCreateFlags, in ImageDecoder_nDecodeBitmap()
501 return bitmap::createBitmap(env, nativeBitmap.release(), bitmapCreateFlags, ninePatchChunk, in ImageDecoder_nDecodeBitmap()
DBitmapFactory.cpp643 int bitmapCreateFlags = 0x0; in doDecode() local
644 if (isMutable) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Mutable; in doDecode()
645 if (isPremultiplied) bitmapCreateFlags |= android::bitmap::kBitmapCreateFlag_Premultiplied; in doDecode()
659 return bitmap::createBitmap(env, hardwareBitmap.release(), bitmapCreateFlags, in doDecode()
669 return bitmap::createBitmap(env, heapBitmap, bitmapCreateFlags, ninePatchChunk, ninePatchInsets, in doDecode()
DBitmap.cpp195 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, in createBitmap() argument
197 bool isMutable = bitmapCreateFlags & kBitmapCreateFlag_Mutable; in createBitmap()
198 bool isPremultiplied = bitmapCreateFlags & kBitmapCreateFlag_Premultiplied; in createBitmap()