Home
last modified time | relevance | path

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

12

/frameworks/support/media-compat/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.java858 info.maxVolume, info.currentVolume); in onVolumeInfoChanged()
1492 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/media-compat/api21/android/support/v4/media/
DVolumeProviderCompatApi21.java24 public static Object createVolumeProvider(int volumeControl, int maxVolume, int currentVolume, in createVolumeProvider() argument
26 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.java2331 int maxVolume, int currentVolume) { in SessionVolumeProvider() argument
2332 super(volumeControl, maxVolume, currentVolume); in SessionVolumeProvider()
2579 int maxVolume = 0; in routeUpdated() local
2586 if (routeMaxVolume > maxVolume) { in routeUpdated()
2587 maxVolume = routeMaxVolume; in routeUpdated()
2595 mVolumeMax = maxVolume; in routeUpdated()
/frameworks/support/media-compat/java/android/support/v4/media/
DVolumeProviderCompat.java81 public VolumeProviderCompat(@ControlType int volumeControl, int maxVolume, int currentVolume) { in VolumeProviderCompat() argument
83 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.java1009 int maxVolume = mService.getAudioManager().getStreamMaxVolume( in setAudioStatus() local
1012 VolumeControlAction.scaleToCustomVolume(volume, maxVolume)); in setAudioStatus()
1019 void changeVolume(int curVolume, int delta, int maxVolume) { in changeVolume() argument
1026 int cecVolume = VolumeControlAction.scaleToCecVolume(targetVolume, maxVolume); in changeVolume()
1033 VolumeControlAction.scaleToCustomVolume(mSystemAudioVolume, maxVolume)); in changeVolume()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DSystemMediaRouteProvider.java143 int maxVolume = mAudioManager.getStreamMaxVolume(PLAYBACK_STREAM); in publishRoutes() local
151 .setVolumeMax(maxVolume) in publishRoutes()
180 int maxVolume = mAudioManager.getStreamMaxVolume(PLAYBACK_STREAM); in onUpdateVolume() local
181 int newVolume = Math.min(maxVolume, Math.max(0, volume + delta)); in onUpdateVolume()
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
DMediaControllerCompatTest.java401 final int maxVolume = 10; in testPlaybackInfo() local
406 playbackType, audioStream, volumeControl, maxVolume, currentVolume); in testPlaybackInfo()
411 assertEquals(maxVolume, info.getMaxVolume()); in testPlaybackInfo()
/frameworks/support/api/
D22.0.0.txt2803 field public int maxVolume;
D22.1.0.txt2958 field public int maxVolume;
D22.2.0.txt3344 field public int maxVolume;
D22.2.1.txt3373 field public int maxVolume;
D25.1.0.txt5839 field public int maxVolume;
D25.0.0.txt5455 field public int maxVolume;
D23.0.0.txt4025 field public int maxVolume;
D25.2.0.txt5839 field public int maxVolume;
D24.2.0.txt5399 field public int maxVolume;
D26.0.0-alpha1.txt6719 field public int maxVolume;
D23.2.1.txt4703 field public int maxVolume;
D25.3.0.txt6252 field public int maxVolume;
D23.2.0.txt4703 field public int maxVolume;

12