Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/experimental/heatmap/
Dcolor.js35 r = mapRange(brightness, 1, 2, r, 255);
36 g = mapRange(brightness, 1, 2, g, 255);
37 b = mapRange(brightness, 1, 2, b, 255);
Drenderer.js73 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);
Dinput.js38 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));
Ddraw.js40 var brightness = mapRange(count / cutoff, 0, 1, 2, 0.5);
75 var bucket = mapRange(value, this.min, this.max, 0, this.h);
Dmath.js9 function mapRange(value, start1, stop1, start2, stop2) { function
Dcalculate.js80 var bucket = Math.floor(mapRange(value, this.min, this.max, 0, this.resolution));