/frameworks/support/v4/java/android/support/v4/media/session/ |
D | ParcelableVolumeInfo.java | 29 public int maxVolume; field in ParcelableVolumeInfo 33 int maxVolume, in ParcelableVolumeInfo() argument 38 this.maxVolume = maxVolume; in ParcelableVolumeInfo() 45 maxVolume = from.readInt(); in ParcelableVolumeInfo() 59 dest.writeInt(maxVolume); in writeToParcel()
|
D | MediaControllerCompat.java | 502 info.maxVolume, info.currentVolume); in onVolumeInfoChanged() 925 info.controlType, info.maxVolume, info.currentVolume); in getPlaybackInfo()
|
/frameworks/base/media/java/android/media/session/ |
D | ParcelableVolumeInfo.java | 32 public int maxVolume; field in ParcelableVolumeInfo 36 int maxVolume, in ParcelableVolumeInfo() argument 41 this.maxVolume = maxVolume; in ParcelableVolumeInfo() 48 maxVolume = from.readInt(); in ParcelableVolumeInfo() 62 dest.writeInt(maxVolume); in writeToParcel()
|
D | MediaController.java | 259 result.maxVolume, result.currentVolume); in getPlaybackInfo() 952 pvi.maxVolume, pvi.currentVolume); in onVolumeInfoChanged()
|
/frameworks/support/v4/api21/android/support/v4/media/ |
D | VolumeProviderCompatApi21.java | 22 public static Object createVolumeProvider(int volumeControl, int maxVolume, int currentVolume, in createVolumeProvider() argument 24 return new VolumeProvider(volumeControl, maxVolume, currentVolume) { in createVolumeProvider()
|
/frameworks/base/media/java/android/media/ |
D | VolumeProvider.java | 64 public VolumeProvider(int volumeControl, int maxVolume, int currentVolume) { in VolumeProvider() argument 66 mMaxVolume = maxVolume; in VolumeProvider()
|
D | MediaRouter.java | 2234 public SessionVolumeProvider(int volumeControl, int maxVolume, int currentVolume) { in SessionVolumeProvider() argument 2235 super(volumeControl, maxVolume, currentVolume); in SessionVolumeProvider() 2482 int maxVolume = 0; in routeUpdated() local 2489 if (routeMaxVolume > maxVolume) { in routeUpdated() 2490 maxVolume = routeMaxVolume; in routeUpdated() 2498 mVolumeMax = maxVolume; in routeUpdated()
|
D | AudioService.java | 565 int maxVolume = SystemProperties.getInt("ro.config.vc_call_vol_steps", in AudioService() local 567 if (maxVolume != MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL]) { in AudioService() 568 MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] = maxVolume; in AudioService() 569 DEFAULT_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] = (maxVolume * 3) / 4; in AudioService() 571 maxVolume = SystemProperties.getInt("ro.config.media_vol_steps", in AudioService() 573 if (maxVolume != MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC]) { in AudioService() 574 MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC] = maxVolume; in AudioService() 575 DEFAULT_STREAM_VOLUME[AudioSystem.STREAM_MUSIC] = (maxVolume * 3) / 4; in AudioService() 1151 private void setSystemAudioVolume(int oldVolume, int newVolume, int maxVolume, int flags) { in setSystemAudioVolume() argument 1165 (oldVolume + 5) / 10, (newVolume + 5) / 10, maxVolume); in setSystemAudioVolume()
|
/frameworks/support/v4/java/android/support/v4/media/ |
D | VolumeProviderCompat.java | 65 public VolumeProviderCompat(int volumeControl, int maxVolume, int currentVolume) { in VolumeProviderCompat() argument 67 mMaxVolume = maxVolume; in VolumeProviderCompat()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | VolumeControlAction.java | 166 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume() local 167 return currentVolume == maxVolume; in shouldUpdateAudioVolume()
|
D | HdmiCecLocalDeviceTv.java | 981 int maxVolume = mService.getAudioManager().getStreamMaxVolume( in setAudioStatus() local 984 VolumeControlAction.scaleToCustomVolume(volume, maxVolume)); in setAudioStatus() 991 void changeVolume(int curVolume, int delta, int maxVolume) { in changeVolume() argument 998 int cecVolume = VolumeControlAction.scaleToCecVolume(targetVolume, maxVolume); in changeVolume() 1005 VolumeControlAction.scaleToCustomVolume(mSystemAudioVolume, maxVolume)); in changeVolume()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | SystemMediaRouteProvider.java | 131 int maxVolume = mAudioManager.getStreamMaxVolume(PLAYBACK_STREAM); in publishRoutes() local 139 .setVolumeMax(maxVolume) in publishRoutes() 168 int maxVolume = mAudioManager.getStreamMaxVolume(PLAYBACK_STREAM); in onUpdateVolume() local 169 int newVolume = Math.min(maxVolume, Math.max(0, volume + delta)); in onUpdateVolume()
|