Searched refs:inputRange (Results 1 – 2 of 2) sorted by relevance
101 float inputRange = MAX_RSSI - MIN_RSSI; in setLevel() local103 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel()
1789 float inputRange = (MAX_RSSI - MIN_RSSI);1791 return (int)((float)(rssi - MIN_RSSI) * outputRange / inputRange);