Searched refs:volIdx (Results 1 – 2 of 2) sorted by relevance
222 int volIdx = (nbSteps * (indexInUi - indexMin)) / (indexMax - indexMin); in volIndexToDb() local226 if (volIdx < curve[Volume::VOLMIN].mIndex) { // out of bounds in volIndexToDb()228 } else if (volIdx < curve[Volume::VOLKNEE1].mIndex) { in volIndexToDb()230 } else if (volIdx < curve[Volume::VOLKNEE2].mIndex) { in volIndexToDb()232 } else if (volIdx <= curve[Volume::VOLMAX].mIndex) { in volIndexToDb()240 ((float)(volIdx - curve[segment].mIndex)) * in volIndexToDb()247 curve[segment].mIndex, volIdx, in volIndexToDb()
39 int volIdx = (nbSteps * (indexInUi - volIndexMin)) / (volIndexMax - volIndexMin); in volIndexToDb() local42 size_t indexInUiPosition = mCurvePoints.orderOf(CurvePoint(volIdx, 0)); in volIndexToDb()55 ((float)(volIdx - mCurvePoints[indexInUiPosition - 1].mIndex)) * in volIndexToDb()63 mCurvePoints[indexInUiPosition - 1].mIndex, volIdx, in volIndexToDb()