• Home
  • Raw
  • Download

Lines Matching refs:bitmapHolder

968     LocalScopedBitmap bitmapHolder(bitmapHandle);  in Bitmap_isSRGB()  local
969 if (!bitmapHolder.valid()) return JNI_TRUE; in Bitmap_isSRGB()
971 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGB()
976 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isSRGBLinear() local
977 if (!bitmapHolder.valid()) return JNI_FALSE; in Bitmap_isSRGBLinear()
979 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGBLinear()
985 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_computeColorSpace() local
986 if (!bitmapHolder.valid()) return nullptr; in Bitmap_computeColorSpace()
988 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_computeColorSpace()
991 return GraphicsJNI::getColorSpace(env, colorSpace, bitmapHolder->info().colorType()); in Bitmap_computeColorSpace()
995 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_setColorSpace() local
997 bitmapHolder->setColorSpace(cs); in Bitmap_setColorSpace()
1222 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isImmutable() local
1223 if (!bitmapHolder.valid()) return JNI_FALSE; in Bitmap_isImmutable()
1225 return bitmapHolder->bitmap().isImmutable() ? JNI_TRUE : JNI_FALSE; in Bitmap_isImmutable()
1229 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_isBackedByAshmem() local
1230 if (!bitmapHolder.valid()) return JNI_FALSE; in Bitmap_isBackedByAshmem()
1232 return bitmapHolder->bitmap().pixelStorageType() == PixelStorageType::Ashmem ? JNI_TRUE in Bitmap_isBackedByAshmem()
1237 LocalScopedBitmap bitmapHolder(bitmapHandle); in Bitmap_setImmutable() local
1238 if (!bitmapHolder.valid()) return; in Bitmap_setImmutable()
1240 return bitmapHolder->bitmap().setImmutable(); in Bitmap_setImmutable()