Searched refs:canvasHeight (Results 1 – 2 of 2) sorted by relevance
/external/perfetto/ui/src/frontend/ |
D | panel_container.ts | 65 private canvasHeight = 0; 252 this.canvasHeight = Math.floor( 257 canvas.style.height = `${this.canvasHeight}px`; 264 scrollLimiter.style.height = `${this.canvasHeight}px`; 270 ctx.canvas.height = this.canvasHeight * dpr; 322 return yEnd > 0 && yStart < this.canvasHeight; 328 this.ctx.clearRect(0, 0, this.parentWidth, this.canvasHeight); 339 new FlowEventsRendererArgs(this.parentWidth, this.canvasHeight);
|
D | flow_events_renderer.ts | 73 constructor(public canvasWidth: number, public canvasHeight: number) { property in FlowEventsRendererArgs 138 y: Math.min(Math.max(0, y), args.canvasHeight), 160 ctx.rect(0, 0, args.canvasWidth - TRACK_SHELL_WIDTH, args.canvasHeight);
|