Searched defs:newAlphaType (Results 1 - 4 of 4) sorted by relevance
/external/skia/src/core/ |
H A D | SkPixelRef.cpp | 83 SkAlphaType newAlphaType = info.alphaType(); local 84 SkAssertResult(SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &newAlphaType)); 85 return info.makeAlphaType(newAlphaType);
|
H A D | SkBitmapDevice.cpp | 20 SkAlphaType* newAlphaType) { 27 if (newAlphaType) { 28 *newAlphaType = kUnknown_SkAlphaType; 55 if (newAlphaType) { 56 *newAlphaType = canonicalAlphaType; 19 valid_for_bitmap_device(const SkImageInfo& info, SkAlphaType* newAlphaType) argument
|
H A D | SkBitmap.cpp | 142 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) { argument 143 if (!SkColorTypeValidateAlphaType(fInfo.colorType(), newAlphaType, &newAlphaType)) { 146 if (fInfo.alphaType() != newAlphaType) { 147 fInfo = fInfo.makeAlphaType(newAlphaType); 149 fPixelRef->changeAlphaType(newAlphaType);
|
/external/skia/src/images/ |
H A D | SkDecodingImageGenerator.cpp | 263 SkAlphaType newAlphaType = info.alphaType(); local 264 if (!SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &newAlphaType)) { 269 (data, autoStream.detach(), info.makeAlphaType(newAlphaType),
|
Completed in 134 milliseconds