/external/perfetto/ui/src/tracks/cpu_slices/ |
D | frontend.ts | 37 const RECT_HEIGHT = 30; 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/cpu_freq/ |
D | frontend.ts | 32 const RECT_HEIGHT = 30; constant 71 const zeroY = MARGIN_TOP + RECT_HEIGHT; 101 const nextY = zeroY - Math.round((value / yMax) * RECT_HEIGHT); 122 const bottomY = MARGIN_TOP + RECT_HEIGHT; 129 const lastY = zeroY - Math.round((value / yMax) * RECT_HEIGHT); 150 const y = zeroY - Math.round((this.hoveredValue / yMax) * 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_scheduling/ |
D | frontend.ts | 33 const RECT_HEIGHT = 30; constant 83 const bottomY = MARGIN_TOP + RECT_HEIGHT; 99 lastY = MARGIN_TOP + Math.round(RECT_HEIGHT * (1 - utilization)); 112 const cpuTrackHeight = Math.floor(RECT_HEIGHT / data.numCpus); 168 ctx.fillRect(this.mouseXpos!, MARGIN_TOP, width + 16, RECT_HEIGHT); 180 if (y < MARGIN_TOP || y > MARGIN_TOP + RECT_HEIGHT) { 186 const cpuTrackHeight = Math.floor(RECT_HEIGHT / data.numCpus);
|
/external/perfetto/ui/src/tracks/counter/ |
D | frontend.ts | 31 const RECT_HEIGHT = 30; constant 68 const zeroY = MARGIN_TOP + RECT_HEIGHT / (data.minimumValue < 0 ? 2 : 1); 102 const nextY = zeroY - Math.round((value / yRange) * RECT_HEIGHT); 141 const y = zeroY - Math.round((this.hoveredValue / yRange) * RECT_HEIGHT); 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/thread_state/ |
D | frontend.ts | 34 const RECT_HEIGHT = 12; 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/process_summary/ |
D | frontend.ts | 29 const RECT_HEIGHT = 30; constant 70 const bottomY = MARGIN_TOP + RECT_HEIGHT; 91 lastY = MARGIN_TOP + Math.round(RECT_HEIGHT * (1 - utilization));
|
/external/skqp/gm/ |
D | hardstop_gradients.cpp | 56 const int RECT_HEIGHT = CELL_HEIGHT - (2 * PAD_HEIGHT); variable 65 SkIntToScalar(RECT_HEIGHT)); in shade_rect() 75 auto y = SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT + RECT_HEIGHT/2); in create_gradient_points()
|
D | analytic_gradients.cpp | 104 const int RECT_HEIGHT = CELL_HEIGHT - (2 * PAD_HEIGHT); variable 114 const SkRect rect = SkRect::MakeWH(SkIntToScalar(RECT_WIDTH), SkIntToScalar(RECT_HEIGHT)); in shade_rect()
|
/external/skia/gm/ |
D | hardstop_gradients.cpp | 56 const int RECT_HEIGHT = CELL_HEIGHT - (2 * PAD_HEIGHT); variable 65 SkIntToScalar(RECT_HEIGHT)); in shade_rect() 75 auto y = SkIntToScalar(cellRow * CELL_HEIGHT + PAD_HEIGHT + RECT_HEIGHT/2); in create_gradient_points()
|
D | analytic_gradients.cpp | 104 const int RECT_HEIGHT = CELL_HEIGHT - (2 * PAD_HEIGHT); variable 114 const SkRect rect = SkRect::MakeWH(SkIntToScalar(RECT_WIDTH), SkIntToScalar(RECT_HEIGHT)); in shade_rect()
|
/external/perfetto/ui/src/tracks/vsync/ |
D | frontend.ts | 26 const RECT_HEIGHT = 30; 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/android_log/ |
D | frontend.ts | 38 const RECT_HEIGHT = 35; constant 100 const blockH = RECT_HEIGHT / LEVELS.length;
|