Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmap.cpp384 SkImageInfo dstInfo = srcPM.info().makeColorType(dstCT); in bitmapCopyTo() local
387 dstInfo = dstInfo.makeAlphaType(kOpaque_SkAlphaType); in bitmapCopyTo()
390 dstInfo = dstInfo.makeColorSpace(nullptr); in bitmapCopyTo()
396 if (!dstInfo.colorSpace() && dstCT != kAlpha_8_SkColorType) { in bitmapCopyTo()
397 dstInfo = dstInfo.makeColorSpace(SkColorSpace::MakeSRGB()); in bitmapCopyTo()
400 if (!dst->setInfo(dstInfo)) { in bitmapCopyTo()
944 SkImageInfo dstInfo = SkImageInfo::Make( in Bitmap_getPixel() local
948 bitmap.readPixels(dstInfo, &dst, dstInfo.minRowBytes(), x, y); in Bitmap_getPixel()
957 SkImageInfo dstInfo = SkImageInfo::Make( in Bitmap_getColor() local
961 bitmap.readPixels(dstInfo, &dst, dstInfo.minRowBytes(), x, y); in Bitmap_getColor()
[all …]