Home
last modified time | relevance | path

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

/external/skia/modules/particles/src/
DSkCurve.cpp83 SkASSERT(fSegments.count() == fXValues.count() + 1); in eval()
88 for (; i < fXValues.count(); ++i) { in eval()
89 if (x <= fXValues[i]) { in eval()
94 SkScalar rangeMin = (i == 0) ? 0.0f : fXValues[i - 1]; in eval()
95 SkScalar rangeMax = (i == fXValues.count()) ? 1.0f : fXValues[i]; in eval()
111 v->visit("XValues", fXValues); in visitFields()
118 fXValues.resize_back(fSegments.count() - 1); in visitFields()
119 for (int i = 0; i < fXValues.count(); ++i) { in visitFields()
120 fXValues[i] = SkTPin(fXValues[i], i > 0 ? fXValues[i - 1] : 0.0f, 1.0f); in visitFields()
156 SkASSERT(fSegments.count() == fXValues.count() + 1); in eval()
[all …]
/external/skia/modules/particles/include/
DSkCurve.h82 SkTArray<SkScalar, true> fXValues; member
125 SkTArray<SkScalar, true> fXValues; member