Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkDashPath.cpp313 SkScalar endPhase = SkScalarMod(pathLength + initialDashLength, intervalLength); in InternalFilter() local
315 while (endPhase > intervals[index]) { in InternalFilter()
316 endPhase -= intervals[index++]; in InternalFilter()
323 endPhase = 0; in InternalFilter()
328 if (is_even(index) == (endPhase > 0)) { in InternalFilter()
/external/skqp/src/utils/
DSkDashPath.cpp319 SkScalar endPhase = SkScalarMod(pathLength + initialDashLength, intervalLength); in InternalFilter() local
321 while (endPhase > intervals[index]) { in InternalFilter()
322 endPhase -= intervals[index++]; in InternalFilter()
329 endPhase = 0; in InternalFilter()
334 if (is_even(index) == (endPhase > 0)) { in InternalFilter()