Home
last modified time | relevance | path

Searched refs:midIndex (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
DInterpolator.cpp109 int midIndex = (startIndex + endIndex) / 2; in interpolate() local
110 if (t < mX[midIndex]) { in interpolate()
111 endIndex = midIndex; in interpolate()
113 startIndex = midIndex; in interpolate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPathInterpolatorBuilder.java131 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() local
132 if (t < mX[midIndex]) { in getInterpolation()
133 endIndex = midIndex; in getInterpolation()
135 startIndex = midIndex; in getInterpolation()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java218 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() local
219 if (t < mX[midIndex]) { in getInterpolation()
220 endIndex = midIndex; in getInterpolation()
222 startIndex = midIndex; in getInterpolation()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioDeviceVolumeManagerTest.java97 final int midIndex = (minIndex + maxIndex) / 2; in setDeviceVolume_checkIndex() local
103 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()
DVolumeHelperTest.java534 final int midIndex = (minIndex + maxIndex) / 2; in setDeviceVolume_checkIndex() local
540 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()