Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioService.java3478 private int mIndexMax; field in AudioService.VolumeStreamState
3488 mIndexMax = MAX_STREAM_VOLUME[streamType]; in VolumeStreamState()
3489 AudioSystem.initStreamVolume(streamType, 0, mIndexMax); in VolumeStreamState()
3490 mIndexMax *= 10; in VolumeStreamState()
3512 mIndex.put(AudioSystem.DEVICE_OUT_DEFAULT, mIndexMax); in readSettings()
3523 index = mIndexMax; in readSettings()
3563 index = (mIndexMax + 5)/10; in applyDeviceVolume_syncVSS()
3594 index = (mIndexMax + 5)/10; in applyAllVolumes()
3615 index = mIndexMax; in setIndex()
3657 return mIndexMax; in getMaxIndex()
[all …]
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.h558 int mIndexMax; // max volume index variable
DAudioPolicyManager.cpp1801 mStreams[stream].mIndexMax = indexMax; in initStreamVolume()
1805 mStreams[AUDIO_STREAM_ACCESSIBILITY].mIndexMax = indexMax; in initStreamVolume()
1814 if ((index < mStreams[stream].mIndexMin) || (index > mStreams[stream].mIndexMax)) { in setStreamVolumeIndex()
1822 if (!mStreams[stream].mCanBeMuted) index = mStreams[stream].mIndexMax; in setStreamVolumeIndex()
5416 (streamDesc.mIndexMax - streamDesc.mIndexMin); in volIndexToAmpl()
5755 voiceVolume = (float)index/(float)mStreams[stream].mIndexMax; in checkAndSetVolume()
6190 : mIndexMin(0), mIndexMax(1), mCanBeMuted(true) in StreamDescriptor()
6212 mCanBeMuted ? "true " : "false", mIndexMin, mIndexMax); in dump()