Searched refs:old_min (Results 1 – 4 of 4) sorted by relevance
/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/ |
D | util.py | 217 def ScaleData(data, old_min, old_max, new_min, new_max): argument 226 if old_min == old_max: 229 scale = (new_max - new_min) / float(old_max - old_min) 230 translate = new_min - scale * old_min
|
D | base_encoder_test.py | 444 def FakeScale(self, data, old_min, old_max, new_min, new_max): argument 445 self.min = old_min
|
/external/skia/src/fonts/ |
D | SkFontMgr_fontconfig.cpp | 161 int old_min, int old_max, int new_min, int new_max) { in map_range() argument 162 SkASSERT(old_min < old_max); in map_range() 164 return new_min + SkMulDiv(value - old_min, in map_range() 165 new_max - new_min, old_max - old_min); in map_range()
|
/external/skia/src/ports/ |
D | SkFontMgr_fontconfig.cpp | 259 SkFixed old_min, SkFixed old_max, in map_range() argument 262 SkASSERT(old_min < old_max); in map_range() 264 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min); in map_range()
|