Searched defs:alphaType (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 76 SkAlphaType alphaType = kOpaque_SkAlphaType; local 80 alphaType = kPremul_SkAlphaType; 84 alphaType = kOpaque_SkAlphaType; 88 alphaType = kPremul_SkAlphaType; 92 alphaType = kOpaque_SkAlphaType; 97 return SkImageInfo::Make(buffer.width, buffer.height, colorType, alphaType,
|
H A D | android_view_SurfaceControl.cpp | 216 SkAlphaType alphaType; local 222 alphaType = kOpaque_SkAlphaType; 227 alphaType = kPremul_SkAlphaType; 232 alphaType = kPremul_SkAlphaType; 237 alphaType = kOpaque_SkAlphaType; 246 colorType, alphaType,
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Bitmap.cpp | 155 SkAlphaType alphaType; local 157 !SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &alphaType), 159 return info.makeAlphaType(alphaType); 210 mInfo.alphaType(), mInfo.refColorSpace()); 280 void Bitmap::setAlphaType(SkAlphaType alphaType) { argument 281 if (!SkColorTypeValidateAlphaType(info().colorType(), alphaType, &alphaType)) { 285 mInfo = mInfo.makeAlphaType(alphaType); 293 info().colorType(), info().alphaType(), [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 354 SkAlphaType alphaType = codec->computeOutputAlphaType(requireUnpremultiplied); local 357 decodeColorType, alphaType, decodeColorSpace); 451 // FIXME: If the alphaType is kUnpremul and the image has alpha, the
|
H A D | Bitmap.cpp | 94 void setAlphaType(SkAlphaType alphaType) { argument 96 mBitmap->setAlphaType(alphaType); 177 SkASSERT(info.alphaType() != kUnpremul_SkAlphaType); 179 SkASSERT(info.alphaType() != kPremul_SkAlphaType); 421 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D32 : FromColor_D32_Raw; 423 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D4444 : 430 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_F16 : FromColor_F16_Raw; 585 switch (src.alphaType()) { 596 switch (src.alphaType()) { 611 switch (src.alphaType()) { 873 SkAlphaType alphaType; local 1039 const SkAlphaType alphaType = (SkAlphaType)p->readInt32(); local [all...] |
Completed in 101 milliseconds