Home
last modified time | relevance | path

Searched refs:zeroY (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/ui/src/tracks/counter/
Dfrontend.ts68 const zeroY = MARGIN_TOP + RECT_HEIGHT / (data.minimumValue < 0 ? 2 : 1); constant
71 let lastY = zeroY;
102 const nextY = zeroY - Math.round((value / yRange) * RECT_HEIGHT);
111 ctx.lineTo(endPx, zeroY);
120 ctx.moveTo(0, zeroY);
121 ctx.lineTo(endPx, zeroY);
141 const y = zeroY - Math.round((this.hoveredValue / yRange) * RECT_HEIGHT);
/external/perfetto/ui/src/tracks/cpu_freq/
Dfrontend.ts71 const zeroY = MARGIN_TOP + RECT_HEIGHT; constant
74 let lastY = zeroY;
101 const nextY = zeroY - Math.round((value / yMax) * RECT_HEIGHT);
114 ctx.lineTo(finalX, zeroY);
115 ctx.lineTo(endPx, zeroY);
129 const lastY = zeroY - Math.round((value / yMax) * RECT_HEIGHT);
150 const y = zeroY - Math.round((this.hoveredValue / yMax) * RECT_HEIGHT);