Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java52 private static int sDeviceMaxVolume = 0; field in AvrcpTargetService
152 sDeviceMaxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in start()
266 (int) Math.floor((double) avrcpVolume * sDeviceMaxVolume / AVRCP_MAX_VOL); in setVolume()
270 + " sDeviceMaxVolume=" + sDeviceMaxVolume); in setVolume()
282 (int) Math.floor((double) deviceVolume * AVRCP_MAX_VOL / sDeviceMaxVolume); in sendVolumeChanged()
287 + " sDeviceMaxVolume=" + sDeviceMaxVolume); in sendVolumeChanged()
DAvrcpVolumeManager.java43 private static int sDeviceMaxVolume = 0; field in AvrcpVolumeManager
56 return (int) Math.floor((double) avrcpVolume * sDeviceMaxVolume / AVRCP_MAX_VOL); in avrcpToSystemVolume()
61 * AVRCP_MAX_VOL / sDeviceMaxVolume); in systemToAvrcpVolume()
93 sDeviceMaxVolume = mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in AvrcpVolumeManager()
94 sNewDeviceVolume = sDeviceMaxVolume / 2; in AvrcpVolumeManager()