Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +17 −7 Original line number Diff line number Diff line Loading @@ -1853,13 +1853,26 @@ public class NotificationStackScrollLayout extends ViewGroup } updateBackgroundBounds(); if (!mCurrentBounds.equals(mBackgroundBounds)) { if (mAnimateNextBackgroundTop || mAnimateNextBackgroundBottom || areBoundsAnimating()) { boolean animate = mAnimateNextBackgroundTop || mAnimateNextBackgroundBottom || areBoundsAnimating(); if (!isExpanded()) { abortBackgroundAnimators(); animate = false; } if (animate) { startBackgroundAnimation(); } else { mCurrentBounds.set(mBackgroundBounds); applyCurrentBackgroundBounds(); } } else { abortBackgroundAnimators(); } mAnimateNextBackgroundBottom = false; mAnimateNextBackgroundTop = false; } private void abortBackgroundAnimators() { if (mBottomAnimator != null) { mBottomAnimator.cancel(); } Loading @@ -1867,9 +1880,6 @@ public class NotificationStackScrollLayout extends ViewGroup mTopAnimator.cancel(); } } mAnimateNextBackgroundBottom = false; mAnimateNextBackgroundTop = false; } private boolean areBoundsAnimating() { return mBottomAnimator != null || mTopAnimator != null; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +17 −7 Original line number Diff line number Diff line Loading @@ -1853,13 +1853,26 @@ public class NotificationStackScrollLayout extends ViewGroup } updateBackgroundBounds(); if (!mCurrentBounds.equals(mBackgroundBounds)) { if (mAnimateNextBackgroundTop || mAnimateNextBackgroundBottom || areBoundsAnimating()) { boolean animate = mAnimateNextBackgroundTop || mAnimateNextBackgroundBottom || areBoundsAnimating(); if (!isExpanded()) { abortBackgroundAnimators(); animate = false; } if (animate) { startBackgroundAnimation(); } else { mCurrentBounds.set(mBackgroundBounds); applyCurrentBackgroundBounds(); } } else { abortBackgroundAnimators(); } mAnimateNextBackgroundBottom = false; mAnimateNextBackgroundTop = false; } private void abortBackgroundAnimators() { if (mBottomAnimator != null) { mBottomAnimator.cancel(); } Loading @@ -1867,9 +1880,6 @@ public class NotificationStackScrollLayout extends ViewGroup mTopAnimator.cancel(); } } mAnimateNextBackgroundBottom = false; mAnimateNextBackgroundTop = false; } private boolean areBoundsAnimating() { return mBottomAnimator != null || mTopAnimator != null; Loading