Lines Matching refs:bitmapHolder
837 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isSRGB() local
838 if (!bitmapHolder.valid()) return JNI_TRUE; in Bitmap_isSRGB()
840 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGB()
845 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isSRGBLinear() local
846 if (!bitmapHolder.valid()) return JNI_FALSE; in Bitmap_isSRGBLinear()
848 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGBLinear()
854 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_computeColorSpace() local
855 if (!bitmapHolder.valid()) return nullptr; in Bitmap_computeColorSpace()
857 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_computeColorSpace()
860 return GraphicsJNI::getColorSpace(env, colorSpace, bitmapHolder->info().colorType()); in Bitmap_computeColorSpace()
864 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_setColorSpace() local
866 bitmapHolder->setColorSpace(cs); in Bitmap_setColorSpace()
1088 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isImmutable() local
1089 if (!bitmapHolder.valid()) return JNI_FALSE; in Bitmap_isImmutable()
1091 return bitmapHolder->bitmap().isImmutable() ? JNI_TRUE : JNI_FALSE; in Bitmap_isImmutable()
1095 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_setImmutable() local
1096 if (!bitmapHolder.valid()) return; in Bitmap_setImmutable()
1098 return bitmapHolder->bitmap().setImmutable(); in Bitmap_setImmutable()