Searched defs:curve (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DGains.cpp218 float Gains::volIndexToDb(const VolumeCurvePoint *curve, int indexMin, int indexMax, int indexInUi) argument
221 int nbSteps = 1 + curve[Volume::VOLMAX].mIndex - curve[Volume::VOLMIN].mIndex;
224 // find what part of the curve this index volume belongs to, or if it's out of bounds
226 if (volIdx < curve[Volume::VOLMIN].mIndex) { // out of bounds
228 } else if (volIdx < curve[Volume::VOLKNEE1].mIndex) {
230 } else if (volIdx < curve[Volume::VOLKNEE2].mIndex) {
232 } else if (volIdx <= curve[Volume::VOLMAX].mIndex) {
239 float decibels = curve[segment].mDBAttenuation +
240 ((float)(volIdx - curve[segmen
[all...]
/frameworks/base/wifi/tests/src/android/net/wifi/
H A DWifiNetworkScoreCacheTest.java89 private static ScoredNetwork buildScoredNetwork(WifiKey key, RssiCurve curve) { argument
90 return new ScoredNetwork(new NetworkKey(key), curve);

Completed in 91 milliseconds