Home
last modified time | relevance | path

Searched refs:pxToTime (Results 1 – 16 of 16) sorted by relevance

/external/perfetto/ui/src/frontend/
Dtime_scale_unittest.ts26 expect(scale.pxToTime(200)).toEqual(0);
27 expect(scale.pxToTime(1000)).toEqual(100);
28 expect(scale.pxToTime(600)).toEqual(50);
Dviewer_page.ts149 let newTime = scale.pxToTime(currentX - TRACK_SHELL_WIDTH);
157 newTime = Math.max(newTime, scale.pxToTime(scale.startPx));
159 newTime = Math.min(newTime, scale.pxToTime(scale.endPx));
175 scale.pxToTime(startPx), scale.pxToTime(endPx));
Dtime_scale.ts50 pxToTime(px: number): number { method in TimeScale
93 const zoomTime = scale.pxToTime(clampedZoomPx);
Dnotes_panel.ts55 const timestamp = timescale.pxToTime(this.hoveredX);
149 const timestamp = timeScale.pxToTime(this.hoveredX);
223 const timestamp = timeScale.pxToTime(x);
Doverview_timeline_panel.ts86 const t = this.timeScale.pxToTime(xPos);
/external/perfetto/ui/src/frontend/drag/
Douter_drag_strategy.ts20 const dragBeginTime = this.timeScale.pxToTime(this.dragStartPx);
21 const dragEndTime = this.timeScale.pxToTime(x);
Dinner_drag_strategy.ts26 const tStart = this.timeScale.pxToTime(this.pixelBounds[0] + move);
27 const tEnd = this.timeScale.pxToTime(this.pixelBounds[1] + move);
Dborder_drag_strategy.ts27 this.timeScale.pxToTime(this.moveStart ? x : this.pixelBounds[0]);
29 this.timeScale.pxToTime(!this.moveStart ? x : this.pixelBounds[1]);
/external/perfetto/ui/src/tracks/heap_profile/
Dfrontend.ts98 const time = toNs(timeScale.pxToTime(x));
113 const time = toNs(timeScale.pxToTime(x));
/external/perfetto/ui/src/tracks/cpu_profile/
Dfrontend.ts101 const time = toNs(timeScale.pxToTime(x));
116 const time = toNs(timeScale.pxToTime(x));
/external/perfetto/ui/src/tracks/cpu_slices/
Dfrontend.ts236 const t = timeScale.pxToTime(x);
264 const time = timeScale.pxToTime(x);
/external/perfetto/ui/src/tracks/counter/
Dfrontend.ts305 const time = timeScale.pxToTime(x);
325 const time = timeScale.pxToTime(x);
/external/perfetto/ui/src/tracks/thread_state/
Dfrontend.ts135 const time = timeScale.pxToTime(x);
/external/perfetto/ui/src/tracks/process_scheduling/
Dfrontend.ts141 const t = timeScale.pxToTime(x);
/external/perfetto/ui/src/tracks/cpu_freq/
Dfrontend.ts223 const time = timeScale.pxToTime(x);
/external/perfetto/ui/src/tracks/chrome_slices/
Dfrontend.ts198 const t = timeScale.pxToTime(x);