summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2014-05-12 13:12:39 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-12 13:12:39 +0000
commitbbd8bdf711ce480f9fb45e2ed45432441df40ae2 (patch)
treeb052f4d412fa8a069ada67aa8668603be0d1d482 /packages/SystemUI/src
parentf056e35a34a8846a1d7c7a3fd55b9d69b559a590 (diff)
parentb96924ddbf5283954f6f0f3af599844be1da1384 (diff)
downloadframeworks_base-bbd8bdf711ce480f9fb45e2ed45432441df40ae2.zip
frameworks_base-bbd8bdf711ce480f9fb45e2ed45432441df40ae2.tar.gz
frameworks_base-bbd8bdf711ce480f9fb45e2ed45432441df40ae2.tar.bz2
Merge "Corrected top stack logic of notifications again."
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java
index 7306c83..bd9de82 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java
@@ -82,7 +82,7 @@ public class StackScrollAlgorithm {
mTopStackIndentationFunctor = new PiecewiseLinearIndentationFunctor(
MAX_ITEMS_IN_TOP_STACK,
mTopStackPeekSize,
- mTopStackTotalSize,
+ mTopStackTotalSize - mTopStackPeekSize,
0.5f);
mBottomStackIndentationFunctor = new PiecewiseLinearIndentationFunctor(
MAX_ITEMS_IN_BOTTOM_STACK,