Home
last modified time | relevance | path

Searched refs:maxVolume (Results 1 – 12 of 12) 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.java502 info.maxVolume, info.currentVolume); in onVolumeInfoChanged()
925 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()
952 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.java64 public VolumeProvider(int volumeControl, int maxVolume, int currentVolume) { in VolumeProvider() argument
66 mMaxVolume = maxVolume; in VolumeProvider()
DMediaRouter.java2234 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()
DAudioService.java565 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/
DVolumeProviderCompat.java65 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/
DVolumeControlAction.java166 int maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in shouldUpdateAudioVolume() local
167 return currentVolume == maxVolume; in shouldUpdateAudioVolume()
DHdmiCecLocalDeviceTv.java981 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/
DSystemMediaRouteProvider.java131 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()