Searched refs:chatNum (Results 1 – 3 of 3) sorted by relevance
| /developtools/smartperf_host/ide/src/trace/bean/ |
| D | CpuStruct.ts | 71 let chatNum = (cpuBeanStructWidth - textPadding * 2) / cpuBeanProcessCharWidth; 75 cpuBeanProcess.substring(0, chatNum - 4) + '...', 88 let chatNum = (cpuBeanStructWidth - textPadding * 2) / cpuBeanThreadCharWidth; 92 cpuBeanThread.substring(0, chatNum - 4) + '...',
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/cpu/ |
| D | ProcedureWorkerCPU.ts | 292 let chatNum = textFillWidth / processCharWidth; 294 if (chatNum < 2) { 297 … ctx.fillText(data.displayProcess.substring(0, chatNum - 1) + '...', x1, y, textFillWidth); 307 let chatNum = textFillWidth / threadCharWidth; 309 if (chatNum < 2) { 312 … ctx.fillText(data.displayThread.substring(0, chatNum - 1) + '...', x1, y + 2, textFillWidth);
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerCommon.ts | 1390 let chatNum = fillTextWidth / charWidth; 1392 if (chatNum < 2) { 1395 …ctx.fillText(str.substring(0, chatNum - 1) + '...', x1, Math.floor(frame.y + frame.height / 2), fi… 1423 let chatNum = fillTextWidth / charWidth; 1425 if (chatNum < 2) { 1428 ctx.fillText(str1.substring(0, chatNum - 1) + '...', x, y1, fillTextWidth); 1437 let chatNum = fillTextWidth / charWidth; variable 1439 if (chatNum < 2) { 1442 ctx.fillText(str2.substring(0, chatNum - 1) + '...', x, y2, fillTextWidth);
|