Searched refs:midIndex (Results 1 – 4 of 4) sorted by relevance
111 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() local112 if (t < mX[midIndex]) { in getInterpolation()113 endIndex = midIndex; in getInterpolation()115 startIndex = midIndex; in getInterpolation()150 int midIndex = (startIndex + endIndex) / 2; in getX() local151 if (y < mY[midIndex]) { in getX()152 startIndex = midIndex; in getX()154 endIndex = midIndex; in getX()
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()