Loading packages/SystemUI/res/values/dimens.xml +3 −2 Original line number Diff line number Diff line Loading @@ -232,8 +232,9 @@ <!-- Space reserved for the cards behind the top card in the bottom stack --> <dimen name="bottom_stack_peek_amount">12dp</dimen> <!-- bottom_stack_peek_amount + notification_min_height --> <dimen name="min_stack_height">76dp</dimen> <!-- bottom_stack_peek_amount + notification_min_height + notification_collapse_second_card_padding --> <dimen name="min_stack_height">84dp</dimen> <!-- The height of the area before the bottom stack in which the notifications slow down --> <dimen name="bottom_stack_slow_down_length">12dp</dimen> Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +5 −4 Original line number Diff line number Diff line Loading @@ -1317,7 +1317,8 @@ public class NotificationStackScrollLayout extends ViewGroup } public int getPeekHeight() { return mIntrinsicPadding + mCollapsedSize + mBottomStackPeekSize; return mIntrinsicPadding + mCollapsedSize + mBottomStackPeekSize + mCollapseSecondCardPadding; } private int clampPadding(int desiredPadding) { Loading Loading @@ -1795,11 +1796,11 @@ public class NotificationStackScrollLayout extends ViewGroup } public int getEmptyBottomMargin() { int emptyMargin = mMaxLayoutHeight - mContentHeight; int emptyMargin = mMaxLayoutHeight - mContentHeight - mBottomStackPeekSize; if (needsHeightAdaption()) { emptyMargin = emptyMargin - mBottomStackSlowDownHeight - mBottomStackPeekSize; emptyMargin -= mBottomStackSlowDownHeight; } else { emptyMargin = emptyMargin - mBottomStackPeekSize; emptyMargin -= mCollapseSecondCardPadding; } return Math.max(emptyMargin, 0); } Loading Loading
packages/SystemUI/res/values/dimens.xml +3 −2 Original line number Diff line number Diff line Loading @@ -232,8 +232,9 @@ <!-- Space reserved for the cards behind the top card in the bottom stack --> <dimen name="bottom_stack_peek_amount">12dp</dimen> <!-- bottom_stack_peek_amount + notification_min_height --> <dimen name="min_stack_height">76dp</dimen> <!-- bottom_stack_peek_amount + notification_min_height + notification_collapse_second_card_padding --> <dimen name="min_stack_height">84dp</dimen> <!-- The height of the area before the bottom stack in which the notifications slow down --> <dimen name="bottom_stack_slow_down_length">12dp</dimen> Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +5 −4 Original line number Diff line number Diff line Loading @@ -1317,7 +1317,8 @@ public class NotificationStackScrollLayout extends ViewGroup } public int getPeekHeight() { return mIntrinsicPadding + mCollapsedSize + mBottomStackPeekSize; return mIntrinsicPadding + mCollapsedSize + mBottomStackPeekSize + mCollapseSecondCardPadding; } private int clampPadding(int desiredPadding) { Loading Loading @@ -1795,11 +1796,11 @@ public class NotificationStackScrollLayout extends ViewGroup } public int getEmptyBottomMargin() { int emptyMargin = mMaxLayoutHeight - mContentHeight; int emptyMargin = mMaxLayoutHeight - mContentHeight - mBottomStackPeekSize; if (needsHeightAdaption()) { emptyMargin = emptyMargin - mBottomStackSlowDownHeight - mBottomStackPeekSize; emptyMargin -= mBottomStackSlowDownHeight; } else { emptyMargin = emptyMargin - mBottomStackPeekSize; emptyMargin -= mCollapseSecondCardPadding; } return Math.max(emptyMargin, 0); } Loading