Searched refs:mIndexMax (Results 1 – 3 of 3) sorted by relevance
3478 private int mIndexMax; field in AudioService.VolumeStreamState3488 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 …]
558 int mIndexMax; // max volume index variable
1801 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()