Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpVolumeManager.java65 static int systemToAvrcpVolume(int deviceVolume) { in systemToAvrcpVolume() argument
66 int avrcpVolume = (int) Math.floor((double) deviceVolume in systemToAvrcpVolume()
173 int deviceVolume = in setVolume() local
178 + " 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() argument
187 if (deviceVolume == getVolume(device, -1)) { in sendVolumeChanged()
192 (int) Math.floor((double) deviceVolume * AVRCP_MAX_VOL / sDeviceMaxVolume); in sendVolumeChanged()
197 + " deviceVolume=" + deviceVolume in sendVolumeChanged()
DAvrcpTargetService.java357 public void sendVolumeChanged(int deviceVolume) { in sendVolumeChanged() argument
364 mVolumeManager.sendVolumeChanged(activeDevice, deviceVolume); in sendVolumeChanged()