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 | 244 let lineSplitter: LineSplitter; variable 246 lineSplitter = 248 let textWidth = lineSplitter.lineWidth; 249 lines.push(...lineSplitter.lines); 252 lineSplitter = 254 textWidth = Math.max(textWidth, lineSplitter.lineWidth); 255 lines.push(...lineSplitter.lines); 265 lineSplitter = splitIfTooBig( 267 textWidth = Math.max(textWidth, lineSplitter.lineWidth); 268 lines.push(...lineSplitter.lines); [all …]
|