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 28 SkAlphaType* newAlphaType) {
35 if (newAlphaType) {
36 *newAlphaType = kUnknown_SkAlphaType;
65 if (newAlphaType) {
66 *newAlphaType = canonicalAlphaType;
SkBitmap.cpp 184 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) {
185 if (!SkColorTypeValidateAlphaType(fInfo.colorType(), newAlphaType, &newAlphaType)) {
188 if (fInfo.alphaType() != newAlphaType) {
189 fInfo = fInfo.makeAlphaType(newAlphaType);
191 fPixelRef->changeAlphaType(newAlphaType);
    [all...]
  /external/skia/include/core/
SkImageInfo.h 260 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const {
261 return Make(fWidth, fHeight, fColorType, newAlphaType, fColorSpace);

Completed in 69 milliseconds