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

/external/skia/src/core/
H A DSkPixelRef.cpp34 SkAlphaType newAlphaType = info.alphaType(); local
35 SkAssertResult(SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &newAlphaType));
36 return info.makeAlphaType(newAlphaType);
H A DSkBitmapDevice.cpp28 SkAlphaType* newAlphaType) {
35 if (newAlphaType) {
36 *newAlphaType = kUnknown_SkAlphaType;
65 if (newAlphaType) {
66 *newAlphaType = canonicalAlphaType;
27 valid_for_bitmap_device(const SkImageInfo& info, SkAlphaType* newAlphaType) argument
H A DSkBitmap.cpp184 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) { argument
185 if (!SkColorTypeValidateAlphaType(fInfo.colorType(), newAlphaType, &newAlphaType)) {
188 if (fInfo.alphaType() != newAlphaType) {
189 fInfo = fInfo.makeAlphaType(newAlphaType);
191 fPixelRef->changeAlphaType(newAlphaType);
/external/skia/include/core/
H A DSkImageInfo.h260 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const {
261 return Make(fWidth, fHeight, fColorType, newAlphaType, fColorSpace);

Completed in 2494 milliseconds