Home
last modified time | relevance | path

Searched refs:minGain (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioVolumeGroup.java53 int volumeGroupId, String name, int stepSize, int defaultGain, int minGain, int maxGain, in CarAudioVolumeGroup() argument
60 mMinGain = minGain; in CarAudioVolumeGroup()
126 int minGain = Integer.MAX_VALUE; in calculateNewGainStageFromDeviceInfos() local
151 if (info.getMinGain() < minGain) { in calculateNewGainStageFromDeviceInfos()
152 minGain = info.getMinGain(); in calculateNewGainStageFromDeviceInfos()
166 if (minGain != mMinGain) { in calculateNewGainStageFromDeviceInfos()
167 mMinGain = minGain; in calculateNewGainStageFromDeviceInfos()
DCarAudioPolicyVolumeCallback.java166 int minGain = mCarVolumeInfo.getGroupMinVolume(zoneId, groupId); in evaluateVolumeAdjustmentInternal() local
169 int minValue = Math.max(currentVolume - 1, minGain); in evaluateVolumeAdjustmentInternal()
171 minValue = minGain; in evaluateVolumeAdjustmentInternal()
179 maxValue = minGain; in evaluateVolumeAdjustmentInternal()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DTestCarAudioDeviceInfoBuilder.java62 TestCarAudioDeviceInfoBuilder setMinGain(int minGain) { in setMinGain() argument
63 mMinGain = minGain; in setMinGain()
DCarAudioVolumeGroupTest.java689 private static int getIndexForGain(int minGain, int step, int gain) { in getIndexForGain() argument
690 return (gain - minGain) / step; in getIndexForGain()
693 private static int getGainForIndex(int minGain, int step, int index) { in getGainForIndex() argument
694 return minGain + step * index; in getGainForIndex()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeFragment.java195 volumeInfo.minGain = info.getMinVolumeGainIndex(); in createCarAudioZoneVolumeInfo()
230 if (volume < info.minGain) { in adjustVolumeByOne()
DVolumeTestFragment.java73 public int minGain; field in VolumeTestFragment.CarAudioZoneVolumeInfo