Home
last modified time | relevance | path

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

/external/toolchain-utils/cros_utils/
Dtabulator.py836 def _GetColor(self, value, low, mid, high, power=6, mid_value=1.0): argument
841 if value > mid_value:
842 value = max_value - mid_value / value
844 return self._GetColorBetweenRange(value, min_value, mid_value, max_value,
847 def _GetColorBetweenRange(self, value, min_value, mid_value, max_value, argument
851 if value > mid_value:
852 value = (max_value - value) / (max_value - mid_value)
856 value = (value - min_value) / (mid_value - min_value)
874 mid_value=0.05,
921 mid_value=0.02,