Searched refs:avrcpVolume (Results 1 – 2 of 2) sorted by relevance
61 static int avrcpToSystemVolume(int avrcpVolume) { in avrcpToSystemVolume() argument62 return (int) Math.floor((double) avrcpVolume * sDeviceMaxVolume / AVRCP_MAX_VOL); in avrcpToSystemVolume()66 int avrcpVolume = (int) Math.floor((double) deviceVolume in systemToAvrcpVolume() local68 if (avrcpVolume > 127) avrcpVolume = 127; in systemToAvrcpVolume()69 return avrcpVolume; in systemToAvrcpVolume()88 int avrcpVolume = systemToAvrcpVolume(savedVolume); in switchVolumeDevice() local90 "switchVolumeDevice: Updating device volume: avrcpVolume=" + avrcpVolume); in switchVolumeDevice()91 mNativeInterface.sendVolumeChanged(device.getAddress(), avrcpVolume); in switchVolumeDevice() local172 void setVolume(@NonNull BluetoothDevice device, int avrcpVolume) { in setVolume() argument174 (int) Math.floor((double) avrcpVolume * sDeviceMaxVolume / AVRCP_MAX_VOL); in setVolume()[all …]
343 void setVolume(int avrcpVolume) { in setVolume() argument350 mVolumeManager.setVolume(activeDevice, avrcpVolume); in setVolume()