Home
last modified time | relevance | path

Searched refs:segmentX (Results 1 – 1 of 1) sorted by relevance

/external/skia/modules/particles/src/
DSkCurve.cpp96 SkScalar segmentX = (x - rangeMin) / (rangeMax - rangeMin); in eval() local
97 if (!SkScalarIsFinite(segmentX)) { in eval()
98 segmentX = rangeMin; in eval()
100 SkASSERT(0.0f <= segmentX && segmentX <= 1.0f); in eval()
106 return fSegments[i].eval(segmentX, t, negate); in eval()
169 SkScalar segmentX = (x - rangeMin) / (rangeMax - rangeMin); in eval() local
170 if (!SkScalarIsFinite(segmentX)) { in eval()
171 segmentX = rangeMin; in eval()
173 SkASSERT(0.0f <= segmentX && segmentX <= 1.0f); in eval()
174 return fSegments[i].eval(segmentX, ps.fRandom.nextF()); in eval()