Home
last modified time | relevance | path

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

/external/perfetto/ui/src/frontend/
Dgridline_helper_unittest.ts36 const tickGen = new TickGenerator(new TPTimeSpan(0n, 10n), 1); constant
49 const actual = Array.from(tickGen!);
51 expect(tickGen!.digits).toEqual(8);
55 const tickGen = new TickGenerator(new TPTimeSpan(10n, 20n), 1); constant
68 const actual = Array.from(tickGen!);
70 expect(tickGen!.digits).toEqual(8);
74 const tickGen = constant
88 const actual = Array.from(tickGen!);
90 expect(tickGen!.digits).toEqual(0);
Dtime_axis_panel.ts55 const tickGen = constant
57 for (const {type, time} of tickGen) {
62 ctx.fillText(sec.toFixed(tickGen.digits) + ' s', position + 5, 10);
Doverview_timeline_panel.ts91 const tickGen = new TickGenerator( constant
97 for (const {type, time} of tickGen) {
104 ctx.fillText(sec.toFixed(tickGen.digits) + ' s', xPos + 5, 18);