Searched refs:volumeGroupId (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | CustomInputEventListener.java | 184 int volumeGroupId = mCarAudioManager.getVolumeGroupIdForUsage(zoneId, usage); in increaseVolume() local 185 int maxVolume = mCarAudioManager.getGroupMaxVolume(zoneId, volumeGroupId); in increaseVolume() 186 int volume = mCarAudioManager.getGroupVolume(zoneId, volumeGroupId); in increaseVolume() 190 + volumeGroupId + ")"); in increaseVolume() 205 mCarAudioManager.setGroupVolume(volumeGroupId, volume, AudioManager.FLAG_SHOW_UI); in increaseVolume() 210 int volumeGroupId = mCarAudioManager.getVolumeGroupIdForUsage(zoneId, usage); in decreaseVolume() local 211 int minVolume = mCarAudioManager.getGroupMinVolume(zoneId, volumeGroupId); in decreaseVolume() 212 int volume = mCarAudioManager.getGroupVolume(zoneId, volumeGroupId); in decreaseVolume() 216 + volumeGroupId + ")"); in decreaseVolume() 231 mCarAudioManager.setGroupVolume(volumeGroupId, volume, AudioManager.FLAG_SHOW_UI); in decreaseVolume()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | CarVolumeDialogImpl.java | 211 private static int getSeekbarValue(CarAudioManager carAudioManager, int volumeGroupId) { in getSeekbarValue() argument 212 return carAudioManager.getGroupVolume(volumeGroupId); in getSeekbarValue() 215 private static int getMaxSeekbarValue(CarAudioManager carAudioManager, int volumeGroupId) { in getMaxSeekbarValue() argument 216 return carAudioManager.getGroupMaxVolume(volumeGroupId); in getMaxSeekbarValue() 458 private CarVolumeItem createCarVolumeListItem(VolumeItem volumeItem, int volumeGroupId, in createCarVolumeListItem() argument 462 carVolumeItem.setMax(getMaxSeekbarValue(mCarAudioManager, volumeGroupId)); in createCarVolumeListItem() 465 new CarVolumeDialogImpl.VolumeSeekBarChangeListener(volumeGroupId, in createCarVolumeListItem() 467 carVolumeItem.setGroupId(volumeGroupId); in createCarVolumeListItem() 489 private CarVolumeItem addCarVolumeListItem(VolumeItem volumeItem, int volumeGroupId, in addCarVolumeListItem() argument 492 int seekbarProgressValue = getSeekbarValue(mCarAudioManager, volumeGroupId); in addCarVolumeListItem() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceController.java | 166 int volumeGroupId, int usage, @DrawableRes int iconResId, in createVolumeSeekBarPreference() argument 174 preference.setValue(mCarAudioManager.getGroupVolume(volumeGroupId)); in createVolumeSeekBarPreference() 175 preference.setMin(mCarAudioManager.getGroupMinVolume(volumeGroupId)); in createVolumeSeekBarPreference() 176 preference.setMax(mCarAudioManager.getGroupMaxVolume(volumeGroupId)); in createVolumeSeekBarPreference() 183 bundle.putInt(VOLUME_GROUP_KEY, volumeGroupId); in createVolumeSeekBarPreference() 196 private void setGroupVolume(int volumeGroupId, int newVolume) { in setGroupVolume() argument 198 mCarAudioManager.setGroupVolume(volumeGroupId, newVolume, /* flags= */ 0); in setGroupVolume()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | ICarAudio.aidl | 58 boolean isPlaybackOnVolumeGroupActive(int volumeGroupId, int audioZoneId); in isPlaybackOnVolumeGroupActive() argument
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarAudioService.java | 135 public boolean isPlaybackOnVolumeGroupActive(int volumeGroupId, int audioZoneId) { in isPlaybackOnVolumeGroupActive() argument
|