HomeSort by relevance Sort by last modified time
    Searched refs:volIdx (Results 1 - 2 of 2) sorted by null

  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
Gains.cpp 204 int volIdx = (nbSteps * (indexInUi - indexMin)) / (indexMax - indexMin);
208 if (volIdx < curve[Volume::VOLMIN].mIndex) { // out of bounds
210 } else if (volIdx < curve[Volume::VOLKNEE1].mIndex) {
212 } else if (volIdx < curve[Volume::VOLKNEE2].mIndex) {
214 } else if (volIdx <= curve[Volume::VOLMAX].mIndex) {
222 ((float)(volIdx - curve[segment].mIndex)) *
229 curve[segment].mIndex, volIdx,
VolumeCurve.cpp 32 int volIdx = (nbSteps * (indexInUi - volIndexMin)) / (volIndexMax - volIndexMin);
35 size_t indexInUiPosition = mCurvePoints.orderOf(CurvePoint(volIdx, 0));
48 ((float)(volIdx - mCurvePoints[indexInUiPosition - 1].mIndex)) *
56 mCurvePoints[indexInUiPosition - 1].mIndex, volIdx,

Completed in 135 milliseconds