Lines Matching refs:SkIntToFixed
477 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build16bitCache()
478 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build16bitCache()
479 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); in Build16bitCache()
481 r = SkIntToFixed(r) + 0x8000; in Build16bitCache()
482 g = SkIntToFixed(g) + 0x8000; in Build16bitCache()
483 b = SkIntToFixed(b) + 0x8000; in Build16bitCache()
525 da = SkIntToFixed(tmp - a) / (count - 1); in Build32bitCache()
531 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build32bitCache()
532 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build32bitCache()
533 SkFixed db = SkIntToFixed(SkColorGetB(c1) - b) / (count - 1); in Build32bitCache()
535 a = SkIntToFixed(a) + 0x8000; in Build32bitCache()
536 r = SkIntToFixed(r) + 0x8000; in Build32bitCache()
537 g = SkIntToFixed(g) + 0x8000; in Build32bitCache()
538 b = SkIntToFixed(b) + 0x8000; in Build32bitCache()