Lines Matching refs:nativeBitmap
343 sk_sp<Bitmap> nativeBitmap; in ImageDecoder_nDecodeBitmap() local
345 nativeBitmap = Bitmap::allocateAshmemBitmap(&bm); in ImageDecoder_nDecodeBitmap()
347 nativeBitmap = Bitmap::allocateHeapBitmap(&bm); in ImageDecoder_nDecodeBitmap()
349 if (!nativeBitmap) { in ImageDecoder_nDecodeBitmap()
368 result = decoder->extractGainmap(nativeBitmap.get(), in ImageDecoder_nDecodeBitmap()
464 nativeBitmap->setAlphaType(newAlphaType); in ImageDecoder_nDecodeBitmap()
483 if (nativeBitmap->hasGainmap()) { in ImageDecoder_nDecodeBitmap()
484 auto gm = uirenderer::Gainmap::allocateHardwareGainmap(nativeBitmap->gainmap()); in ImageDecoder_nDecodeBitmap()
501 nativeBitmap->setImmutable(); in ImageDecoder_nDecodeBitmap()
504 uirenderer::logBitmapDecode(*nativeBitmap); in ImageDecoder_nDecodeBitmap()
505 return bitmap::createBitmap(env, nativeBitmap.release(), bitmapCreateFlags, ninePatchChunk, in ImageDecoder_nDecodeBitmap()