Searched refs:zeroY (Results 1 – 2 of 2) sorted by relevance
/external/perfetto/ui/src/tracks/cpu_freq/ |
D | frontend.ts | 70 const zeroY = MARGIN_TOP + RECT_HEIGHT; constant 96 return zeroY - Math.round((value / yMax) * RECT_HEIGHT); 107 ctx.moveTo(Math.max(calculateX(data.timestamps[startIdx]), 0), zeroY); 109 let lastDrawnY = zeroY; 132 ctx.lineTo(finalX, zeroY); 133 ctx.lineTo(endPx, zeroY); 156 const height = calculateY(data.lastFreqKHz[i]) - zeroY; 158 ctx.fillRect(x, zeroY, width, height); 173 const y = zeroY - Math.round((this.hoveredValue / yMax) * RECT_HEIGHT);
|
/external/perfetto/ui/src/tracks/counter/ |
D | frontend.ts | 148 const zeroY = MARGIN_TOP + RECT_HEIGHT / (minimumValue < 0 ? 2 : 1); constant 198 ctx.moveTo(calculateX(data.timestamps[0]), zeroY); 199 let lastDrawnY = zeroY; 218 ctx.lineTo(endPx, zeroY); 227 ctx.moveTo(0, zeroY); 228 ctx.lineTo(endPx, zeroY);
|