Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmapFactory.cpp501 SkBitmap decodingBitmap; in doDecode() local
502 if (!decodingBitmap.setInfo(bitmapInfo) || in doDecode()
503 !decodingBitmap.tryAllocPixels(decodeAllocator)) { in doDecode()
517 SkCodec::Result result = codec->getAndroidPixels(decodeInfo, decodingBitmap.getPixels(), in doDecode()
518 decodingBitmap.rowBytes(), &codecOptions); in doDecode()
532 const float scaleX = scaledWidth / float(decodingBitmap.width()); in doDecode()
533 const float scaleY = scaledHeight / float(decodingBitmap.height()); in doDecode()
577 SkColorType scaledColorType = decodingBitmap.colorType(); in doDecode()
598 decodingBitmap.setImmutable(); // so .asImage() doesn't make a copy in doDecode()
599 canvas.drawImage(decodingBitmap.asImage(), 0.0f, 0.0f, in doDecode()
[all …]