Lines Matching defs:colorType
623 static int checkFormat(SkColorType colorType, int format, int type)
625 switch(colorType) {
648 static int getInternalFormat(SkColorType colorType)
650 switch(colorType) {
664 static int getType(SkColorType colorType)
666 switch(colorType) {
685 return getInternalFormat(nativeBitmap.colorType());
693 return getType(nativeBitmap.colorType());
702 SkColorType colorType = bitmap.colorType();
704 internalformat = getInternalFormat(colorType);
707 type = getType(colorType);
709 int err = checkFormat(colorType, internalformat, type);
729 SkColorType colorType = bitmap.colorType();
731 format = getInternalFormat(colorType);
735 int err = checkFormat(colorType, format, type);