Home | History | Annotate | Download | only in profview

Lines Matching refs:firstTime

703         let firstTime = file.ticks[0].tm;
708 start = (start / width) * (lastTime - firstTime) + firstTime;
709 end = (end / width) * (lastTime - firstTime) + firstTime;
749 let firstTime = file.ticks[0].tm;
753 firstTime + left / this.canvas.width * (lastTime - firstTime);
755 firstTime + right / this.canvas.width * (lastTime - firstTime);
833 let firstTime = file.ticks[0].tm;
835 let start = Math.max(this.currentState.start, firstTime);
838 this.selectionStart = (start - firstTime) / (lastTime - firstTime) * width;
839 this.selectionEnd = (end - firstTime) / (lastTime - firstTime) * width;
904 let timestampScaler = width / (lastTime - firstTime);
905 let timestampToX = (t) => Math.round((t - firstTime) * timestampScaler);