Home
last modified time | relevance | path

Searched refs:volIndexMax (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DVolumeCurve.cpp25 float VolumeCurve::volIndexToDb(int indexInUi, int volIndexMin, int volIndexMax) const in volIndexToDb()
35 } else if (indexInUi > volIndexMax) { in volIndexToDb()
36 ALOGV("VOLUME remapping index from %d to max index %d", indexInUi, volIndexMax); in volIndexToDb()
37 indexInUi = volIndexMax; in volIndexToDb()
39 int volIdx = (nbSteps * (indexInUi - volIndexMin)) / (volIndexMax - volIndexMin); in volIndexToDb()
DStreamDescriptor.cpp71 void StreamDescriptor::setVolumeIndexMax(int volIndexMax) in setVolumeIndexMax() argument
73 mIndexMax = volIndexMax; in setVolumeIndexMax()
143 void StreamDescriptorCollection::setVolumeIndexMax(audio_stream_type_t stream,int volIndexMax) in setVolumeIndexMax() argument
145 return editValueAt(stream).setVolumeIndexMax(volIndexMax); in setVolumeIndexMax()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DStreamDescriptor.h40 void setVolumeIndexMax(int volIndexMax);
107 void setVolumeIndexMax(audio_stream_type_t stream,int volIndexMax);
DVolumeCurve.h60 float volIndexToDb(int indexInUi, int volIndexMin, int volIndexMax) const;
104 void setVolumeIndexMax(int volIndexMax) { mIndexMax = volIndexMax; } in setVolumeIndexMax() argument