Searched refs:textPadding (Results 1 – 13 of 13) sorted by relevance
| /developtools/smartperf_host/ide/src/trace/bean/ |
| D | CpuStruct.ts | 55 if (cpuBeanStructWidth > textPadding * 2) { 64 if (cpuBeanProcessMeasure.width < cpuBeanStructWidth - textPadding * 2) { 66 … cpuBeanStructWidth / 2 - cpuBeanProcessMeasure.width / 2 + cpuBeanStruct.frame.x + textPadding 69 … cpuBeanStructCanvasCtx.fillText(cpuBeanProcess, x1, y, cpuBeanStructWidth - textPadding * 2); 70 } else if (cpuBeanStructWidth - textPadding * 2 > cpuBeanProcessCharWidth * 4) { 71 let chatNum = (cpuBeanStructWidth - textPadding * 2) / cpuBeanProcessCharWidth; 72 let x1 = cpuBeanStruct.frame.x + textPadding; 78 cpuBeanStructWidth - textPadding * 2 81 if (cpuBeanThreadMeasure.width < cpuBeanStructWidth - textPadding * 2) { 84 … cpuBeanStructWidth / 2 - cpuBeanThreadMeasure.width / 2 + cpuBeanStruct.frame.x + textPadding [all …]
|
| D | CpuFreqStruct.ts | 90 const textPadding = 2; constant
|
| D | FpsStruct.ts | 122 const textPadding = 2; constant
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
| D | ProcedureWorkerHeapSnapshot.ts | 146 textPadding: number, 155 let maxTextWidth = frame.width - textPadding * 2; 157 let x = Math.floor(frame.width / 2 - HeapSnapshotdata.textWidth / 2 + frame.x + textPadding); 158 … ctx.fillText(str, x, Math.floor(frame.y + frame.height / location + textPadding), maxTextWidth); 162 let x = frame.x + textPadding; 167 Math.floor(frame.y + frame.height / location + textPadding), 174 Math.floor(frame.y + frame.height / location + textPadding),
|
| D | ProcedureWorkerSnapshot.ts | 305 textPadding: number, 314 let fillTextWidth = frame.width - textPadding * 2; 316 let x = Math.floor(frame.width / 2 - data.textWidth / 2 + frame.x + textPadding); 317 … ctx.fillText(str, x, Math.floor(frame.y + frame.height / location + textPadding), fillTextWidth); 321 let x = frame.x + textPadding; 326 Math.floor(frame.y + frame.height / location + textPadding), 333 Math.floor(frame.y + frame.height / location + textPadding),
|
| D | ProcedureWorkerEnergyAnomaly.ts | 89 let textPadding: number; 94 textPadding = 270; 102 req.context.fillText('System Abnormality', canvasEndX - textPadding, 18);
|
| D | ProcedureWorkerFrameAnimation.ts | 186 textPadding, 210 const textPadding: number = 5; constant
|
| D | ProcedureWorkerFrameSpacing.ts | 441 let textPadding = 4; 453 ctx.fillText(dashedLines[index].toString(), 0, pointY + multiple * textPadding); 455 ctx.fillText(dashedLines[index].toString(), 0, pointY + textPadding); 457 ctx.fillText(dashedLines[index].toString(), 0, pointY - textPadding);
|
| D | ProcedureWorkerFreq.ts | 130 const textPadding = 2; constant
|
| D | ProcedureWorkerCommon.ts | 1379 export function drawString(ctx: CanvasRenderingContext2D, str: string, textPadding: number, frame: … 1384 let fillTextWidth = frame.width - textPadding * 2; 1386 let x2 = Math.floor(frame.width / 2 - data.textMetricsWidth / 2 + frame.x + textPadding); 1391 let x1 = frame.x + textPadding; 1405 textPadding: number, 1415 let fillTextWidth = frame.width - textPadding * 2; 1419 let x = Math.floor(frame.width / 2 - data.textMetrics1Width / 2 + frame.x + textPadding - 1); 1424 let x = frame.x + textPadding - 1; 1433 let x = Math.floor(frame.width / 2 - data.textMetrics2Width / 2 + frame.x + textPadding - 1); 1438 let x = frame.x + textPadding - 1;
|
| D | ProcedureWorkerFPS.ts | 170 const textPadding = 2; constant
|
| D | ProcedureWorkerMemoryAbility.ts | 212 const textPadding = 2; constant
|
| /developtools/smartperf_host/ide/src/trace/database/ui-worker/cpu/ |
| D | ProcedureWorkerCPU.ts | 271 let textFillWidth = width - textPadding * 2; 288 let x1 = Math.floor(width / 2 - data.measurePWidth / 2 + data.frame.x + textPadding); 293 let x1 = data.frame.x + textPadding; 303 let x2 = Math.floor(width / 2 - data.measureTWidth / 2 + data.frame.x + textPadding); 308 let x1 = data.frame.x + textPadding; 398 const textPadding = 2; constant
|