Home
last modified time | relevance | path

Searched refs:maxVolume (Results 1 – 20 of 20) sorted by relevance

/frameworks/support/v4/java/android/support/v4/media/session/
DParcelableVolumeInfo.java29 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()
DMediaControllerCompat.java510 info.maxVolume, info.currentVolume); in onVolumeInfoChanged()
1000 info.controlType, info.maxVolume, info.currentVolume); in getPlaybackInfo()
/frameworks/base/media/java/android/media/session/
DParcelableVolumeInfo.java32 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()
DMediaController.java259 result.maxVolume, result.currentVolume); in getPlaybackInfo()
1060 pvi.maxVolume, pvi.currentVolume); in onVolumeInfoChanged()
/frameworks/support/v4/api21/android/support/v4/media/
DVolumeProviderCompatApi21.java22 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/
DVolumeProvider.java76 public VolumeProvider(@ControlType int volumeControl, int maxVolume, int currentVolume) { in VolumeProvider() argument
78 mMaxVolume = maxVolume; in VolumeProvider()
DMediaRouter.java2318 int maxVolume, int currentVolume) { in SessionVolumeProvider() argument
2319 super(volumeControl, maxVolume, currentVolume); in SessionVolumeProvider()
2566 int maxVolume = 0; in routeUpdated() local
2573 if (routeMaxVolume > maxVolume) { in routeUpdated()
2574 maxVolume = routeMaxVolume; in routeUpdated()
2582 mVolumeMax = maxVolume; in routeUpdated()
/frameworks/support/v4/java/android/support/v4/media/
DVolumeProviderCompat.java77 public VolumeProviderCompat(@ControlType int volumeControl, int maxVolume, int currentVolume) { in VolumeProviderCompat() argument
79 mMaxVolume = maxVolume; in VolumeProviderCompat()
/frameworks/base/services/core/java/com/android/server/hdmi/
DVolumeControlAction.java166 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume() local
167 return currentVolume == maxVolume; in shouldUpdateAudioVolume()
DHdmiCecLocalDeviceTv.java1045 int maxVolume = mService.getAudioManager().getStreamMaxVolume( in setAudioStatus() local
1048 VolumeControlAction.scaleToCustomVolume(volume, maxVolume)); in setAudioStatus()
1055 void changeVolume(int curVolume, int delta, int maxVolume) { in changeVolume() argument
1062 int cecVolume = VolumeControlAction.scaleToCecVolume(targetVolume, maxVolume); in changeVolume()
1069 VolumeControlAction.scaleToCustomVolume(mSystemAudioVolume, maxVolume)); in changeVolume()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DSystemMediaRouteProvider.java134 int maxVolume = mAudioManager.getStreamMaxVolume(PLAYBACK_STREAM); in publishRoutes() local
142 .setVolumeMax(maxVolume) in publishRoutes()
171 int maxVolume = mAudioManager.getStreamMaxVolume(PLAYBACK_STREAM); in onUpdateVolume() local
172 int newVolume = Math.min(maxVolume, Math.max(0, volume + delta)); in onUpdateVolume()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java618 int maxVolume = SystemProperties.getInt("ro.config.vc_call_vol_steps", in AudioService() local
620 if (maxVolume != MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL]) { in AudioService()
621 MAX_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] = maxVolume; in AudioService()
622 AudioSystem.DEFAULT_STREAM_VOLUME[AudioSystem.STREAM_VOICE_CALL] = (maxVolume * 3) / 4; in AudioService()
624 maxVolume = SystemProperties.getInt("ro.config.media_vol_steps", in AudioService()
626 if (maxVolume != MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC]) { in AudioService()
627 MAX_STREAM_VOLUME[AudioSystem.STREAM_MUSIC] = maxVolume; in AudioService()
628 AudioSystem.DEFAULT_STREAM_VOLUME[AudioSystem.STREAM_MUSIC] = (maxVolume * 3) / 4; in AudioService()
1412 private void setSystemAudioVolume(int oldVolume, int newVolume, int maxVolume, int flags) { in setSystemAudioVolume() argument
1425 mHdmiTvClient.setSystemAudioVolume(oldVolume, newVolume, maxVolume); in setSystemAudioVolume()
/frameworks/support/v4/api/
D22.1.0.txt1374 field public int maxVolume;
D22.0.0.txt1361 field public int maxVolume;
D22.2.1.txt1422 field public int maxVolume;
D22.2.0.txt1421 field public int maxVolume;
D23.0.0.txt1595 field public int maxVolume;
D23.1.0.txt1617 field public int maxVolume;
D23.1.1.txt1570 field public int maxVolume;
Dcurrent.txt1751 field public int maxVolume;