Home
last modified time | relevance | path

Searched refs:MARGIN_TOP (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/ui/src/tracks/cpu_slices/
Dfrontend.ts36 const MARGIN_TOP = 5; constant
89 const bottomY = MARGIN_TOP + RECT_HEIGHT;
104 lastY = MARGIN_TOP + Math.round(RECT_HEIGHT * (1 - utilization));
168 ctx.fillRect(rectStart, MARGIN_TOP, rectEnd - rectStart, RECT_HEIGHT);
178 ctx.fillText(title, rectXCenter, MARGIN_TOP + RECT_HEIGHT / 2 - 3);
181 ctx.fillText(subTitle, rectXCenter, MARGIN_TOP + RECT_HEIGHT / 2 + 11);
200 rectStart, MARGIN_TOP - 1.5, rectEnd - rectStart, RECT_HEIGHT + 3);
209 MARGIN_TOP + RECT_HEIGHT,
219 MARGIN_TOP + RECT_HEIGHT - 12,
227 MARGIN_TOP + RECT_HEIGHT - 1);
[all …]
/external/perfetto/ui/src/tracks/process_scheduling/
Dfrontend.ts32 const MARGIN_TOP = 5; constant
83 const bottomY = MARGIN_TOP + RECT_HEIGHT;
99 lastY = MARGIN_TOP + Math.round(RECT_HEIGHT * (1 - utilization));
147 const y = MARGIN_TOP + cpuTrackHeight * cpu + cpu;
168 ctx.fillRect(this.mouseXpos!, MARGIN_TOP, width + 16, RECT_HEIGHT);
180 if (y < MARGIN_TOP || y > MARGIN_TOP + RECT_HEIGHT) {
187 const cpu = Math.floor((y - MARGIN_TOP) / (cpuTrackHeight + 1));
/external/perfetto/ui/src/tracks/thread_state/
Dfrontend.ts33 const MARGIN_TOP = 5; constant
84 ctx.fillRect(rectStart, MARGIN_TOP, rectWidth, RECT_HEIGHT);
93 ctx.fillText(title, rectXCenter, MARGIN_TOP + RECT_HEIGHT / 2 + 3);
112 rectStart, MARGIN_TOP - 1.5, rectEnd - rectStart, RECT_HEIGHT + 3);
/external/perfetto/ui/src/tracks/cpu_freq/
Dfrontend.ts31 const MARGIN_TOP = 4.5; constant
71 const zeroY = MARGIN_TOP + RECT_HEIGHT;
122 const bottomY = MARGIN_TOP + RECT_HEIGHT;
168 ctx.fillRect(this.mouseXpos + 5, MARGIN_TOP, width + 16, RECT_HEIGHT);
170 const centerY = MARGIN_TOP + RECT_HEIGHT / 2;
/external/perfetto/ui/src/tracks/process_summary/
Dfrontend.ts28 const MARGIN_TOP = 7; constant
70 const bottomY = MARGIN_TOP + RECT_HEIGHT;
91 lastY = MARGIN_TOP + Math.round(RECT_HEIGHT * (1 - utilization));
/external/perfetto/ui/src/tracks/vsync/
Dfrontend.ts25 const MARGIN_TOP = 5; constant
91 ctx.fillRect(startPx, MARGIN_TOP, endPx - startPx, RECT_HEIGHT);
101 ctx.fillRect(leftPx, MARGIN_TOP, rightPx - leftPx, RECT_HEIGHT);
/external/perfetto/ui/src/tracks/counter/
Dfrontend.ts30 const MARGIN_TOP = 4.5; constant
68 const zeroY = MARGIN_TOP + RECT_HEIGHT / (data.minimumValue < 0 ? 2 : 1);
159 ctx.fillRect(this.mouseXpos + 5, MARGIN_TOP, width + 16, RECT_HEIGHT);
163 ctx.fillText(text, this.mouseXpos + 8, MARGIN_TOP + RECT_HEIGHT / 2);
/external/perfetto/ui/src/tracks/android_log/
Dfrontend.ts37 const MARGIN_TOP = 2; constant
110 ctx.fillRect(px, MARGIN_TOP + blockH * lev, quantWidth, blockH);