Searched defs:alphaType (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp76 SkAlphaType alphaType = kOpaque_SkAlphaType; local
80 alphaType = kPremul_SkAlphaType;
84 alphaType = kOpaque_SkAlphaType;
88 alphaType = kOpaque_SkAlphaType;
93 return SkImageInfo::Make(buffer.width, buffer.height, colorType, alphaType);
H A Dandroid_view_SurfaceControl.cpp155 SkAlphaType alphaType; local
159 alphaType = kOpaque_SkAlphaType;
164 alphaType = kPremul_SkAlphaType;
169 alphaType = kOpaque_SkAlphaType;
178 colorType, alphaType);
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp386 SkAlphaType alphaType = codec->computeOutputAlphaType(requireUnpremultiplied); local
389 alphaType);
480 // FIXME: If the alphaType is kUnpremul and the image has alpha, the
484 scaledColorType, decodingBitmap.alphaType()));
H A DBitmap.cpp66 SkAlphaType alphaType; local
68 newInfo.colorType(), newInfo.alphaType(), &alphaType),
78 changeAlphaType(alphaType);
262 void Bitmap::setAlphaType(SkAlphaType alphaType) { argument
263 if (!SkColorTypeValidateAlphaType(info().colorType(), alphaType, &alphaType)) {
267 mPixelRef->changeAlphaType(alphaType);
484 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D32 : FromColor_D32_Raw;
486 return bitmap.alphaType()
816 SkAlphaType alphaType; local
958 const SkAlphaType alphaType = (SkAlphaType)p->readInt32(); local
[all...]

Completed in 345 milliseconds