Searched refs:pxSpan (Results 1 – 6 of 6) sorted by relevance
/external/perfetto/ui/src/frontend/ |
D | time_scale.ts | 29 readonly pxSpan: PxSpan; property in TimeScale 33 constructor(start: HighPrecisionTime, durationNanos: number, pxSpan: PxSpan) { 37 this.pxSpan = pxSpan; 40 if (durationNanos <= 0 || pxSpan.delta <= 0) { 43 this._nanosPerPx = durationNanos / (pxSpan.delta); 56 return this.pxSpan.start + timeOffsetNanos / this._nanosPerPx; 61 return this.pxSpan.start + timeOffset / this._nanosPerPx; 66 return this.pxSpan.start + timeOffsetNanos / this._nanosPerPx; 72 const offsetNanos = (px - this.pxSpan.start) * this._nanosPerPx;
|
D | overview_timeline_panel.ts | 55 const pxSpan = new PxSpan(TRACK_SHELL_WIDTH, this.width); constant 57 new TimeScale(traceTime.start, traceTime.duration.nanos, pxSpan);
|
D | globals.ts | 557 if (timeScale.pxSpan.delta === 0) { 647 getTraceTimeScale(pxSpan: PxSpan): TimeScale { 650 return new TimeScale(traceTime.start, traceTime.duration.nanos, pxSpan);
|
D | viewer_page.ts | 190 startPx = Math.max(startPx, visibleTimeScale.pxSpan.start); 191 endPx = Math.min(endPx, visibleTimeScale.pxSpan.end);
|
D | track.ts | 180 const endPx = globals.frontendLocalState.visibleTimeScale.pxSpan.end;
|
D | base_slice_track.ts | 286 const windowSizePx = Math.max(1, timeScale.pxSpan.delta);
|