Moving Workspace states into a separate file

Bug: 67678570
Change-Id: I5c63b4df29ca0f58a0223fb1919abc132576a1b6
This commit is contained in:
Sunny Goyal committed 2017-10-18 09:17:43 -07:00
1 parent 910be3c05d
commit 4c7f215651
11 files changed
+140 -107

No files matched your search

@@ -68,10 +68,10 @@ public class PinchThresholdManager {
}
if (mPassedThreshold != previousPassedThreshold) {
Workspace.State fromState = mWorkspace.isInOverviewMode() ? Workspace.State.OVERVIEW
: Workspace.State.NORMAL;
Workspace.State toState = mWorkspace.isInOverviewMode() ? Workspace.State.NORMAL
: Workspace.State.OVERVIEW;
LauncherState fromState = mWorkspace.isInOverviewMode() ? LauncherState.OVERVIEW
: LauncherState.NORMAL;
LauncherState toState = mWorkspace.isInOverviewMode() ? LauncherState.NORMAL
: LauncherState.OVERVIEW;
float thresholdToAnimate = mPassedThreshold;
if (mPassedThreshold < previousPassedThreshold) {
// User reversed pinch, so heading back to the state that they started from.