diff options
author | Winson Chung <winsonc@google.com> | 2014-06-13 10:14:53 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2014-06-13 15:27:47 -0700 |
commit | 743d5c95f3a107639c0ff22f099cab2624da3e27 (patch) | |
tree | 50a702c7226f40a3a51d758e39951667238bf0f7 /packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java | |
parent | ad6f276670443ac8f9b73497dae185bb005c3a76 (diff) | |
download | frameworks_base-743d5c95f3a107639c0ff22f099cab2624da3e27.zip frameworks_base-743d5c95f3a107639c0ff22f099cab2624da3e27.tar.gz frameworks_base-743d5c95f3a107639c0ff22f099cab2624da3e27.tar.bz2 |
Clipping the task bar against the task view.
- Skipping nav bar scrim animation when animating without window transitions
Change-Id: I8652f3956971f07bb410b801bf627d51c5e987cd
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java b/packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java index 433dcb4..3b8c6c9 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +++ b/packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java @@ -255,6 +255,11 @@ public class RecentsConfiguration { return searchBarAppWidgetId >= 0; } + /** Returns whether the nav bar scrim should be animated when shown for the first time. */ + public boolean shouldAnimateNavBarScrim() { + return !launchedFromHome && !launchedFromAppWithScreenshot; + } + /** Returns whether the nav bar scrim should be visible. */ public boolean hasNavBarScrim() { return !transposeRecentsLayoutWithOrientation || !isLandscape; |