Lines Matching refs:fIntervals
154 fIntervals.emplace_back(clamp_color, clamp_pos, in GradientShaderBase4fContext()
170 fIntervals.emplace_back( in GradientShaderBase4fContext()
186 fIntervals.emplace_back( in GradientShaderBase4fContext()
198 fIntervals.back().fP1 = last_pos; in GradientShaderBase4fContext()
206 fIntervals.emplace_back(clamp_color, last_pos, in GradientShaderBase4fContext()
210 const int count = fIntervals.count(); in GradientShaderBase4fContext()
213 const Interval& interval = fIntervals[i]; in GradientShaderBase4fContext()
218 fIntervals.emplace_back(c, dc * Sk4f(-1), 2 - p1, 2 - p0); in GradientShaderBase4fContext()
228 SkASSERT(fIntervals.count() == count * 2) in GradientShaderBase4fContext()
230 SkTSwap(fIntervals[i], fIntervals[count + i]); in GradientShaderBase4fContext()
235 SkASSERT(fIntervals.count() > 0); in GradientShaderBase4fContext()
236 fCachedInterval = fIntervals.begin(); in GradientShaderBase4fContext()
242 SkASSERT(in_range(fx, fIntervals.front().fP0, fIntervals.back().fP1)); in findInterval()
246 SkASSERT(fCachedInterval >= fIntervals.begin()); in findInterval()
247 SkASSERT(fCachedInterval < fIntervals.end()); in findInterval()
251 if (fCachedInterval >= fIntervals.end()) { in findInterval()
252 fCachedInterval = fIntervals.begin(); in findInterval()
253 } else if (fCachedInterval < fIntervals.begin()) { in findInterval()
254 fCachedInterval = fIntervals.end() - 1; in findInterval()
260 const Interval* i0 = fIntervals.begin(); in findInterval()
261 const Interval* i1 = fIntervals.end() - 1; in findInterval()