Searched refs:volIdx (Results 1 – 2 of 2) sorted by relevance
204 int volIdx = (nbSteps * (indexInUi - indexMin)) / (indexMax - indexMin); in volIndexToDb() local208 if (volIdx < curve[Volume::VOLMIN].mIndex) { // out of bounds in volIndexToDb()210 } else if (volIdx < curve[Volume::VOLKNEE1].mIndex) { in volIndexToDb()212 } else if (volIdx < curve[Volume::VOLKNEE2].mIndex) { in volIndexToDb()214 } else if (volIdx <= curve[Volume::VOLMAX].mIndex) { in volIndexToDb()222 ((float)(volIdx - curve[segment].mIndex)) * in volIndexToDb()229 curve[segment].mIndex, volIdx, in volIndexToDb()
32 int volIdx = (nbSteps * (indexInUi - volIndexMin)) / (volIndexMax - volIndexMin); in volIndexToDb() local35 size_t indexInUiPosition = mCurvePoints.orderOf(CurvePoint(volIdx, 0)); in volIndexToDb()48 ((float)(volIdx - mCurvePoints[indexInUiPosition - 1].mIndex)) * in volIndexToDb()56 mCurvePoints[indexInUiPosition - 1].mIndex, volIdx, in volIndexToDb()