Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +2 −4 Original line number Original line Diff line number Diff line Loading @@ -729,7 +729,7 @@ public class NotificationStackScrollLayout extends ViewGroup } } private void updateAlgorithmLayoutMinHeight() { private void updateAlgorithmLayoutMinHeight() { mAmbientState.setLayoutMinHeight(mQsExpanded && !onKeyguard() || isHeadsUpTransition() mAmbientState.setLayoutMinHeight(mQsExpanded || isHeadsUpTransition() ? getLayoutMinHeight() : 0); ? getLayoutMinHeight() : 0); } } Loading Loading @@ -2453,7 +2453,6 @@ public class NotificationStackScrollLayout extends ViewGroup } } int finalHeight = ExpandableViewState.getFinalActualHeight(lastView); int finalHeight = ExpandableViewState.getFinalActualHeight(lastView); int finalBottom = finalTranslationY + finalHeight - lastView.getClipBottomAmount(); int finalBottom = finalTranslationY + finalHeight - lastView.getClipBottomAmount(); finalBottom = Math.min(finalBottom, getHeight()); if (mAnimateNextBackgroundBottom if (mAnimateNextBackgroundBottom || mBottomAnimator == null && mCurrentBounds.bottom == finalBottom || mBottomAnimator == null && mCurrentBounds.bottom == finalBottom || mBottomAnimator != null && mEndAnimationRect.bottom == finalBottom) { || mBottomAnimator != null && mEndAnimationRect.bottom == finalBottom) { Loading @@ -2462,7 +2461,6 @@ public class NotificationStackScrollLayout extends ViewGroup } else { } else { bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight() bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight() - lastView.getClipBottomAmount()); - lastView.getClipBottomAmount()); bottom = Math.min(bottom, getHeight()); } } } else { } else { top = mTopPadding; top = mTopPadding; Loading @@ -2475,7 +2473,7 @@ public class NotificationStackScrollLayout extends ViewGroup top = Math.max(0, top); top = Math.max(0, top); } } mBackgroundBounds.top = top; mBackgroundBounds.top = top; mBackgroundBounds.bottom = Math.min(getHeight(), Math.max(bottom, top)); mBackgroundBounds.bottom = Math.max(bottom, top); } } private ActivatableNotificationView getFirstPinnedHeadsUp() { private ActivatableNotificationView getFirstPinnedHeadsUp() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +2 −4 Original line number Original line Diff line number Diff line Loading @@ -729,7 +729,7 @@ public class NotificationStackScrollLayout extends ViewGroup } } private void updateAlgorithmLayoutMinHeight() { private void updateAlgorithmLayoutMinHeight() { mAmbientState.setLayoutMinHeight(mQsExpanded && !onKeyguard() || isHeadsUpTransition() mAmbientState.setLayoutMinHeight(mQsExpanded || isHeadsUpTransition() ? getLayoutMinHeight() : 0); ? getLayoutMinHeight() : 0); } } Loading Loading @@ -2453,7 +2453,6 @@ public class NotificationStackScrollLayout extends ViewGroup } } int finalHeight = ExpandableViewState.getFinalActualHeight(lastView); int finalHeight = ExpandableViewState.getFinalActualHeight(lastView); int finalBottom = finalTranslationY + finalHeight - lastView.getClipBottomAmount(); int finalBottom = finalTranslationY + finalHeight - lastView.getClipBottomAmount(); finalBottom = Math.min(finalBottom, getHeight()); if (mAnimateNextBackgroundBottom if (mAnimateNextBackgroundBottom || mBottomAnimator == null && mCurrentBounds.bottom == finalBottom || mBottomAnimator == null && mCurrentBounds.bottom == finalBottom || mBottomAnimator != null && mEndAnimationRect.bottom == finalBottom) { || mBottomAnimator != null && mEndAnimationRect.bottom == finalBottom) { Loading @@ -2462,7 +2461,6 @@ public class NotificationStackScrollLayout extends ViewGroup } else { } else { bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight() bottom = (int) (lastView.getTranslationY() + lastView.getActualHeight() - lastView.getClipBottomAmount()); - lastView.getClipBottomAmount()); bottom = Math.min(bottom, getHeight()); } } } else { } else { top = mTopPadding; top = mTopPadding; Loading @@ -2475,7 +2473,7 @@ public class NotificationStackScrollLayout extends ViewGroup top = Math.max(0, top); top = Math.max(0, top); } } mBackgroundBounds.top = top; mBackgroundBounds.top = top; mBackgroundBounds.bottom = Math.min(getHeight(), Math.max(bottom, top)); mBackgroundBounds.bottom = Math.max(bottom, top); } } private ActivatableNotificationView getFirstPinnedHeadsUp() { private ActivatableNotificationView getFirstPinnedHeadsUp() { Loading