Home
last modified time | relevance | path

Searched refs:maxVol (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaRouter.java1255 final int maxVol = getVolumeMax(); in requestSetVolume() local
1256 if (maxVol == 0) { in requestSetVolume()
1260 final float scaledVolume = (float) volume / maxVol; in requestSetVolume()
1275 final int maxVol = getVolumeMax(); in requestUpdateVolume() local
1276 if (maxVol == 0) { in requestUpdateVolume()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioTrackTest.java465 float maxVol = AudioTrack.getMaxVolume(); in testSetStereoVolumeMax() local
466 assertTrue(TEST_NAME, track.setStereoVolume(maxVol, maxVol) == AudioTrack.SUCCESS); in testSetStereoVolumeMax()