Searched refs:sDeviceMaxVolume (Results 1 – 2 of 2) sorted by relevance
52 private static int sDeviceMaxVolume = 0; field in AvrcpTargetService152 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()
43 private static int sDeviceMaxVolume = 0; field in AvrcpVolumeManager56 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()