Lines Matching refs:timeScale
46 const timescale = globals.frontendLocalState.timeScale;
74 const timeScale = globals.frontendLocalState.timeScale; constant
80 for (const xAndTime of gridlines(size.width, range, timeScale)) {
89 if ((note.noteType !== 'AREA' && !timeScale.timeInBounds(timestamp)) ||
91 !timeScale.timeInBounds(note.area.endSec) &&
92 !timeScale.timeInBounds(note.area.startSec))) {
102 const x = timeScale.timeToPx(timestamp);
111 timeScale.timeToPx(note.area.endSec) + TRACK_SHELL_WIDTH),
137 const timestamp = timeScale.pxToTime(this.hoveredX);
138 if (timeScale.timeInBounds(timestamp)) {
140 const x = timeScale.timeToPx(timestamp);
155 if (x >= globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH) {
178 globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH) -
209 const timeScale = globals.frontendLocalState.timeScale; constant
210 const timestamp = timeScale.pxToTime(x);
231 const timeScale = globals.frontendLocalState.timeScale; constant
232 const noteX = timeScale.timeToPx(note.timestamp);
235 (timeScale.timeToPx(note.area.endSec) > x &&
236 x > timeScale.timeToPx(note.area.endSec) - AREA_TRIANGLE_WIDTH);