Searched refs:volumeProvider (Results 1 – 2 of 2) sorted by relevance
322 public void setPlaybackToRemote(@NonNull VolumeProvider volumeProvider) { in setPlaybackToRemote() argument323 if (volumeProvider == null) { in setPlaybackToRemote()327 mVolumeProvider = volumeProvider; in setPlaybackToRemote()329 volumeProvider.setCallback(new VolumeProvider.Callback() { in setPlaybackToRemote()331 public void onVolumeChanged(VolumeProvider volumeProvider) { in setPlaybackToRemote()332 notifyRemoteVolumeChanged(volumeProvider); in setPlaybackToRemote()337 mBinder.setPlaybackToRemote(volumeProvider.getVolumeControl(), in setPlaybackToRemote()338 volumeProvider.getMaxVolume()); in setPlaybackToRemote()339 mBinder.setCurrentVolume(volumeProvider.getCurrentVolume()); in setPlaybackToRemote()
162 public abstract void onVolumeChanged(VolumeProvider volumeProvider); in onVolumeChanged() argument