Home
last modified time | relevance | path

Searched refs:newAlphaType (Results 1 – 9 of 9) sorted by relevance

/external/skia/include/core/
DSkImageInfo.h231 SkColorInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType() argument
232 return SkColorInfo(this->colorType(), newAlphaType, this->refColorSpace()); in makeAlphaType()
553 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
554 return Make(fDimensions, fColorInfo.makeAlphaType(newAlphaType)); in makeAlphaType()
/external/skqp/src/core/
DSkBitmap.cpp144 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) { in setAlphaType() argument
145 if (!SkColorTypeValidateAlphaType(this->colorType(), newAlphaType, &newAlphaType)) { in setAlphaType()
148 if (this->alphaType() != newAlphaType) { in setAlphaType()
149 auto newInfo = fPixmap.info().makeAlphaType(newAlphaType); in setAlphaType()
DSkBitmapDevice.cpp200 SkAlphaType* newAlphaType) { in valid_for_bitmap_device() argument
205 if (newAlphaType) { in valid_for_bitmap_device()
206 *newAlphaType = SkColorTypeIsAlwaysOpaque(info.colorType()) ? kOpaque_SkAlphaType in valid_for_bitmap_device()
/external/skia/src/core/
DSkBitmap.cpp143 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) { in setAlphaType() argument
144 if (!SkColorTypeValidateAlphaType(this->colorType(), newAlphaType, &newAlphaType)) { in setAlphaType()
147 if (this->alphaType() != newAlphaType) { in setAlphaType()
148 auto newInfo = fPixmap.info().makeAlphaType(newAlphaType); in setAlphaType()
DSkBitmapDevice.cpp202 SkAlphaType* newAlphaType) { in valid_for_bitmap_device() argument
207 if (newAlphaType) { in valid_for_bitmap_device()
208 *newAlphaType = SkColorTypeIsAlwaysOpaque(info.colorType()) ? kOpaque_SkAlphaType in valid_for_bitmap_device()
/external/skqp/include/core/
DSkImageInfo.h454 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
455 return Make(this->width(), this->height(), fColorType, newAlphaType, fColorSpace); in makeAlphaType()
/external/skqp/site/user/api/
DSkImageInfo_Reference.md973 …>makeAlphaType</a>(<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> newAlphaType) const;
1723 …e'>makeAlphaType</a>(<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> newAlphaType)const
1727 …phaType'>SkAlphaType</a> set to <a href='#SkImageInfo_makeAlphaType_newAlphaType'>newAlphaType</a>.
1729 …geInfo</a> contains <a href='#SkImageInfo_makeAlphaType_newAlphaType'>newAlphaType</a> even if it …
1734 <table> <tr> <td><a name='SkImageInfo_makeAlphaType_newAlphaType'><code><strong>newAlphaType</s…
/external/skqp/docs/
DSkImageInfo_Reference.bmh1621 #Method SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const
/external/skia/tools/fiddle/
Ddocumumentation_examples_map.txt1491 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const;