Searched refs:mIndexMax (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | VolumeCurve.h | 74 VolumeCurvesForStream() : mIndexMin(0), mIndexMax(1), mCanBeMuted(true) in VolumeCurvesForStream() 104 void setVolumeIndexMax(int volIndexMax) { mIndexMax = volIndexMax; } in setVolumeIndexMax() 105 int getVolumeIndexMax() const { return mIndexMax; } in getVolumeIndexMax() 140 return vc->volIndexToDb(indexInUi, mIndexMin, mIndexMax); in volIndexToDb() 153 int mIndexMax; /**< max volume index. */ variable
|
D | StreamDescriptor.h | 38 int getVolumeIndexMax() const { return mIndexMax; } in getVolumeIndexMax() 59 int mIndexMax; /**< max volume index. */ variable
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | StreamDescriptor.cpp | 38 : mIndexMin(0), mIndexMax(1), mCanBeMuted(true) in StreamDescriptor() 43 mIndexCur.add(AUDIO_DEVICE_OUT_DEFAULT_FOR_VOLUME, mIndexMax); in StreamDescriptor() 73 mIndexMax = volIndexMax; in setVolumeIndexMax() 89 mCanBeMuted ? "true " : "false", mIndexMin, mIndexMax); in dump()
|
D | VolumeCurve.cpp | 95 mCanBeMuted ? "true " : "false", mIndexMin, mIndexMax); in dump()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 1016 streamType, streamState.mIndexMin / 10, streamState.mIndexMax / 10); in onAudioServerDied() 4761 private int mIndexMax; field in AudioService.VolumeStreamState 4777 mIndexMax = MAX_STREAM_VOLUME[streamType] * 10; in VolumeStreamState() 4778 AudioSystem.initStreamVolume(streamType, mIndexMin / 10, mIndexMax / 10); in VolumeStreamState() 4828 mIndexMap.put(AudioSystem.DEVICE_OUT_DEFAULT, mIndexMax); in readSettings() 4838 index = mIndexMax; in readSettings() 4890 index = (int)(mIndexMax * 0.5) /10; in getAbsoluteVolumeIndex() 4893 index = (int)(mIndexMax * 0.70) /10; in getAbsoluteVolumeIndex() 4896 index = (int)(mIndexMax * 0.85) /10; in getAbsoluteVolumeIndex() 4899 index = (mIndexMax + 5)/10; in getAbsoluteVolumeIndex() [all …]
|