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()
76 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() local77 if (t < mX[midIndex]) { in getInterpolation()78 endIndex = midIndex; in getInterpolation()80 startIndex = midIndex; in getInterpolation()
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()
212 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() local213 if (t < mX[midIndex]) { in getInterpolation()214 endIndex = midIndex; in getInterpolation()216 startIndex = midIndex; in getInterpolation()