Lines Matching refs:timeScale
36 private timeScale?: TimeScale;
47 this.timeScale = new TimeScale(
76 if (this.timeScale === undefined) return;
86 const t = this.timeScale.pxToTime(xPos);
105 const xStart = Math.floor(this.timeScale.timeToPx(loads[i].startSec));
106 const xEnd = Math.ceil(this.timeScale.timeToPx(loads[i].endSec));
122 OverviewTimelinePanel.extractBounds(this.timeScale);
160 if (this.timeScale === undefined) return 'default';
162 OverviewTimelinePanel.extractBounds(this.timeScale);
183 if (this.timeScale === undefined) return;
184 const pixelBounds = OverviewTimelinePanel.extractBounds(this.timeScale);
187 this.dragStrategy = new BorderDragStrategy(this.timeScale, pixelBounds);
189 this.dragStrategy = new OuterDragStrategy(this.timeScale);
191 this.dragStrategy = new InnerDragStrategy(this.timeScale, pixelBounds);
200 private static extractBounds(timeScale: TimeScale): [number, number] {
203 Math.floor(timeScale.timeToPx(vizTime[0])),
204 Math.ceil(timeScale.timeToPx(vizTime[1]))