Searched refs:srcIntervalLen (Results 1 – 2 of 2) sorted by relevance
121 SkScalar srcIntervalLen = intervals[0] + intervals[1]; in calc_start_adjustment() local122 return srcIntervalLen - phase; in calc_start_adjustment()132 SkScalar srcIntervalLen = intervals[0] + intervals[1]; in calc_end_adjustment() local134 SkScalar temp = totalLen / srcIntervalLen; in calc_end_adjustment()136 *endingInt = totalLen - numFullIntervals * srcIntervalLen + phase; in calc_end_adjustment()137 temp = *endingInt / srcIntervalLen; in calc_end_adjustment()138 *endingInt = *endingInt - SkScalarFloorToScalar(temp) * srcIntervalLen; in calc_end_adjustment()140 *endingInt = srcIntervalLen; in calc_end_adjustment()