Searched refs:midIndex (Results 1 – 3 of 3) sorted by relevance
109 int midIndex = (startIndex + endIndex) / 2; in interpolate() local110 if (t < mX[midIndex]) { in interpolate()111 endIndex = midIndex; in interpolate()113 startIndex = midIndex; in interpolate()
131 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() local132 if (t < mX[midIndex]) { in getInterpolation()133 endIndex = midIndex; in getInterpolation()135 startIndex = midIndex; in getInterpolation()
216 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() local217 if (t < mX[midIndex]) { in getInterpolation()218 endIndex = midIndex; in getInterpolation()220 startIndex = midIndex; in getInterpolation()