summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recents/model
diff options
context:
space:
mode:
authorWinson Chung <winson.chung@gmail.com>2014-07-31 18:36:25 -0700
committerWinson Chung <winsonc@google.com>2014-08-01 04:32:08 +0000
commit012ef36a6c5e9745d112c734aed916cab052558c (patch)
treecf8578a0aae30bd4a048ac64d5047156b3602afd /packages/SystemUI/src/com/android/systemui/recents/model
parent7c3a95633d307c4be30c9dbbf1071063aa7a3c64 (diff)
downloadframeworks_base-012ef36a6c5e9745d112c734aed916cab052558c.zip
frameworks_base-012ef36a6c5e9745d112c734aed916cab052558c.tar.gz
frameworks_base-012ef36a6c5e9745d112c734aed916cab052558c.tar.bz2
Updating the stack layout to use a parameterized curve.
- Fixing issue with search box not being layered on top of the task stack view (Bug 16643875) - Fixing issue with there being no animation when dismissing recents while the stack is scrolling. Change-Id: I990f3c527de655d62fbf8a4539dcbaed3ed422c8
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents/model')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java b/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
index 04ee9dd..fd6303f 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java
@@ -337,7 +337,7 @@ public class TaskStack {
String prevPackage = "";
int prevAffiliation = -1;
Random r = new Random();
- int groupCountDown = 5;
+ int groupCountDown = Constants.DebugFlags.App.TaskAffiliationsGroupCount;
for (int i = 0; i < taskCount; i++) {
Task t = tasks.get(i);
String packageName = t.key.baseIntent.getComponent().getPackageName();
@@ -352,7 +352,7 @@ public class TaskStack {
addGroup(group);
prevAffiliation = affiliation;
prevPackage = packageName;
- groupCountDown = 5;
+ groupCountDown = Constants.DebugFlags.App.TaskAffiliationsGroupCount;
}
group.addTask(t);
taskMap.put(t.key, t);