Searched refs:timeRuler (Results 1 – 4 of 4) sorted by relevance
/developtools/smartperf_host/ide/test/trace/component/trace/timer-shaft/ |
D | TimeRuler.test.ts | 68 let timeRuler = new TimeRuler( variable 79 timeRuler.c = ctx; 82 expect(timeRuler.draw()).toBeUndefined();
|
/developtools/smartperf_host/ide/test/trace/component/trace/ |
D | TimerShaftElement.test.ts | 85 timerShaftElement.timeRuler = jest.fn(() => false); 87 timerShaftElement.timeRuler.frame = jest.fn(() => { 154 timerShaftElement.timeRuler = jest.fn(() => undefined); 155 timerShaftElement.timeRuler.frame = jest.fn(() => Rect); 156 timerShaftElement.timeRuler.frame.width = jest.fn(() => 1); 201 timerShaftElement.timeRuler = jest.fn(() => true);
|
/developtools/smartperf_host/ide/src/trace/component/trace/ |
D | TimerShaftElement.ts | 130 protected timeRuler: TimeRuler | undefined; property in TimerShaftElement 165 if (this.timeRuler) this.timeRuler.totalNS = value; 259 if (!this.timeRuler) { 260 this.timeRuler = new TimeRuler(this, new Rect(0, 0, width, 20), this._totalNS); 262 this.timeRuler.frame.width = width; 344 this.timeRuler!.frame.width = oldWidth; 411 this.timeRuler?.draw();
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
D | ProcedureWorkerTimeline.ts | 22 let timeRuler: TimeRuler | undefined; variable 49 if (timeRuler == undefined) { 50 timeRuler = new TimeRuler(canvas, ctx, new Rect(0, 0, frame.width, 20), totalNS); 79 timeRuler.frame.width = frame.width; 103 timeRuler!.draw();
|