Searched refs:inputRange (Results 1 – 2 of 2) sorted by relevance
140 float inputRange = MAX_RSSI - MIN_RSSI; in setLevel() local142 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel()
2544 float inputRange = (MAX_RSSI - MIN_RSSI);2546 return (int)((float)(rssi - MIN_RSSI) * outputRange / inputRange);