Home
last modified time | relevance | path

Searched refs:outputRange (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java141 float outputRange = AccessPoint.SIGNAL_LEVELS - 1; in setLevel() local
142 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java2545 float outputRange = (numLevels - 1);
2546 return (int)((float)(rssi - MIN_RSSI) * outputRange / inputRange);