Lines Matching defs:isPremultiplied
100 static FromColorProc ChooseFromColorProc(SkBitmap::Config config, bool isPremultiplied) {
103 return isPremultiplied ? FromColor_D32 : FromColor_D32_Raw;
105 return isPremultiplied ? FromColor_D4444 : FromColor_D4444_Raw;
116 const SkBitmap& dstBitmap, bool isPremultiplied) {
119 FromColorProc proc = ChooseFromColorProc(dstBitmap.config(), isPremultiplied);
260 static ToColorProc ChooseToColorProc(const SkBitmap& src, bool isPremultiplied) {
264 return isPremultiplied ? ToColor_S32_Alpha : ToColor_S32_Raw;
267 return isPremultiplied ? ToColor_S4444_Alpha : ToColor_S4444_Raw;
275 return isPremultiplied ? ToColor_SI8_Raw : ToColor_SI8_Alpha;
610 int x, int y, bool isPremultiplied) {
613 ToColorProc proc = ChooseToColorProc(*bitmap, isPremultiplied);
629 int x, int y, int width, int height, bool isPremultiplied) {
632 ToColorProc proc = ChooseToColorProc(*bitmap, isPremultiplied);
655 int x, int y, SkColor color, bool isPremultiplied) {
661 FromColorProc proc = ChooseFromColorProc(bitmap->config(), isPremultiplied);
672 int x, int y, int width, int height, bool isPremultiplied) {
674 x, y, width, height, *bitmap, isPremultiplied);