Searched refs:TRACK_SHELL_WIDTH (Results 1 – 12 of 12) sorted by relevance
/external/perfetto/ui/src/frontend/ |
D | tickmark_panel.ts | 18 import {TRACK_SHELL_WIDTH} from './css_constants'; 33 ctx.fillRect(TRACK_SHELL_WIDTH - 2, 0, 2, size.height); 47 Math.max(timeScale.timeToPx(tStart), 0) + TRACK_SHELL_WIDTH; 48 const rectEnd = timeScale.timeToPx(tEnd) + TRACK_SHELL_WIDTH; 59 Math.max(timeScale.timeToPx(startSec), 0) + TRACK_SHELL_WIDTH;
|
D | overview_timeline_panel.ts | 21 import {SIDEBAR_WIDTH, TRACK_SHELL_WIDTH} from './css_constants'; 48 this.totTime, [TRACK_SHELL_WIDTH, assertExists(this.width)]); 85 (i * (this.width - TRACK_SHELL_WIDTH) / 100) + TRACK_SHELL_WIDTH; 126 TRACK_SHELL_WIDTH - 1, 128 vizStartPx - TRACK_SHELL_WIDTH, 168 } else if (x < SIDEBAR_WIDTH + TRACK_SHELL_WIDTH) {
|
D | notes_panel.ts | 22 import {TRACK_SHELL_WIDTH} from './css_constants'; 52 this.hoveredX = (e as PerfettoMouseEvent).layerX - TRACK_SHELL_WIDTH; 61 this.hoveredX = (e as PerfettoMouseEvent).layerX - TRACK_SHELL_WIDTH; 75 this.onClick(e.layerX - TRACK_SHELL_WIDTH, e.layerY, isMovie); 87 ctx.fillRect(TRACK_SHELL_WIDTH - 2, 0, 2, size.height); 115 const left = Math.floor(x + TRACK_SHELL_WIDTH); 123 Math.floor(timeScale.timeToPx(area.endSec) + TRACK_SHELL_WIDTH), 153 const left = Math.floor(x + TRACK_SHELL_WIDTH); 167 if (x >= globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH) { 188 x, globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH);
|
D | css_constants.ts | 18 export let TRACK_SHELL_WIDTH = 100; variable 24 TRACK_SHELL_WIDTH = getCssNum('--track-shell-width') || TRACK_SHELL_WIDTH;
|
D | viewer_page.ts | 20 import {TRACK_SHELL_WIDTH} from './css_constants'; 51 const startDrag = mousePos - TRACK_SHELL_WIDTH; constant 79 rect.width - TRACK_SHELL_WIDTH - 125 const zoomPx = zoomedPositionPx - TRACK_SHELL_WIDTH; constant 149 let newTime = scale.pxToTime(currentX - TRACK_SHELL_WIDTH); 169 let startPx = Math.min(dragStartX, currentX) - TRACK_SHELL_WIDTH; 170 let endPx = Math.max(dragStartX, currentX) - TRACK_SHELL_WIDTH;
|
D | time_selection_panel.ts | 20 import {TRACK_SHELL_WIDTH} from './css_constants'; 127 ctx.fillRect(TRACK_SHELL_WIDTH - 2, 0, 2, size.height); 165 const xPos = TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(ts)); 180 x: TRACK_SHELL_WIDTH + xLeft, 191 x: TRACK_SHELL_WIDTH, 193 width: size.width - TRACK_SHELL_WIDTH,
|
D | time_axis_panel.ts | 19 import {TRACK_SHELL_WIDTH} from './css_constants'; 40 ctx.fillText(offsetTime, TRACK_SHELL_WIDTH - 6, 11); 53 ctx.fillRect(TRACK_SHELL_WIDTH - 2, 0, 2, size.height);
|
D | gridline_helper.ts | 17 import {TRACK_BORDER_COLOR, TRACK_SHELL_WIDTH} from './css_constants'; 81 let xPos = TRACK_SHELL_WIDTH; 84 if (xPos < TRACK_SHELL_WIDTH) continue;
|
D | vertical_line_helper.ts | 15 import {TRACK_SHELL_WIDTH} from './css_constants'; 24 const xPos = TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(time));
|
D | track_panel.ts | 21 import {TRACK_SHELL_WIDTH} from './css_constants'; 185 attrs.track.onMouseMove({x: e.layerX - TRACK_SHELL_WIDTH, y: e.layerY}); 217 {x: e.layerX - TRACK_SHELL_WIDTH, y: e.layerY})) { 301 timeScale.timeToPx(selectedArea.startSec) + TRACK_SHELL_WIDTH, 318 ctx.translate(TRACK_SHELL_WIDTH, 0);
|
D | flow_events_renderer.ts | 15 import {TRACK_SHELL_WIDTH} from './css_constants'; 159 ctx.translate(TRACK_SHELL_WIDTH, 0); 160 ctx.rect(0, 0, args.canvasWidth - TRACK_SHELL_WIDTH, args.canvasHeight);
|
D | panel_container.ts | 19 import {TOPBAR_HEIGHT, TRACK_SHELL_WIDTH} from './css_constants'; 100 const realPosX = pos.x - TRACK_SHELL_WIDTH; constant 245 0, this.parentWidth - TRACK_SHELL_WIDTH); 428 this.ctx.translate(TRACK_SHELL_WIDTH, -canvasYStart);
|