Searched refs:deviceVolume (Results 1 – 2 of 2) sorted by relevance
65 static int systemToAvrcpVolume(int deviceVolume) { in systemToAvrcpVolume() argument66 int avrcpVolume = (int) Math.floor((double) deviceVolume in systemToAvrcpVolume()173 int deviceVolume = in setVolume() local178 + " deviceVolume=" + deviceVolume in setVolume()180 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, deviceVolume, in setVolume()181 (deviceVolume != getVolume(device, -1) ? AudioManager.FLAG_SHOW_UI : 0) in setVolume()186 void sendVolumeChanged(@NonNull BluetoothDevice device, int deviceVolume) { in sendVolumeChanged() argument187 if (deviceVolume == getVolume(device, -1)) { in sendVolumeChanged()192 (int) Math.floor((double) deviceVolume * AVRCP_MAX_VOL / sDeviceMaxVolume); in sendVolumeChanged()197 + " deviceVolume=" + deviceVolume in sendVolumeChanged()
357 public void sendVolumeChanged(int deviceVolume) { in sendVolumeChanged() argument364 mVolumeManager.sendVolumeChanged(activeDevice, deviceVolume); in sendVolumeChanged()