Searched refs:outputRange (Results 1 – 2 of 2) sorted by relevance
138 float outputRange = maxSignalLevel; in setLevel() local139 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel()
2968 float outputRange = (numLevels - 1); in calculateSignalLevel() local2969 return (int)((float)(rssi - MIN_RSSI) * outputRange / inputRange); in calculateSignalLevel()