Searched refs:pxToTime (Results 1 – 16 of 16) sorted by relevance
26 expect(scale.pxToTime(200)).toEqual(0);27 expect(scale.pxToTime(1000)).toEqual(100);28 expect(scale.pxToTime(600)).toEqual(50);
149 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));
50 pxToTime(px: number): number { method in TimeScale93 const zoomTime = scale.pxToTime(clampedZoomPx);
55 const timestamp = timescale.pxToTime(this.hoveredX);149 const timestamp = timeScale.pxToTime(this.hoveredX);223 const timestamp = timeScale.pxToTime(x);
86 const t = this.timeScale.pxToTime(xPos);
20 const dragBeginTime = this.timeScale.pxToTime(this.dragStartPx);21 const dragEndTime = this.timeScale.pxToTime(x);
26 const tStart = this.timeScale.pxToTime(this.pixelBounds[0] + move);27 const tEnd = this.timeScale.pxToTime(this.pixelBounds[1] + move);
27 this.timeScale.pxToTime(this.moveStart ? x : this.pixelBounds[0]);29 this.timeScale.pxToTime(!this.moveStart ? x : this.pixelBounds[1]);
98 const time = toNs(timeScale.pxToTime(x));113 const time = toNs(timeScale.pxToTime(x));
101 const time = toNs(timeScale.pxToTime(x));116 const time = toNs(timeScale.pxToTime(x));
236 const t = timeScale.pxToTime(x);264 const time = timeScale.pxToTime(x);
305 const time = timeScale.pxToTime(x);325 const time = timeScale.pxToTime(x);
135 const time = timeScale.pxToTime(x);
141 const t = timeScale.pxToTime(x);
223 const time = timeScale.pxToTime(x);
198 const t = timeScale.pxToTime(x);