Lines Matching refs: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;
616 int x, int y, bool isPremultiplied) {
619 ToColorProc proc = ChooseToColorProc(*bitmap, isPremultiplied);
635 int x, int y, int width, int height, bool isPremultiplied) {
638 ToColorProc proc = ChooseToColorProc(*bitmap, isPremultiplied);
661 int x, int y, SkColor color, bool isPremultiplied) {
667 FromColorProc proc = ChooseFromColorProc(bitmap->config(), isPremultiplied);
678 int x, int y, int width, int height, bool isPremultiplied) {
680 x, y, width, height, *bitmap, isPremultiplied);