Searched refs:minIndex (Results 1 – 4 of 4) sorted by relevance
77 final int minIndex = am.getStreamMinVolume(AudioManager.STREAM_MUSIC); in testSetDeviceVolume() local79 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()
268 public @NonNull Builder setMinVolumeIndex(int minIndex) { in setMinVolumeIndex() argument269 if (minIndex != INDEX_NOT_SET && minIndex < 0) { in setMinVolumeIndex()272 mMinVolIndex = minIndex; in setMinVolumeIndex()
83 int minIndex = 65536; in visibilityTest() local87 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()
268 int minIndex = -1; in snap() local278 minIndex = i; in snap()282 return mTargets.get(minIndex); in snap()