summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2014-05-13 15:56:55 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-13 15:56:55 +0000
commitb657deaf47347e9b198eeebacebae28753638378 (patch)
tree4b0e11aba3d96656af894fa4045d3455adf02961 /packages/SystemUI/src
parentc4b1baadab08ac911c5178e289f7fc1bfabce07a (diff)
parentba819628023041c2c8be61c8ce67e24c05afb07f (diff)
downloadframeworks_base-b657deaf47347e9b198eeebacebae28753638378.zip
frameworks_base-b657deaf47347e9b198eeebacebae28753638378.tar.gz
frameworks_base-b657deaf47347e9b198eeebacebae28753638378.tar.bz2
Merge "Adapted the minimum velocity amount needed to perform an overscroll"
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
index 109a2d8..fbb6695 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
@@ -758,7 +758,7 @@ public class NotificationStackScrollLayout extends ViewGroup
final int range = getScrollRange();
if (y < 0 && oldY >= 0 || y > range && oldY <= range) {
float currVelocity = mScroller.getCurrVelocity();
- if (currVelocity >= mMinimumVelocity * 20) {
+ if (currVelocity >= mMinimumVelocity) {
mMaxOverScroll = Math.abs(currVelocity) / 1000 * mOverflingDistance;
}
}