Home
last modified time | relevance | path

Searched refs:volIndexMin (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() argument
32 if (indexInUi < volIndexMin) { in volIndexToDb()
33 ALOGV("VOLUME remapping index from %d to min index %d", indexInUi, volIndexMin); in volIndexToDb()
34 indexInUi = volIndexMin; in volIndexToDb()
39 int volIdx = (nbSteps * (indexInUi - volIndexMin)) / (volIndexMax - volIndexMin); in volIndexToDb()
DStreamDescriptor.cpp66 void StreamDescriptor::setVolumeIndexMin(int volIndexMin) in setVolumeIndexMin() argument
68 mIndexMin = volIndexMin; in setVolumeIndexMin()
138 void StreamDescriptorCollection::setVolumeIndexMin(audio_stream_type_t stream,int volIndexMin) in setVolumeIndexMin() argument
140 return editValueAt(stream).setVolumeIndexMin(volIndexMin); in setVolumeIndexMin()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DStreamDescriptor.h39 void setVolumeIndexMin(int volIndexMin);
106 void setVolumeIndexMin(audio_stream_type_t stream,int volIndexMin);
DVolumeCurve.h60 float volIndexToDb(int indexInUi, int volIndexMin, int volIndexMax) const;
101 void setVolumeIndexMin(int volIndexMin) { mIndexMin = volIndexMin; } in setVolumeIndexMin() argument