Searched refs:startPx (Results 1 – 6 of 6) sorted by relevance
/external/perfetto/ui/src/frontend/ |
D | time_scale.ts | 75 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;
|
D | checkerboard.ts | 50 startPx: number, 55 if (rightPx <= startPx || leftPx >= endPx) { 56 checkerboard(ctx, heightPx, startPx, endPx); 61 if (leftPx > startPx) { 62 checkerboard(ctx, heightPx, startPx, leftPx);
|
D | viewer_page.ts | 157 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));
|
D | track.ts | 92 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start)); constant 94 checkerboard(ctx, this.getHeight(), startPx, endPx);
|
D | notes_panel.ts | 167 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/ |
D | frontend.ts | 66 const startPx = Math.floor(timeScale.timeToPx(visibleWindowTime.start)); constant 69 let lastX = startPx;
|