Searched refs:mid_value (Results 1 – 1 of 1) sorted by relevance
/external/toolchain-utils/cros_utils/ |
D | tabulator.py | 578 def _GetColor(self, value, low, mid, high, power=6, mid_value=1.0): argument 583 if value > mid_value: 584 value = max_value - mid_value / value 586 return self._GetColorBetweenRange(value, min_value, mid_value, max_value, 589 def _GetColorBetweenRange(self, value, min_value, mid_value, max_value, argument 593 if value > mid_value: 594 value = (max_value - value) / (max_value - mid_value) 598 value = (value - min_value) / (mid_value - min_value) 616 mid_value=0.05, 656 mid_value=0.02,
|