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.java219 int scaledVolume = VolumeControlAction.scaleToCecVolume(10, mMusicMaxVolume); in handleGiveAudioStatus_volume_10_mute_true() local
222 ADDR_AUDIO_SYSTEM, ADDR_TV, scaledVolume, true); in handleGiveAudioStatus_volume_10_mute_true()
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp313 … const float scaledVolume = newVolume * AudioMixerBase::UNITY_GAIN_INT; // not neg, subnormal, nan in setVolumeRampVariables() local
314 const int32_t intVolume = (scaledVolume >= (float)AudioMixerBase::UNITY_GAIN_INT) ? in setVolumeRampVariables()
315 AudioMixerBase::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()