Home
last modified time | relevance | path

Searched refs:mIndexMax (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DVolumeCurve.h75 VolumeCurvesForStream() : mIndexMin(0), mIndexMax(1), mCanBeMuted(true) in VolumeCurvesForStream()
105 void setVolumeIndexMax(int volIndexMax) { mIndexMax = volIndexMax; } in setVolumeIndexMax()
106 int getVolumeIndexMax() const { return mIndexMax; } in getVolumeIndexMax()
139 return getCurvesFor(deviceCat)->volIndexToDb(indexInUi, mIndexMin, mIndexMax); in volIndexToDb()
148 int mIndexMax; /**< max volume index. */ variable
DStreamDescriptor.h38 int getVolumeIndexMax() const { return mIndexMax; } in getVolumeIndexMax()
59 int mIndexMax; /**< max volume index. */ variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DStreamDescriptor.cpp38 : 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()
DVolumeCurve.cpp87 mCanBeMuted ? "true " : "false", mIndexMin, mIndexMax); in dump()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java824 streamType, streamState.mIndexMin / 10, streamState.mIndexMax / 10); in onAudioServerDied()
3839 private final int mIndexMax; field in AudioService.VolumeStreamState
3855 mIndexMax = MAX_STREAM_VOLUME[streamType] * 10; in VolumeStreamState()
3856 AudioSystem.initStreamVolume(streamType, mIndexMin / 10, mIndexMax / 10); in VolumeStreamState()
3899 mIndexMap.put(AudioSystem.DEVICE_OUT_DEFAULT, mIndexMax); in readSettings()
3910 index = mIndexMax; in readSettings()
3956 index = (int)(mIndexMax * 0.5) /10; in getAbsoluteVolumeIndex()
3959 index = (int)(mIndexMax * 0.70) /10; in getAbsoluteVolumeIndex()
3962 index = (int)(mIndexMax * 0.85) /10; in getAbsoluteVolumeIndex()
3965 index = (mIndexMax + 5)/10; in getAbsoluteVolumeIndex()
[all …]