HomeSort by relevance Sort by last modified time
    Searched refs:newAlphaType (Results 1 - 4 of 4) sorted by null

  /external/skia/src/core/
SkPixelRef.cpp 34 SkAlphaType newAlphaType = info.alphaType();
35 SkAssertResult(SkColorTypeValidateAlphaType(info.colorType(), info.alphaType(), &newAlphaType));
36 return info.makeAlphaType(newAlphaType);
SkBitmapDevice.cpp 27 SkAlphaType* newAlphaType) {
34 if (newAlphaType) {
35 *newAlphaType = kUnknown_SkAlphaType;
64 if (newAlphaType) {
65 *newAlphaType = canonicalAlphaType;
SkBitmap.cpp 151 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) {
152 if (!SkColorTypeValidateAlphaType(fInfo.colorType(), newAlphaType, &newAlphaType)) {
155 if (fInfo.alphaType() != newAlphaType) {
156 fInfo = fInfo.makeAlphaType(newAlphaType);
158 fPixelRef->changeAlphaType(newAlphaType);
    [all...]
  /external/skia/include/core/
SkImageInfo.h 247 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const {
248 return SkImageInfo::Make(fWidth, fHeight, fColorType, newAlphaType, fProfileType);

Completed in 187 milliseconds