Home
last modified time | relevance | path

Searched refs:timeRuler (Results 1 – 4 of 4) sorted by relevance

/developtools/smartperf_host/ide/test/trace/component/trace/timer-shaft/
DTimeRuler.test.ts68 let timeRuler = new TimeRuler( variable
79 timeRuler.c = ctx;
82 expect(timeRuler.draw()).toBeUndefined();
/developtools/smartperf_host/ide/test/trace/component/trace/
DTimerShaftElement.test.ts85 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/
DTimerShaftElement.ts130 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/
DProcedureWorkerTimeline.ts22 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();