Searched refs:tickGen (Results 1 – 3 of 3) sorted by relevance
/external/perfetto/ui/src/frontend/ |
D | gridline_helper_unittest.ts | 36 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);
|
D | time_axis_panel.ts | 55 const tickGen = constant 57 for (const {type, time} of tickGen) { 62 ctx.fillText(sec.toFixed(tickGen.digits) + ' s', position + 5, 10);
|
D | overview_timeline_panel.ts | 91 const tickGen = new TickGenerator( constant 97 for (const {type, time} of tickGen) { 104 ctx.fillText(sec.toFixed(tickGen.digits) + ' s', xPos + 5, 18);
|