| /developtools/smartperf_host/ide/src/trace/bean/ |
| D | CpuStruct.ts | 69 … cpuBeanStructCanvasCtx.fillText(cpuBeanProcess, x1, y, cpuBeanStructWidth - textPadding * 2); 74 cpuBeanStructCanvasCtx.fillText( 86 … cpuBeanStructCanvasCtx.fillText(cpuBeanThread, x2, y + 2, cpuBeanStructWidth - textPadding * 2); 91 cpuBeanStructCanvasCtx.fillText(
|
| /developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/ |
| D | SportRuler.ts | 222 this.context2D.fillText(`${this.range.xsTxt[index]}`, item + 3, this.frame.y + 12); 250 this.context2D.fillText(`${txt}`, start_X + (lineWidth - textWidth) / 2, this.frame.y + 20); 253 this.context2D.fillText(`${txt}`, start_X - 5 - textWidth, this.frame.y + 20); 255 this.context2D.fillText(`${txt}`, endX + 5, this.frame.y + 20); 333 this.context2D.fillText(String(countArr[i - 1]), textY, this.frame.y + 22 + 12); 561 this.context2D.fillText(`${txt}`, startX + (lineWidth - txtWidth) / 2, this.frame.y + 20); 564 this.context2D.fillText(`${txt}`, startX - 5 - txtWidth, this.frame.y + 20); 566 this.context2D.fillText(`${txt}`, endX + 5, this.frame.y + 20); 608 … this.context2D.fillText(`${text}`, startX + (lineWidth - textWidth) / 2, this.frame.y + 43); 611 this.context2D.fillText(`${text}`, startX - 5 - textWidth, this.frame.y + 43); [all …]
|
| D | TimeRuler.ts | 54 this.context2D.fillText(`${ns2s(index * this.stepNS)}`, x + 5, this.frame.height - 1);
|
| /developtools/smartperf_host/ide/src/trace/component/setting/ |
| D | SpWebHdcShell.ts | 248 let fillText = ''; variable 253 this.shellCanvasCtx!.measureText(fillText).width < maxBackSize && 254 this.shellCanvasCtx!.measureText(fillText + text).width >= maxBackSize 257 fillText += text; 261 fillText += text; 263 return fillText.length; 341 this.shellCanvasCtx!.fillText(shellStr, SpWebHdcShell.LEFT_OFFSET, this.textY);
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerHeapSnapshot.ts | 158 … ctx.fillText(str, x, Math.floor(frame.y + frame.height / location + textPadding), maxTextWidth); 164 ctx.fillText( 171 ctx.fillText(
|
| D | ProcedureWorkerEnergyAnomaly.ts | 102 req.context.fillText('System Abnormality', canvasEndX - textPadding, 18); 109 req.context.fillText('Application Abnormality', lastTextMargin, 18); 201 ctx.fillText('E', x + 7, y + 23);
|
| D | ProcedureWorkerCommon.ts | 705 timerShaftEl.ctx.fillText(timeText, textPointX, locationY); 857 context.fillText(avgFrameRate, textX, textY - 8); 963 ctx.fillText(avgFrameRate, textX, textY - 8); 1052 wakeUpContext.fillText(s, xStart, y - 2); 1370 ctx.fillText(loadingText, (firstPx - loadingTextWidth) / 2, row.frame.height / 2); 1373 …ctx.fillText(loadingText, lastPx + (row.frame.width - lastPx) / 2 - loadingTextWidth / 2, row.fram… 1387 ctx.fillText(str, x2, Math.floor(frame.y + frame.height / 2), fillTextWidth); 1393 … ctx.fillText(str.substring(0, 1), x1, Math.floor(frame.y + frame.height / 2), fillTextWidth); 1395 …ctx.fillText(str.substring(0, chatNum - 1) + '...', x1, Math.floor(frame.y + frame.height / 2), fi… 1420 ctx.fillText(str1, x, y1, fillTextWidth); [all …]
|
| D | ProcedureWorkerSnapshot.ts | 317 … ctx.fillText(str, x, Math.floor(frame.y + frame.height / location + textPadding), fillTextWidth); 323 ctx.fillText( 330 ctx.fillText(
|
| D | ProcedureWorkerEnergySystem.ts | 111 … req.context.fillText(textList[index], canvasEndX - EnergySystemStruct.itemNumber * 120 + 10, 18); 118 req.context.fillText(textList[index], EnergySystemStruct.currentTextWidth + 12, 18);
|
| D | ProcedureWorkerEnergyPower.ts | 65 powerReq.context.fillText(s, 4, 5 + 9); 87 …req.context.fillText(textList[index], canvasEndX - EnergyPowerStruct.powerItemNumber * 80 + 10, 18… 94 req!.context.fillText(textList[index], EnergyPowerStruct.currentTextWidth + 12, 18);
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/cpu/ |
| D | ProcedureWorkerCPU.ts | 289 ctx.fillText(data.displayProcess, x1, y, textFillWidth); 295 ctx.fillText(data.displayProcess.substring(0, 1), x1, y, textFillWidth); 297 … ctx.fillText(data.displayProcess.substring(0, chatNum - 1) + '...', x1, y, textFillWidth); 304 ctx.fillText(data.displayThread, x2, y + 2, textFillWidth); 310 ctx.fillText(data.displayThread.substring(0, 1), x1, y + 2, textFillWidth); 312 … ctx.fillText(data.displayThread.substring(0, chatNum - 1) + '...', x1, y + 2, textFillWidth);
|
| /developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
| D | ProcedureWorkerCPU.test.ts | 220 fillText: jest.fn(() => true), 270 fillText: jest.fn(() => true),
|
| D | ProcedureWorkerMem.test.ts | 111 fillText: jest.fn(() => true),
|
| D | ProcedureWorkerMemoryAbility.test.ts | 103 fillText: jest.fn(() => []),
|
| D | ProcedureWorkerDiskIoAbility.test.ts | 125 fillText: jest.fn(() => true),
|
| D | ProcedureWorkerHiPerfProcess.test.ts | 96 fillText: jest.fn(() => true),
|
| D | ProcedureWorkerCpuFreqLimits.test.ts | 111 fillText: jest.fn(() => true),
|
| D | ProcedureWorkerEnergyAnomaly.test.ts | 159 fillText: jest.fn(() => true),
|
| D | ProcedureWorkerHiPerfEvent.test.ts | 127 fillText: jest.fn(() => true),
|
| D | ProcedureWorkerHiPerfThread.test.ts | 125 fillText: jest.fn(() => []),
|
| D | ProcedureWorkerEnergyState.test.ts | 146 fillText: jest.fn(() => true),
|
| D | ProduceWorkerSdkSlice.test.ts | 159 fillText: jest.fn(() => false),
|
| D | ProduceWorkerSdkCounter.test.ts | 175 fillText: jest.fn(() => false),
|
| D | ProcedureWorkerFPS.test.ts | 147 fillText: jest.fn(() => true),
|
| /developtools/smartperf_host/ide/src/base-ui/chart/column/ |
| D | LitChartColumn.ts | 353 c.fillText(it.label, this.offset!.x! - c.measureText(it.label).width - 2, it.y + 11); 355 c.fillText(it.label, this.offset!.x! - c.measureText(it.label).width - 2, it.y + 4); 396 c.fillText(it.xLabel!, it.centerX! - xMetrics.width / 2, it.frame!.y + it.frame!.h + 15); 401 c.fillText(
|