Searched refs:avrcpVolume (Results 1 – 2 of 2) sorted by relevance
59 static int avrcpToSystemVolume(int avrcpVolume) { in avrcpToSystemVolume() argument60 return (int) Math.floor((double) avrcpVolume * sDeviceMaxVolume / AVRCP_MAX_VOL); in avrcpToSystemVolume()64 int avrcpVolume = (int) Math.floor((double) deviceVolume in systemToAvrcpVolume() local66 if (avrcpVolume > 127) avrcpVolume = 127; in systemToAvrcpVolume()67 return avrcpVolume; in systemToAvrcpVolume()86 int avrcpVolume = systemToAvrcpVolume(savedVolume); in switchVolumeDevice() local88 "switchVolumeDevice: Updating device volume: avrcpVolume=" + avrcpVolume); in switchVolumeDevice()89 mNativeInterface.sendVolumeChanged(device.getAddress(), avrcpVolume); in switchVolumeDevice() local170 void setVolume(@NonNull BluetoothDevice device, int avrcpVolume) { in setVolume() argument172 (int) Math.floor((double) avrcpVolume * sDeviceMaxVolume / AVRCP_MAX_VOL); in setVolume()[all …]
298 void setVolume(int avrcpVolume) { in setVolume() argument305 mVolumeManager.setVolume(activeDevice, avrcpVolume); in setVolume()