Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +6 −5 Original line number Diff line number Diff line Loading @@ -491,7 +491,7 @@ public class NotificationPanelView extends PanelView implements } public void closeQs() { cancelAnimation(); cancelQsAnimation(); setQsExpansion(mQsMinExpansionHeight); } Loading @@ -508,7 +508,7 @@ public class NotificationPanelView extends PanelView implements } public void openQs() { cancelAnimation(); cancelQsAnimation(); if (mQsExpansionEnabled) { setQsExpansion(mQsMaxExpansionHeight); } Loading Loading @@ -921,7 +921,7 @@ public class NotificationPanelView extends PanelView implements @Override public void onOverscrollTopChanged(float amount, boolean isRubberbanded) { cancelAnimation(); cancelQsAnimation(); if (!mQsExpansionEnabled) { amount = 0f; } Loading Loading @@ -953,7 +953,8 @@ public class NotificationPanelView extends PanelView implements } private void onQsExpansionStarted(int overscrollAmount) { cancelAnimation(); cancelQsAnimation(); cancelHeightAnimator(); // Reset scroll position and apply that position to the expanded height. float height = mQsExpansionHeight - mScrollView.getScrollY() - overscrollAmount; Loading Loading @@ -1391,7 +1392,7 @@ public class NotificationPanelView extends PanelView implements return mVelocityTracker.getYVelocity(); } private void cancelAnimation() { private void cancelQsAnimation() { if (mQsExpansionAnimator != null) { mQsExpansionAnimator.cancel(); } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +1 −1 Original line number Diff line number Diff line Loading @@ -535,7 +535,7 @@ public abstract class PanelView extends FrameLayout { */ protected abstract boolean isInContentBounds(float x, float y); private void cancelHeightAnimator() { protected void cancelHeightAnimator() { if (mHeightAnimator != null) { mHeightAnimator.cancel(); } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +6 −5 Original line number Diff line number Diff line Loading @@ -491,7 +491,7 @@ public class NotificationPanelView extends PanelView implements } public void closeQs() { cancelAnimation(); cancelQsAnimation(); setQsExpansion(mQsMinExpansionHeight); } Loading @@ -508,7 +508,7 @@ public class NotificationPanelView extends PanelView implements } public void openQs() { cancelAnimation(); cancelQsAnimation(); if (mQsExpansionEnabled) { setQsExpansion(mQsMaxExpansionHeight); } Loading Loading @@ -921,7 +921,7 @@ public class NotificationPanelView extends PanelView implements @Override public void onOverscrollTopChanged(float amount, boolean isRubberbanded) { cancelAnimation(); cancelQsAnimation(); if (!mQsExpansionEnabled) { amount = 0f; } Loading Loading @@ -953,7 +953,8 @@ public class NotificationPanelView extends PanelView implements } private void onQsExpansionStarted(int overscrollAmount) { cancelAnimation(); cancelQsAnimation(); cancelHeightAnimator(); // Reset scroll position and apply that position to the expanded height. float height = mQsExpansionHeight - mScrollView.getScrollY() - overscrollAmount; Loading Loading @@ -1391,7 +1392,7 @@ public class NotificationPanelView extends PanelView implements return mVelocityTracker.getYVelocity(); } private void cancelAnimation() { private void cancelQsAnimation() { if (mQsExpansionAnimator != null) { mQsExpansionAnimator.cancel(); } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +1 −1 Original line number Diff line number Diff line Loading @@ -535,7 +535,7 @@ public abstract class PanelView extends FrameLayout { */ protected abstract boolean isInContentBounds(float x, float y); private void cancelHeightAnimator() { protected void cancelHeightAnimator() { if (mHeightAnimator != null) { mHeightAnimator.cancel(); } Loading