diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-12-06 10:25:07 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-12-06 14:29:33 -0800 |
commit | bc683e9d067e1346a5a1575ab2315062b8bc41a1 (patch) | |
tree | 18a458d2d99f166dd76f269a6f467cdaa1d6653a /src/com/android/launcher3/states/SpringLoadedState.java | |
parent | 92731d48d20fceb99a25b70fa72a867699d09f74 (diff) | |
download | android_packages_apps_Trebuchet-bc683e9d067e1346a5a1575ab2315062b8bc41a1.tar.gz android_packages_apps_Trebuchet-bc683e9d067e1346a5a1575ab2315062b8bc41a1.tar.bz2 android_packages_apps_Trebuchet-bc683e9d067e1346a5a1575ab2315062b8bc41a1.zip |
Separating various UI properties into state variables
> Using workspace scale and translation for all-apps
> Without quickstep, workspace has the parallex effect as before
> With quickstep, workspace scales down to match the recents card width
> Using a single animator for recents views in case of state transtion and
controlled transition to prevent going into inconsistant state.
Change-Id: I1864de6892052ca771f4d0062e3d60c28840a72d
Diffstat (limited to 'src/com/android/launcher3/states/SpringLoadedState.java')
-rw-r--r-- | src/com/android/launcher3/states/SpringLoadedState.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher3/states/SpringLoadedState.java b/src/com/android/launcher3/states/SpringLoadedState.java index 1d90a08bf..995cdaa33 100644 --- a/src/com/android/launcher3/states/SpringLoadedState.java +++ b/src/com/android/launcher3/states/SpringLoadedState.java @@ -35,7 +35,8 @@ import com.android.launcher3.userevent.nano.LauncherLogProto.ContainerType; public class SpringLoadedState extends LauncherState { private static final int STATE_FLAGS = FLAG_SHOW_SCRIM | FLAG_MULTI_PAGE | - FLAG_DISABLE_ACCESSIBILITY | FLAG_DO_NOT_RESTORE | FLAG_WORKSPACE_ICONS_CAN_BE_DRAGGED; + FLAG_DISABLE_ACCESSIBILITY | FLAG_DISABLE_RESTORE | FLAG_WORKSPACE_ICONS_CAN_BE_DRAGGED | + FLAG_DISABLE_PAGE_CLIPPING; // Determines how long to wait after a rotation before restoring the screen orientation to // match the sensor state. |