summaryrefslogtreecommitdiffstats
path: root/quickstep/src/com/android/launcher3/uioverrides/OverviewState.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-11-13 15:58:01 -0800
committerSunny Goyal <sunnygoyal@google.com>2017-11-13 16:00:06 -0800
commitac00cba35c5c8502b051cbbca14f8e9f897c3897 (patch)
tree8566e7e42aa9e5fb2261c94367cc96b79988375e /quickstep/src/com/android/launcher3/uioverrides/OverviewState.java
parent96f4961d97def81a01f4992fd525d839801388e3 (diff)
downloadandroid_packages_apps_Trebuchet-ac00cba35c5c8502b051cbbca14f8e9f897c3897.tar.gz
android_packages_apps_Trebuchet-ac00cba35c5c8502b051cbbca14f8e9f897c3897.tar.bz2
android_packages_apps_Trebuchet-ac00cba35c5c8502b051cbbca14f8e9f897c3897.zip
Simplifying workspace layout
Instead of creating workspace view larger than the screen size (so that it can be zoomed out), restricting the size to the parent size and bypassing the drag events directly to Workspace (since the workspace is smaller when zoomed out, it might not qualify for all events otherwise). Change-Id: I45e213dd6d16bec5feb6e7cf90bc6f7de4c6d305
Diffstat (limited to 'quickstep/src/com/android/launcher3/uioverrides/OverviewState.java')
-rw-r--r--quickstep/src/com/android/launcher3/uioverrides/OverviewState.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/quickstep/src/com/android/launcher3/uioverrides/OverviewState.java b/quickstep/src/com/android/launcher3/uioverrides/OverviewState.java
index 9bdd7a384..abf70aaed 100644
--- a/quickstep/src/com/android/launcher3/uioverrides/OverviewState.java
+++ b/quickstep/src/com/android/launcher3/uioverrides/OverviewState.java
@@ -29,9 +29,6 @@ import com.android.quickstep.RecentsView;
*/
public class OverviewState extends LauncherState {
- // The percent to shrink the workspace during overview mode
- public static final float SCALE_FACTOR = 0.7f;
-
private static final int STATE_FLAGS = FLAG_SHOW_SCRIM | FLAG_MULTI_PAGE;
public OverviewState(int id) {