Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -758,7 +758,7 @@ public class NotificationStackScrollLayout extends ViewGroup final int range = getScrollRange(); final int range = getScrollRange(); if (y < 0 && oldY >= 0 || y > range && oldY <= range) { if (y < 0 && oldY >= 0 || y > range && oldY <= range) { float currVelocity = mScroller.getCurrVelocity(); float currVelocity = mScroller.getCurrVelocity(); if (currVelocity >= mMinimumVelocity * 20) { if (currVelocity >= mMinimumVelocity) { mMaxOverScroll = Math.abs(currVelocity) / 1000 * mOverflingDistance; mMaxOverScroll = Math.abs(currVelocity) / 1000 * mOverflingDistance; } } } } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -758,7 +758,7 @@ public class NotificationStackScrollLayout extends ViewGroup final int range = getScrollRange(); final int range = getScrollRange(); if (y < 0 && oldY >= 0 || y > range && oldY <= range) { if (y < 0 && oldY >= 0 || y > range && oldY <= range) { float currVelocity = mScroller.getCurrVelocity(); float currVelocity = mScroller.getCurrVelocity(); if (currVelocity >= mMinimumVelocity * 20) { if (currVelocity >= mMinimumVelocity) { mMaxOverScroll = Math.abs(currVelocity) / 1000 * mOverflingDistance; mMaxOverScroll = Math.abs(currVelocity) / 1000 * mOverflingDistance; } } } } Loading