Home
last modified time | relevance | path

Searched refs:startPx (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/ui/src/frontend/
Dtime_scale.ts75 get startPx(): number { method in TimeScale
87 const startPx = scale.startPx; constant
89 const deltaPx = endPx - startPx; constant
92 const clampedZoomPx = Math.max(startPx, Math.min(endPx, zoomPx));
94 const r = (clampedZoomPx - startPx) / deltaPx;
Dcheckerboard.ts50 startPx: number,
55 if (rightPx <= startPx || leftPx >= endPx) {
56 checkerboard(ctx, heightPx, startPx, endPx);
61 if (leftPx > startPx) {
62 checkerboard(ctx, heightPx, startPx, leftPx);
Dviewer_page.ts157 newTime = Math.max(newTime, scale.pxToTime(scale.startPx));
169 let startPx = Math.min(dragStartX, currentX) - TRACK_SHELL_WIDTH; variable
171 if (startPx < 0 && endPx < 0) return;
172 startPx = Math.max(startPx, scale.startPx);
175 scale.pxToTime(startPx), scale.pxToTime(endPx));
Dtrack.ts92 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start)); constant
94 checkerboard(ctx, this.getHeight(), startPx, endPx);
Dnotes_panel.ts167 if (x >= globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH) {
188 x, globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH);
/external/perfetto/ui/src/tracks/process_summary/
Dfrontend.ts66 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start)); constant
69 let lastX = startPx;