diff options
author | 2024-10-08 15:52:14 +0000 | |
---|---|---|
committer | 2024-10-08 15:52:14 +0000 | |
commit | 3b0072a7e83d39b8eeee9ca2173d07cac147fa6d (patch) | |
tree | fb383c77428386e658f823ccaf5c0db0653e7691 | |
parent | b28ca2857a82364d075ebcb90d4e400ce4b17977 (diff) | |
parent | 73fbab04c340a93dce919b8785ec0d1b72933c5e (diff) |
Merge "Dump ExpandableView clipping from ENR" into main
2 files changed, 14 insertions, 7 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java index 2c6b09cb4cb6..adb3352b948c 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java @@ -3884,6 +3884,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView } showingLayout.dump(pw, args); dumpCustomOutline(pw, args); + dumpClipping(pw, args); if (getViewState() != null) { getViewState().dump(pw, args); pw.println(); diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableView.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableView.java index afda4262bf9d..ef6cad134534 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableView.java @@ -856,17 +856,23 @@ public abstract class ExpandableView extends FrameLayout implements Dumpable, Ro pw.println(); } if (DUMP_VERBOSE) { - pw.println("mInRemovalAnimation: " + mInRemovalAnimation); - pw.println("mClipTopAmount: " + mClipTopAmount); - pw.println("mClipBottomAmount " + mClipBottomAmount); - pw.println("mClipToActualHeight: " + mClipToActualHeight); - pw.println("mExtraWidthForClipping: " + mExtraWidthForClipping); - pw.println("mMinimumHeightForClipping: " + mMinimumHeightForClipping); - pw.println("getClipBounds(): " + getClipBounds()); + dumpClipping(pw, args); } }); } + protected void dumpClipping(IndentingPrintWriter pw, String[] args) { + pw.print("Clipping: "); + pw.print("mInRemovalAnimation", mInRemovalAnimation); + pw.print("mClipTopAmount", mClipTopAmount); + pw.print("mClipBottomAmount", mClipBottomAmount); + pw.print("mClipToActualHeight", mClipToActualHeight); + pw.print("mExtraWidthForClipping", mExtraWidthForClipping); + pw.print("mMinimumHeightForClipping", mMinimumHeightForClipping); + pw.print("getClipBounds()", getClipBounds()); + pw.println(); + } + /** * return the amount that the content is translated */ |