Home
last modified time | relevance | path

Searched refs:centerXPercentage (Results 1 – 3 of 3) sorted by relevance

/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRangeRuler.ts117 centerXPercentage: number = 0; property in RangeRuler
329 this.centerXPercentage = move_x / (this.canvas?.clientWidth || 0);
330 if (this.centerXPercentage <= 0) {
331 this.centerXPercentage = 0;
332 } else if (this.centerXPercentage >= 1) {
333 this.centerXPercentage = 1;
575 this.range.startNS += this.centerXPercentage * bb * this.scale;
576 this.range.endNS -= (1 - this.centerXPercentage) * bb * this.scale;
599 this.range.startNS -= this.centerXPercentage * bb * this.scale;
600 this.range.endNS += (1 - this.centerXPercentage) * bb * this.scale;
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerTimeline.ts396 centerXPercentage: number = 0;
616 this.centerXPercentage = x / (this.frame.width || 0);
617 if (this.centerXPercentage <= 0) {
618 this.centerXPercentage = 0;
619 } else if (this.centerXPercentage >= 1) {
620 this.centerXPercentage = 1;
670 … this.range.startNS += (this.centerXPercentage * this.currentDuration * 2 * this.scale) / this.p;
671 …this.range.endNS -= ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale) / this.…
681 … this.range.startNS -= (this.centerXPercentage * this.currentDuration * 2 * this.scale) / this.p;
682 …this.range.endNS += ((1 - this.centerXPercentage) * this.currentDuration * 2 * this.scale) / this.…
[all …]
/developtools/smartperf_host/ide/test/trace/component/trace/timer-shaft/
DRangeRuler.test.ts239 rangeRuler.centerXPercentage = jest.fn(() => -1);