Home
last modified time | relevance | path

Searched refs:drawHeight (Results 1 – 20 of 20) sorted by relevance

/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerFreqExtend.ts96 let drawHeight: number = Math.floor(
99 if (drawHeight < 1) {
100 drawHeight = 1;
102 …eqContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
104 …Context.strokeRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
108 let drawHeight: number = Math.floor(
111 if (drawHeight < 1) {
112 drawHeight = 1;
114 …eqContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
DProcedureWorkerClock.ts99 …let drawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0) * 1.0) / maxValu…
100 if (drawHeight === 0) {
101 drawHeight = 1;
106 …ckContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
108 …clockContext.arc(data.frame.x, data.frame.y + data.frame.height - drawHeight, 3, 0, 2 * Math.PI, t…
113 clockContext.moveTo(data.frame.x + 3, data.frame.y + data.frame.height - drawHeight);
115 clockContext.lineTo(data.frame.x + width, data.frame.y + data.frame.height - drawHeight);
120 …Context.strokeRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
122 …ckContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
DProcedureWorkerFreq.ts104 let drawHeight: number = Math.floor(
107 …eqContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
109 …freqContext.arc(data.frame.x, data.frame.y + data.frame.height - drawHeight, 3, 0, 2 * Math.PI, tr…
114 freqContext.moveTo(data.frame.x + 3, data.frame.y + data.frame.height - drawHeight);
116 freqContext.lineTo(data.frame.x + width, data.frame.y + data.frame.height - drawHeight);
121 …let drawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0)) / CpuFreqStruct…
122 …eqContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
DProcedureWorkerMem.ts103 …let drawHeight: number = ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || …
104 drawHeight = drawHeight > 0 ? drawHeight : 1;
105 …emContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
109 …Context.strokeRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
DProcedureWorkerHeap.ts191 let drawHeight: number = 0;
194 drawHeight = Math.ceil(
199drawHeight = Math.ceil(((data.heapsize || 0) * (data.frame.height || 0)) / data.maxHeapSize);
203 drawHeight = Math.ceil(
207drawHeight = Math.ceil(((data.density || 0) * (data.frame.height || 0)) / data.maxDensity);
213 …apContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
215 …heapContext.arc(data.frame.x, data.frame.y + data.frame.height - drawHeight, 3, 0, 2 * Math.PI, tr…
220 heapContext.moveTo(data.frame.x + 3, data.frame.y + data.frame.height - drawHeight);
222 heapContext.lineTo(data.frame.x + width, data.frame.y + data.frame.height - drawHeight);
227 …apContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
DProcedureWorkerFPS.ts124 … let drawHeight: number = ((data.fps || 0) * (data.frame.height || 0) * 1.0) / FpsStruct.maxFps;
125 …psContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
127 …fpsContext.arc(data.frame.x, data.frame.y + data.frame.height - drawHeight, 3, 0, 2 * Math.PI, tru…
132 fpsContext.moveTo(data.frame.x + 3, data.frame.y + data.frame.height - drawHeight);
134 fpsContext.lineTo(data.frame.x + width, data.frame.y + data.frame.height - drawHeight);
139 … let drawHeight: number = ((data.fps || 0) * (data.frame.height || 0) * 1.0) / FpsStruct.maxFps;
140 …psContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
DProduceWorkerSdkCounter.ts138 …let drawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0) * 1.0) / maxCoun…
139 …ntext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight + 4, width, drawHeight);
141 …sdkCounterContext.arc(data.frame.x, data.frame.y + data.frame.height - drawHeight + 4, 3, 0, 2 * M…
146 … sdkCounterContext.moveTo(data.frame.x + 3, data.frame.y + data.frame.height - drawHeight + 4);
148 … sdkCounterContext.lineTo(data.frame.x + width, data.frame.y + data.frame.height - drawHeight + 4);
152 … let drawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0)) / maxCounter);
153 …ntext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight + 4, width, drawHeight);
DProcedureWorkerCpuAbility.ts107 let drawHeight: number = Math.floor(
110 let y = cpuAbilityData.frame.y + cpuAbilityData.frame.height - drawHeight + 4;
111 cpuAbilityContext2D.fillRect(cpuAbilityData.frame.x, y, width, drawHeight);
125 let drawHeight: number = Math.floor(
128 let rectY = cpuAbilityData.frame.y + cpuAbilityData.frame.height - drawHeight + 4;
129 cpuAbilityContext2D.fillRect(cpuAbilityData.frame.x, rectY, width, drawHeight);
DProcedureWorkerNetworkAbility.ts100 let drawHeight: number = Math.floor(
103 let y = networkAbilityData.frame.y + networkAbilityData.frame.height - drawHeight + 4;
107 networkAbilityContext2D.fillRect(networkAbilityData.frame.x, y, width, drawHeight);
121 let drawHeight: number = Math.floor(
124 networkAbilityContext2D.fillRect(networkAbilityData.frame.x, y, width, drawHeight);
DProcedureWorkerDiskIoAbility.ts158 let drawHeight: number = Math.floor(
161 let y = diskIoAbilityData.frame.y + diskIoAbilityData.frame.height - drawHeight + 4;
162 diskIoAbilityContext.fillRect(diskIoAbilityData.frame.x, y, width, drawHeight);
176 let drawHeight: number = Math.floor(
179 let y = diskIoAbilityData.frame.y + diskIoAbilityData.frame.height - drawHeight + 4;
180 diskIoAbilityContext.fillRect(diskIoAbilityData.frame.x, y, width, drawHeight);
DProcedureWorkerMemoryAbility.ts157 let drawHeight: number = Math.floor(
160 let y = memoryAbilityData.frame.y + memoryAbilityData.frame.height - drawHeight + 4;
164 memoryAbilityContext2D.fillRect(memoryAbilityData.frame.x, y, width, drawHeight);
178 let drawHeight: number = Math.floor(
181 memoryAbilityContext2D.fillRect(memoryAbilityData.frame.x, y, width, drawHeight);
DProcedureWorkerEnergyState.ts152 … let drawHeight: number = Math.floor(((data.value || 0) * (data.frame.height || 0)) / maxState);
155 drawHeight = data.frame.height;
159 …ntext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight + 4, width, drawHeight);
164 pointy -= drawHeight;
DProcedureWorkerVirtualMemory.ts110 …let drawHeight: number = ((data.value || 0) * (data.frame.height || 0) * 1.0) / (data.maxValue || …
111 …ryContext.fillRect(data.frame.x, data.frame.y + data.frame.height - drawHeight, width, drawHeight);
DProcedureWorkerEnergyPower.ts309 …let drawHeight: number = Math.floor(((maxHeight || 0) * (this.rowHeight - 40)) / EnergyPowerStruct…
310 let drawY = data.frame!.y + this.rowHeight - drawHeight + 5;
/developtools/smartperf_host/ide/src/trace/bean/
DHeapStruct.ts38 let drawHeight: number = Math.ceil(
43 heapBeanData.frame.y + heapBeanData.frame.height - drawHeight,
45 drawHeight
50 heapBeanData.frame.y + heapBeanData.frame.height - drawHeight,
62 heapBeanData.frame.y + heapBeanData.frame.height - drawHeight
67 heapBeanData.frame.y + heapBeanData.frame.height - drawHeight
73 let drawHeight: number = Math.ceil(
78 heapBeanData.frame.y + heapBeanData.frame.height - drawHeight,
80 drawHeight
DProcessMemStruct.ts40 let drawHeight: number = Math.floor(
46 processMemBeanStructData.frame.y + processMemBeanStructData.frame.height - drawHeight,
48 drawHeight
53 processMemBeanStructData.frame.y + processMemBeanStructData.frame.height - drawHeight,
65 processMemBeanStructData.frame.y + processMemBeanStructData.frame.height - drawHeight
70 processMemBeanStructData.frame.y + processMemBeanStructData.frame.height - drawHeight
78 let drawHeight: number =
83 processMemBeanStructData.frame.y + processMemBeanStructData.frame.height - drawHeight,
85 drawHeight
DFpsStruct.ts38 let drawHeight: number =
42 fpsBeanStructData.frame.y + fpsBeanStructData.frame.height - drawHeight,
44 drawHeight
49 fpsBeanStructData.frame.y + fpsBeanStructData.frame.height - drawHeight,
61 fpsBeanStructData.frame.y + fpsBeanStructData.frame.height - drawHeight
66 fpsBeanStructData.frame.y + fpsBeanStructData.frame.height - drawHeight
72 let drawHeight: number =
76 fpsBeanStructData.frame.y + fpsBeanStructData.frame.height - drawHeight,
78 drawHeight
DCpuFreqStruct.ts74 let drawHeight: number = Math.floor(
79 freqBeanStruct.frame.y + freqBeanStruct.frame.height - drawHeight,
81 drawHeight
DFrameChartStruct.ts126 const drawHeight = rectHeight - padding * 2; //绘制方块上下留一个像素 constant
136 canvasCtx.fillRect(node.frame.x, node.frame.y, node.frame.width, drawHeight);
152 canvasCtx.strokeRect(node.frame.x, node.frame.y, node.frame.width, drawHeight);
/developtools/smartperf_host/ide/src/trace/database/ui-worker/cpu/
DProcedureWorkerCpuFreqLimits.ts146 drawHeight: number
150 … ctx.fillRect(data.frame.x, data.frame.y + data.frame.height - yStartHeight, width, drawHeight);