diff options
author | Winson Chung <winsonc@google.com> | 2014-03-17 10:17:11 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2014-03-17 18:10:24 -0700 |
commit | 47c4c69575e94635a9356e8a1faf4b56a0120452 (patch) | |
tree | b573fffe789ad81d6deaf8a024e05a3e9f265c0b /packages/SystemUI/src/com/android/systemui/recents/Constants.java | |
parent | f1c9044057bdffbedbe3c2cae1a7b378d593ef2b (diff) | |
download | frameworks_base-47c4c69575e94635a9356e8a1faf4b56a0120452.zip frameworks_base-47c4c69575e94635a9356e8a1faf4b56a0120452.tar.gz frameworks_base-47c4c69575e94635a9356e8a1faf4b56a0120452.tar.bz2 |
Using the RecentsService connection to toggle recents
- Adding over scroll snap back when flinging stack
Change-Id: Ife9692ece95e0a40649d0b4b72ec4ea99ffabc16
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents/Constants.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recents/Constants.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/Constants.java b/packages/SystemUI/src/com/android/systemui/recents/Constants.java index 62da17e..ede4ea8 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/Constants.java +++ b/packages/SystemUI/src/com/android/systemui/recents/Constants.java @@ -28,6 +28,7 @@ public class Constants { public static class App { public static final boolean EnableTaskFiltering = false; public static final boolean EnableTaskStackClipping = false; + public static final boolean EnableToggleNewRecentsActivity = false; // This disables the bitmap and icon caches to public static final boolean DisableBackgroundCache = false; @@ -76,6 +77,8 @@ public class Constants { public static final int SnapScrollBackDuration = 650; } + public static final int TaskStackOverscrollRange = 150; + // The padding will be applied to the smallest dimension, and then applied to all sides public static final float StackPaddingPct = 0.15f; // The overlap height relative to the task height @@ -91,12 +94,13 @@ public class Constants { public static class TaskView { public static class Animation { public static final int TaskDataUpdatedFadeDuration = 250; - public static final int TaskIconCircularClipInDuration = 225; - public static final int TaskIconCircularClipOutDuration = 85; + public static final int TaskIconOnEnterDuration = 175; + public static final int TaskIconOnLeavingDuration = 75; } public static final boolean AnimateFrontTaskIconOnEnterRecents = true; public static final boolean AnimateFrontTaskIconOnLeavingRecents = true; + public static final boolean AnimateFrontTaskIconOnEnterUseClip = false; public static final boolean AnimateFrontTaskIconOnLeavingUseClip = false; public static final boolean DrawColoredTaskBars = false; public static final boolean UseRoundedCorners = true; @@ -106,9 +110,4 @@ public class Constants { public static final float TaskIconSizeDps = 60; } } - - // UNMIGRATED CONSTANTS: - - /** Determines whether to layout the stack vertically in landscape mode */ - public static final boolean LANDSCAPE_LAYOUT_VERTICAL_STACK = true; }
\ No newline at end of file |