Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystemTest.java230 int scaledVolume = VolumeControlAction.scaleToCecVolume(10, mMusicMaxVolume); in handleGiveAudioStatus_volume_10_mute_true() local
233 ADDR_AUDIO_SYSTEM, ADDR_TV, scaledVolume, true); in handleGiveAudioStatus_volume_10_mute_true()
738 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in giveAudioStatus_volumeEnabled() local
740 ADDR_TV, scaledVolume, mute); in giveAudioStatus_volumeEnabled()
768 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in giveAudioStatus_volumeDisabled() local
770 ADDR_TV, scaledVolume, mute); in giveAudioStatus_volumeDisabled()
798 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in reportAudioStatus_volumeEnabled() local
800 ADDR_TV, scaledVolume, mute); in reportAudioStatus_volumeEnabled()
822 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in reportAudioStatus_volumeDisabled() local
824 ADDR_TV, scaledVolume, mute); in reportAudioStatus_volumeDisabled()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java941 int scaledVolume = VolumeControlAction.scaleToCecVolume(volume, maxVolume); in reportAudioStatus() local
943 minVolume, maxVolume, scaledVolume); in reportAudioStatus()
947 mAddress, source, scaledVolume, mute)); in reportAudioStatus()
/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.java2633 final float scaledVolume = (float) volume / maxVol; in requestSetVolume() local
2637 final int routeVol = (int) (scaledVolume * route.getVolumeMax()); in requestSetVolume()