Home
last modified time | relevance | path

Searched refs:minIndex (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
H A DAudioDeviceVolumeManagerTest.java77 final int minIndex = am.getStreamMinVolume(AudioManager.STREAM_MUSIC); in testSetDeviceVolume() local
79 final int midIndex = (minIndex + maxIndex) / 2; in testSetDeviceVolume()
81 .setMinVolumeIndex(minIndex) in testSetDeviceVolume()
84 final VolumeInfo volMin = new VolumeInfo.Builder(volMedia).setVolumeIndex(minIndex).build(); in testSetDeviceVolume()
92 AudioManager.STREAM_MUSIC, minIndex, AudioSystem.DEVICE_OUT_USB_DEVICE); in testSetDeviceVolume()
/aosp14/frameworks/base/media/java/android/media/
H A DVolumeInfo.java268 public @NonNull Builder setMinVolumeIndex(int minIndex) { in setMinVolumeIndex() argument
269 if (minIndex != INDEX_NOT_SET && minIndex < 0) { in setMinVolumeIndex()
272 mMinVolIndex = minIndex; in setMinVolumeIndex()
/aosp14/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp83 int minIndex = 65536; in visibilityTest() local
87 if ( index < minIndex ) { in visibilityTest()
88 minIndex = index; in visibilityTest()
99 int transformedIndexCount = maxIndex - minIndex + 1; in visibilityTest()
109 const float* pSrc = pPositions + 3 * minIndex; in visibilityTest()
122 memcpy(pDest , pTransformed + 4 * (pIndices[i ] - minIndex), 4 * sizeof(float)); in visibilityTest()
123 memcpy(pDest + 4, pTransformed + 4 * (pIndices[i + 1] - minIndex), 4 * sizeof(float)); in visibilityTest()
124 memcpy(pDest + 8, pTransformed + 4 * (pIndices[i + 2] - minIndex), 4 * sizeof(float)); in visibilityTest()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DDividerSnapAlgorithm.java268 int minIndex = -1; in snap() local
278 minIndex = i; in snap()
282 return mTargets.get(minIndex); in snap()