summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recents/Constants.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2014-03-14 14:06:29 -0700
committerWinson Chung <winsonc@google.com>2014-03-14 16:53:45 -0700
commit04dfe0d26b944324ee920001f40d74cff47281d6 (patch)
tree0c43364c6cf2cf74c45e5006a7405cb24f1b0725 /packages/SystemUI/src/com/android/systemui/recents/Constants.java
parent4d7b092a866d2fce3e11b5a12cda2b87a83af52d (diff)
downloadframeworks_base-04dfe0d26b944324ee920001f40d74cff47281d6.zip
frameworks_base-04dfe0d26b944324ee920001f40d74cff47281d6.tar.gz
frameworks_base-04dfe0d26b944324ee920001f40d74cff47281d6.tar.bz2
Simplifying memory management, use Task Keys as resource cache keys.
- Attempts to load non-topmost task thumbnails from cache - Ensuring that we release all references to the activity from the bg loader - Removes background loading debug flag - Moving callbacks into their respective classes - cleaning up some callbacks when data is loaded in the bg Change-Id: Ibb968349d08084922d5b28e432b76a165bf20d6b
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents/Constants.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/Constants.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/Constants.java b/packages/SystemUI/src/com/android/systemui/recents/Constants.java
index 57ebbc2..34dd726 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/Constants.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/Constants.java
@@ -28,10 +28,10 @@ public class Constants {
public static class App {
public static final boolean EnableTaskFiltering = false;
public static final boolean EnableTaskStackClipping = false;
- public static final boolean EnableBackgroundTaskLoading = true;
- public static final boolean ForceDisableBackgroundCache = false;
+ // This disables the bitmap and icon caches to
+ public static final boolean DisableBackgroundCache = false;
- public static final boolean TaskDataLoader = false;
+ public static final boolean TaskDataLoader = true;
public static final boolean SystemUIHandshake = false;
public static final boolean TimeSystemCalls = false;
public static final boolean Memory = false;
@@ -43,7 +43,7 @@ public class Constants {
public static final boolean TouchEvents = false;
public static final boolean MeasureAndLayout = false;
public static final boolean Clipping = false;
- public static final boolean HwLayers = false;
+ public static final boolean HwLayers = true;
}
public static class TaskStack {
@@ -74,8 +74,6 @@ public class Constants {
public static class Animation {
public static final int TaskRemovedReshuffleDuration = 200;
public static final int SnapScrollBackDuration = 650;
- public static final int SwipeDismissDuration = 350;
- public static final int SwipeSnapBackDuration = 350;
}
// The padding will be applied to the smallest dimension, and then applied to all sides