Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmap.cpp904 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isSRGB() local
905 if (!bitmapHolder.valid()) return JNI_TRUE; in Bitmap_isSRGB()
907 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGB()
912 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isSRGBLinear() local
913 if (!bitmapHolder.valid()) return JNI_FALSE; in Bitmap_isSRGBLinear()
915 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGBLinear()
921 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_computeColorSpace() local
922 if (!bitmapHolder.valid()) return nullptr; in Bitmap_computeColorSpace()
924 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_computeColorSpace()
927 return GraphicsJNI::getColorSpace(env, colorSpace, bitmapHolder->info().colorType()); in Bitmap_computeColorSpace()
[all …]