Home
last modified time | relevance | path

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

/external/perfetto/ui/src/frontend/
Dtime_scale.ts29 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;
Doverview_timeline_panel.ts55 const pxSpan = new PxSpan(TRACK_SHELL_WIDTH, this.width); constant
57 new TimeScale(traceTime.start, traceTime.duration.nanos, pxSpan);
Dglobals.ts557 if (timeScale.pxSpan.delta === 0) {
647 getTraceTimeScale(pxSpan: PxSpan): TimeScale {
650 return new TimeScale(traceTime.start, traceTime.duration.nanos, pxSpan);
Dviewer_page.ts190 startPx = Math.max(startPx, visibleTimeScale.pxSpan.start);
191 endPx = Math.min(endPx, visibleTimeScale.pxSpan.end);
Dtrack.ts180 const endPx = globals.frontendLocalState.visibleTimeScale.pxSpan.end;
Dbase_slice_track.ts286 const windowSizePx = Math.max(1, timeScale.pxSpan.delta);