Searched refs:midIndex (Results 1 – 5 of 5) 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()
218 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() local219 if (t < mX[midIndex]) { in getInterpolation()220 endIndex = midIndex; in getInterpolation()222 startIndex = midIndex; in getInterpolation()
97 final int midIndex = (minIndex + maxIndex) / 2; in setDeviceVolume_checkIndex() local103 final VolumeInfo volMid = new VolumeInfo.Builder(volMedia).setVolumeIndex(midIndex).build(); in setDeviceVolume_checkIndex()115 AudioManager.STREAM_MUSIC, midIndex, AudioSystem.DEVICE_OUT_USB_DEVICE); in setDeviceVolume_checkIndex()
534 final int midIndex = (minIndex + maxIndex) / 2; in setDeviceVolume_checkIndex() local540 final VolumeInfo volMid = new VolumeInfo.Builder(volMedia).setVolumeIndex(midIndex).build(); in setDeviceVolume_checkIndex()557 STREAM_MUSIC, midIndex, AudioSystem.DEVICE_OUT_USB_DEVICE); in setDeviceVolume_checkIndex()