Searched refs:lineSplitter (Results 1 – 2 of 2) sorted by relevance
/external/perfetto/ui/src/frontend/ |
D | flamegraph_unittest.ts | 20 const lineSplitter = splitIfTooBig(text, 7 + 32, text.length); constant 22 expect(lineSplitter).toEqual({ 31 const lineSplitter = splitIfTooBig(text, 10, 5); constant 33 expect(lineSplitter).toEqual({lines: [], lineWidth: 5}); 39 const lineSplitter = splitIfTooBig(text, text.length + 32, text.length); constant 41 expect(lineSplitter).toEqual({lines: [text], lineWidth: text.length}); 47 const lineSplitter = splitIfTooBig(text, text.length / 2 + 32, text.length); constant 49 expect(lineSplitter).toEqual({
|
D | flamegraph.ts | 270 let lineSplitter: LineSplitter; variable 273 lineSplitter = 275 let textWidth = lineSplitter.lineWidth; 276 lines.push(...lineSplitter.lines); 279 lineSplitter = 281 textWidth = Math.max(textWidth, lineSplitter.lineWidth); 282 lines.push(...lineSplitter.lines); 292 lineSplitter = splitIfTooBig( 294 textWidth = Math.max(textWidth, lineSplitter.lineWidth); 295 lines.push(...lineSplitter.lines); [all …]
|