Searched refs:NODE_HEIGHT (Results 1 – 1 of 1) sorted by relevance
/external/perfetto/ui/src/frontend/ |
D | flamegraph.ts | 34 const NODE_HEIGHT = 18; constant 160 ctx.fillRect(x, currentY, width, NODE_HEIGHT - 1); 168 ctx.fillText(text, x + 5, currentY + (NODE_HEIGHT - 1) / 2); 169 currentY += NODE_HEIGHT; 198 currentY = y + NODE_HEIGHT * (value.depth + 1); 203 ctx.fillRect(currentX, currentY, width, NODE_HEIGHT - 1); 233 currentY + (NODE_HEIGHT - 1) / 2, 239 ctx.lineTo(currentX + width, currentY + NODE_HEIGHT); 400 Math.trunc((y - this.startingY) / NODE_HEIGHT) - 1; // at 0 is root 420 (this.maxDepth + 2) * NODE_HEIGHT;
|