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

/external/chromium_org/third_party/skia/src/core/
H A DSkPixelRef.cpp85 SkAlphaType newAlphaType = info.alphaType(); local
86 SkAssertResult(SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &newAlphaType));
87 return info.makeAlphaType(newAlphaType);
H A DSkBitmapDevice.cpp19 SkAlphaType* newAlphaType) {
26 if (newAlphaType) {
27 *newAlphaType = kIgnore_SkAlphaType;
54 if (newAlphaType) {
55 *newAlphaType = canonicalAlphaType;
18 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/chromium_org/third_party/skia/include/core/
H A DSkImageInfo.h220 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const {
221 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType);
/external/chromium_org/third_party/skia/src/images/
H A DSkDecodingImageGenerator.cpp245 SkAlphaType newAlphaType = info.alphaType(); local
246 if (!SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &newAlphaType)) {
251 (data, autoStream.detach(), info.makeAlphaType(newAlphaType),
/external/skia/src/core/
H A DSkBitmapDevice.cpp19 SkAlphaType* newAlphaType) {
26 if (newAlphaType) {
27 *newAlphaType = kIgnore_SkAlphaType;
54 if (newAlphaType) {
55 *newAlphaType = canonicalAlphaType;
18 valid_for_bitmap_device(const SkImageInfo& info, SkAlphaType* newAlphaType) argument

Completed in 124 milliseconds