Home
last modified time | relevance | path

Searched refs:indexInUi (Results 1 – 7 of 7) 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()
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()
DGains.cpp218 float Gains::volIndexToDb(const VolumeCurvePoint *curve, int indexMin, int indexMax, int indexInUi) in volIndexToDb() argument
222 int volIdx = (nbSteps * (indexInUi - indexMin)) / (indexMax - indexMin); in volIndexToDb()
DStreamDescriptor.cpp149 int indexInUi) const in volIndexToDb()
154 indexInUi); in volIndexToDb()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DVolumeCurve.h60 float volIndexToDb(int indexInUi, int volIndexMin, int volIndexMax) const;
136 float volIndexToDb(device_category deviceCat, int indexInUi) const in volIndexToDb() argument
140 return vc->volIndexToDb(indexInUi, mIndexMin, mIndexMax); in volIndexToDb()
210 virtual float volIndexToDb(audio_stream_type_t stream, device_category cat, int indexInUi) const in volIndexToDb() argument
212 return getCurvesFor(stream).volIndexToDb(cat, indexInUi); in volIndexToDb()
DIVolumeCurvesCollection.h38 int indexInUi) const = 0;
DGains.h33 int indexInUi);
DStreamDescriptor.h89 int indexInUi) const;