Searched refs:MARGIN_TOP (Results 1 – 9 of 9) sorted by relevance
/external/perfetto/ui/src/tracks/cpu_slices/ |
D | frontend.ts | 33 const MARGIN_TOP = 3; constant 35 const TRACK_HEIGHT = MARGIN_TOP * 2 + RECT_HEIGHT; 119 ctx.fillRect(rectStart, MARGIN_TOP, rectWidth, RECT_HEIGHT); 145 ctx.fillText(title, rectXCenter, MARGIN_TOP + RECT_HEIGHT / 2 - 1); 148 ctx.fillText(subTitle, rectXCenter, MARGIN_TOP + RECT_HEIGHT / 2 + 9); 168 ctx.strokeRect(rectStart, MARGIN_TOP - 1.5, rectWidth, RECT_HEIGHT + 3); 177 MARGIN_TOP + RECT_HEIGHT, 187 MARGIN_TOP + RECT_HEIGHT - 12, 195 MARGIN_TOP + RECT_HEIGHT - 1); 204 ctx.moveTo(wakeupPos, MARGIN_TOP + RECT_HEIGHT / 2 + 8); [all …]
|
/external/perfetto/ui/src/tracks/process_scheduling/ |
D | frontend.ts | 30 const MARGIN_TOP = 5; constant 32 const TRACK_HEIGHT = MARGIN_TOP * 2 + RECT_HEIGHT; 111 const y = MARGIN_TOP + cpuTrackHeight * cpu + cpu; 132 if (y < MARGIN_TOP || y > MARGIN_TOP + RECT_HEIGHT) { 139 const cpu = Math.floor((y - MARGIN_TOP) / (cpuTrackHeight + 1));
|
/external/perfetto/ui/src/tracks/process_summary/ |
D | frontend.ts | 28 const MARGIN_TOP = 5; constant 30 const TRACK_HEIGHT = MARGIN_TOP * 2 + RECT_HEIGHT; 31 const SUMMARY_HEIGHT = TRACK_HEIGHT - MARGIN_TOP; constant 88 lastY = MARGIN_TOP + Math.round(SUMMARY_HEIGHT * (1 - utilization));
|
/external/perfetto/ui/src/tracks/thread_state/ |
D | frontend.ts | 31 const MARGIN_TOP = 4; constant 46 return 2 * MARGIN_TOP + RECT_HEIGHT; 99 ctx.fillRect(rectStart, MARGIN_TOP, rectWidth, RECT_HEIGHT); 106 ctx.fillText(title, rectXCenter, MARGIN_TOP + RECT_HEIGHT / 2 + 3); 121 MARGIN_TOP - 1.5,
|
/external/perfetto/ui/src/tracks/heap_profile/ |
D | frontend.ts | 30 const MARGIN_TOP = 4.5; constant 40 private markerWidth = (this.getHeight() - MARGIN_TOP) / 2; 48 return MARGIN_TOP + RECT_HEIGHT - 1;
|
/external/perfetto/ui/src/tracks/counter/ |
D | frontend.ts | 36 const MARGIN_TOP = 3.5; constant 98 return MARGIN_TOP + RECT_HEIGHT; 148 const zeroY = MARGIN_TOP + RECT_HEIGHT / (minimumValue < 0 ? 2 : 1); 193 return MARGIN_TOP + RECT_HEIGHT - 247 const y = MARGIN_TOP + RECT_HEIGHT -
|
/external/perfetto/ui/src/tracks/cpu_profile/ |
D | frontend.ts | 29 const MARGIN_TOP = 4.5; constant 43 private markerWidth = (this.getHeight() - MARGIN_TOP) / 2; 51 return MARGIN_TOP + RECT_HEIGHT - 1;
|
/external/perfetto/ui/src/tracks/android_log/ |
D | frontend.ts | 36 const MARGIN_TOP = 2; constant 83 ctx.fillRect(px, MARGIN_TOP + blockH * lev, quantWidth, blockH);
|
/external/perfetto/ui/src/tracks/cpu_freq/ |
D | frontend.ts | 31 const MARGIN_TOP = 4.5; constant 51 return MARGIN_TOP + RECT_HEIGHT; 70 const zeroY = MARGIN_TOP + RECT_HEIGHT;
|