Searched refs:newAlphaType (Results 1 - 5 of 5) sorted by relevance

/external/skia/src/core/
H A DSkPixelRef.cpp83 SkAlphaType newAlphaType = info.alphaType(); local
84 SkAssertResult(SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &newAlphaType));
85 return info.makeAlphaType(newAlphaType);
H A DSkBitmapDevice.cpp20 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 DSkBitmap.cpp142 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 DSkDecodingImageGenerator.cpp263 SkAlphaType newAlphaType = info.alphaType(); local
264 if (!SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &newAlphaType)) {
269 (data, autoStream.detach(), info.makeAlphaType(newAlphaType),
/external/skia/include/core/
H A DSkImageInfo.h230 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const {
231 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType, fProfileType);

Completed in 88 milliseconds