Home
last modified time | relevance | path

Searched refs:fillText (Results 1 – 25 of 48) sorted by relevance

12

/developtools/smartperf_host/ide/src/trace/bean/
DCpuStruct.ts69 … 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/
DSportRuler.ts222 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 …]
DTimeRuler.ts54 this.context2D.fillText(`${ns2s(index * this.stepNS)}`, x + 5, this.frame.height - 1);
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpWebHdcShell.ts248 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/
DProcedureWorkerHeapSnapshot.ts158 … ctx.fillText(str, x, Math.floor(frame.y + frame.height / location + textPadding), maxTextWidth);
164 ctx.fillText(
171 ctx.fillText(
DProcedureWorkerEnergyAnomaly.ts102 req.context.fillText('System Abnormality', canvasEndX - textPadding, 18);
109 req.context.fillText('Application Abnormality', lastTextMargin, 18);
201 ctx.fillText('E', x + 7, y + 23);
DProcedureWorkerCommon.ts705 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 …]
DProcedureWorkerSnapshot.ts317 … ctx.fillText(str, x, Math.floor(frame.y + frame.height / location + textPadding), fillTextWidth);
323 ctx.fillText(
330 ctx.fillText(
DProcedureWorkerEnergySystem.ts111 … req.context.fillText(textList[index], canvasEndX - EnergySystemStruct.itemNumber * 120 + 10, 18);
118 req.context.fillText(textList[index], EnergySystemStruct.currentTextWidth + 12, 18);
DProcedureWorkerEnergyPower.ts65 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/
DProcedureWorkerCPU.ts289 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/
DProcedureWorkerCPU.test.ts220 fillText: jest.fn(() => true),
270 fillText: jest.fn(() => true),
DProcedureWorkerMem.test.ts111 fillText: jest.fn(() => true),
DProcedureWorkerMemoryAbility.test.ts103 fillText: jest.fn(() => []),
DProcedureWorkerDiskIoAbility.test.ts125 fillText: jest.fn(() => true),
DProcedureWorkerHiPerfProcess.test.ts96 fillText: jest.fn(() => true),
DProcedureWorkerCpuFreqLimits.test.ts111 fillText: jest.fn(() => true),
DProcedureWorkerEnergyAnomaly.test.ts159 fillText: jest.fn(() => true),
DProcedureWorkerHiPerfEvent.test.ts127 fillText: jest.fn(() => true),
DProcedureWorkerHiPerfThread.test.ts125 fillText: jest.fn(() => []),
DProcedureWorkerEnergyState.test.ts146 fillText: jest.fn(() => true),
DProduceWorkerSdkSlice.test.ts159 fillText: jest.fn(() => false),
DProduceWorkerSdkCounter.test.ts175 fillText: jest.fn(() => false),
DProcedureWorkerFPS.test.ts147 fillText: jest.fn(() => true),
/developtools/smartperf_host/ide/src/base-ui/chart/column/
DLitChartColumn.ts353 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(

12