Searched refs:deviceVolume (Results 1 – 3 of 3) sorted by relevance
99 static int systemToAvrcpVolume(int deviceVolume) { in systemToAvrcpVolume() argument101 (int) Math.round((double) deviceVolume * AVRCP_MAX_VOL / sDeviceMaxVolume); in systemToAvrcpVolume()278 int deviceVolume = avrcpToSystemVolume(avrcpVolume); in setVolume() local287 + deviceVolume in setVolume()292 deviceVolume, in setVolume()293 (deviceVolume != getVolume(device, -1) ? AudioManager.FLAG_SHOW_UI : 0) in setVolume()305 void sendVolumeChanged(@NonNull BluetoothDevice device, int deviceVolume) { in sendVolumeChanged() argument306 if (deviceVolume == getVolume(device, -1)) { in sendVolumeChanged()310 int avrcpVolume = systemToAvrcpVolume(deviceVolume); in sendVolumeChanged()319 + deviceVolume in sendVolumeChanged()
384 public void sendVolumeChanged(int deviceVolume) { in sendVolumeChanged() argument391 mVolumeManager.sendVolumeChanged(activeDevice, deviceVolume); in sendVolumeChanged()
989 double deviceVolume = (double) (bleVolume * deviceMaxVolume) / LE_AUDIO_MAX_VOL; in getAudioDeviceVolume() local990 return (int) Math.round(deviceVolume); in getAudioDeviceVolume()