Home
last modified time | relevance | path

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

/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.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.cpp201 SkAlphaType* newAlphaType) { in valid_for_bitmap_device() argument
206 if (newAlphaType) { in valid_for_bitmap_device()
207 *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/skia/include/core/
DSkImageInfo.h460 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
461 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/skia/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/docs/
DSkImageInfo_Reference.bmh1613 #Method SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const