Lines Matching refs:firstTime
807 let firstTime = file.ticks[0].tm;
812 start = (start / width) * (lastTime - firstTime) + firstTime;
813 end = (end / width) * (lastTime - firstTime) + firstTime;
853 let firstTime = file.ticks[0].tm;
857 firstTime + left / this.canvas.width * (lastTime - firstTime);
859 firstTime + right / this.canvas.width * (lastTime - firstTime);
937 let firstTime = file.ticks[0].tm;
939 let start = Math.max(this.currentState.start, firstTime);
942 this.selectionStart = (start - firstTime) / (lastTime - firstTime) * width;
943 this.selectionEnd = (end - firstTime) / (lastTime - firstTime) * width;
1008 let timestampScaler = width / (lastTime - firstTime);
1009 let timestampToX = (t) => Math.round((t - firstTime) * timestampScaler);