Home
last modified time | relevance | path

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

/external/perfetto/ui/src/tracks/chrome_slices/
Dfrontend.ts29 const SLICE_HEIGHT = 18; constant
35 (SLICE_HEIGHT - 2 * INNER_CHEVRON_OFFSET) / SLICE_HEIGHT;
153 if (isIncomplete && rect.width > SLICE_HEIGHT / 4) {
155 ctx, rect.left, rect.top, rect.width, SLICE_HEIGHT, color);
157 ctx.fillRect(rect.left, rect.top, rect.width, SLICE_HEIGHT);
166 rect.left, rect.top - 1.5, rect.width, SLICE_HEIGHT + 3);
175 ctx.fillText(displayText, rectXCenter, rect.top + SLICE_HEIGHT / 2);
185 ctx.lineTo(HALF_CHEVRON_WIDTH_PX, SLICE_HEIGHT);
186 ctx.lineTo(0, SLICE_HEIGHT - HALF_CHEVRON_WIDTH_PX);
187 ctx.lineTo(-HALF_CHEVRON_WIDTH_PX, SLICE_HEIGHT);
[all …]