Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4e6de50 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Flexiglass] Draw NSSL debug lines for positions driven by placeholders" into main

parents 546a195c 0e96b2df
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -833,6 +833,23 @@ public class NotificationStackScrollLayout
        int y = 0;
        drawDebugInfo(canvas, y, Color.RED, /* label= */ "y = " + y);

        if (SceneContainerFlag.isEnabled()) {
            y = (int) mScrollViewFields.getStackTop();
            drawDebugInfo(canvas, y, Color.RED, /* label= */ "getStackTop() = " + y);

            y = (int) mScrollViewFields.getStackBottom();
            drawDebugInfo(canvas, y, Color.MAGENTA, /* label= */ "getStackBottom() = " + y);

            y = (int) mScrollViewFields.getHeadsUpTop();
            drawDebugInfo(canvas, y, Color.GREEN, /* label= */ "getHeadsUpTop() = " + y);

            y += getTopHeadsUpHeight();
            drawDebugInfo(canvas, y, Color.BLUE,
                    /* label= */ "getHeadsUpTop() + getTopHeadsUpHeight() = " + y);

            return; // the rest of the fields are not important in Flexiglass
        }

        y = getTopPadding();
        drawDebugInfo(canvas, y, Color.RED, /* label= */ "getTopPadding() = " + y);