Lines Matching refs:fx
56 void SkClampRange::initFor1(SkGradFixed fx) { in initFor1() argument
58 if (fx <= 0) { in initFor1()
60 } else if (fx < kFracMax_SkGradFixed) { in initFor1()
62 fFx1 = fx; in initFor1()
81 int64_t fx = fx0; in init() local
93 int64_t ex = fx + (count - 1) * dx; in init()
95 if ((uint64_t)(fx | ex) <= kFracMax_SkGradFixed) { in init()
101 if (fx <= 0 && ex <= 0) { in init()
106 if (fx >= kFracMax_SkGradFixed && ex >= kFracMax_SkGradFixed) { in init()
119 fx -= dx; in init()
120 SkTSwap(fx, ex); in init()
125 fCount0 = chop(fx, 0, ex, dx, count); in init()
129 fx += fCount0 * dx; in init()
130 SkASSERT(fx >= 0); in init()
131 SkASSERT(fCount0 == 0 || (fx - dx) < 0); in init()
132 fCount1 = chop(fx, kFracMax_SkGradFixed, ex, dx, count); in init()
139 fx += fCount1 * dx; in init()
140 SkASSERT(fx <= ex); in init()
142 SkASSERT(fx >= kFracMax_SkGradFixed); in init()
144 SkASSERT(fx - dx < kFracMax_SkGradFixed); in init()