Searched refs:indexInUi (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | VolumeCurve.cpp | 25 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()
|
D | Gains.cpp | 218 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()
|
D | StreamDescriptor.cpp | 149 int indexInUi) const in volIndexToDb() 154 indexInUi); in volIndexToDb()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | VolumeCurve.h | 60 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()
|
D | IVolumeCurvesCollection.h | 38 int indexInUi) const = 0;
|
D | Gains.h | 33 int indexInUi);
|
D | StreamDescriptor.h | 89 int indexInUi) const;
|