Searched refs:mapRange (Results 1 – 6 of 6) sorted by relevance
/external/chromium-trace/catapult/experimental/heatmap/ |
D | color.js | 35 r = mapRange(brightness, 1, 2, r, 255); 36 g = mapRange(brightness, 1, 2, g, 255); 37 b = mapRange(brightness, 1, 2, b, 255);
|
D | renderer.js | 73 y = Math.floor(mapRange(value, this.min, this.max, 0, this.resolution)); 124 var brightness = mapRange(count / cutoff, 0, 1, 2, 0); 156 var y = mapRange(value, this.min, this.max, 0, this.h);
|
D | input.js | 38 var time = Math.floor(mapRange(x, 0, this.w, 0, this.revisions.length)); 43 var bucket = Math.floor(mapRange(y, this.h, 0, 0, this.resolution));
|
D | draw.js | 40 var brightness = mapRange(count / cutoff, 0, 1, 2, 0.5); 75 var bucket = mapRange(value, this.min, this.max, 0, this.h);
|
D | math.js | 9 function mapRange(value, start1, stop1, start2, stop2) { function
|
D | calculate.js | 80 var bucket = Math.floor(mapRange(value, this.min, this.max, 0, this.resolution));
|