Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java843 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in reportAudioStatus() local
845 minVolume, maxVolume, scaledVolume); in reportAudioStatus()
849 mAddress, source, scaledVolume, mute)); in reportAudioStatus()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystemTest.java223 int scaledVolume = VolumeControlAction.scaleToCecVolume(10, mMusicMaxVolume); in handleGiveAudioStatus_volume_10_mute_true() local
226 ADDR_AUDIO_SYSTEM, ADDR_TV, scaledVolume, true); in handleGiveAudioStatus_volume_10_mute_true()
/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp609 const float scaledVolume = newVolume * AudioMixer::UNITY_GAIN_INT; // not neg, subnormal, nan in setVolumeRampVariables() local
610 const int32_t intVolume = (scaledVolume >= (float)AudioMixer::UNITY_GAIN_INT) ? in setVolumeRampVariables()
611 AudioMixer::UNITY_GAIN_INT : (int32_t)scaledVolume; in setVolumeRampVariables()
/frameworks/base/media/java/android/media/
DMediaRouter.java2620 final float scaledVolume = (float) volume / maxVol; in requestSetVolume() local
2624 final int routeVol = (int) (scaledVolume * route.getVolumeMax()); in requestSetVolume()