Home
last modified time | relevance | path

Searched refs:TRACK_SHELL_WIDTH (Results 1 – 12 of 12) sorted by relevance

/external/perfetto/ui/src/frontend/
Dtickmark_panel.ts18 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;
Doverview_timeline_panel.ts21 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) {
Dnotes_panel.ts22 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);
Dcss_constants.ts18 export let TRACK_SHELL_WIDTH = 100; variable
24 TRACK_SHELL_WIDTH = getCssNum('--track-shell-width') || TRACK_SHELL_WIDTH;
Dviewer_page.ts20 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;
Dtime_selection_panel.ts20 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,
Dtime_axis_panel.ts19 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);
Dgridline_helper.ts17 import {TRACK_BORDER_COLOR, TRACK_SHELL_WIDTH} from './css_constants';
81 let xPos = TRACK_SHELL_WIDTH;
84 if (xPos < TRACK_SHELL_WIDTH) continue;
Dvertical_line_helper.ts15 import {TRACK_SHELL_WIDTH} from './css_constants';
24 const xPos = TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(time));
Dtrack_panel.ts21 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);
Dflow_events_renderer.ts15 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);
Dpanel_container.ts19 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);