HomeSort by relevance Sort by last modified time
    Searched refs:old_min (Results 1 - 4 of 4) sorted by null

  /external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/
util.py 217 def ScaleData(data, old_min, old_max, new_min, new_max):
218 """Scale the input data so that the range old_min-old_max maps to
226 if old_min == old_max:
229 scale = (new_max - new_min) / float(old_max - old_min)
230 translate = new_min - scale * old_min
base_encoder_test.py 444 def FakeScale(self, data, old_min, old_max, new_min, new_max):
445 self.min = old_min
  /external/skia/src/fonts/
SkFontMgr_fontconfig.cpp 161 int old_min, int old_max, int new_min, int new_max) {
162 SkASSERT(old_min < old_max);
164 return new_min + SkMulDiv(value - old_min,
165 new_max - new_min, old_max - old_min);
  /external/skia/src/ports/
SkFontMgr_fontconfig.cpp 259 SkFixed old_min, SkFixed old_max,
262 SkASSERT(old_min < old_max);
264 return new_min + SkMulDiv(value - old_min, new_max - new_min, old_max - old_min);
    [all...]

Completed in 78 milliseconds