Searched refs:mIndexMax (Results 1 – 3 of 3) sorted by relevance
3313 private int mIndexMax; field in AudioService.VolumeStreamState3323 mIndexMax = MAX_STREAM_VOLUME[streamType]; in VolumeStreamState()3324 AudioSystem.initStreamVolume(streamType, 0, mIndexMax); in VolumeStreamState()3325 mIndexMax *= 10; in VolumeStreamState()3346 mIndex.put(AudioSystem.DEVICE_OUT_DEFAULT, mIndexMax); in readSettings()3357 index = mIndexMax; in readSettings()3396 index = (mIndexMax + 5)/10; in applyDeviceVolume()3427 index = (mIndexMax + 5)/10; in applyAllVolumes()3448 index = mIndexMax; in setIndex()3490 return mIndexMax; in getMaxIndex()[all …]
525 int mIndexMax; // max volume index variable
1559 mStreams[stream].mIndexMax = indexMax; in initStreamVolume()1567 if ((index < mStreams[stream].mIndexMin) || (index > mStreams[stream].mIndexMax)) { in setStreamVolumeIndex()1575 if (!mStreams[stream].mCanBeMuted) index = mStreams[stream].mIndexMax; in setStreamVolumeIndex()4791 (streamDesc.mIndexMax - streamDesc.mIndexMin); in volIndexToAmpl()5082 voiceVolume = (float)index/(float)mStreams[stream].mIndexMax; in checkAndSetVolume()5507 : mIndexMin(0), mIndexMax(1), mCanBeMuted(true) in StreamDescriptor()5529 mCanBeMuted ? "true " : "false", mIndexMin, mIndexMax); in dump()