summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-07-10 17:01:32 (GMT)
committerRaj Yengisetty <rajesh@cyngn.com>2014-07-10 17:01:32 (GMT)
commitb2f186e293253dd81283785e1d4903f77c8c18a2 (patch)
tree953783ea6a04c169ec742968b25278e4db89670e
parent21b611f00ac41c82dc730408fd6d95a5eda260cb (diff)
downloadandroid_packages_apps_Trebuchet-b2f186e293253dd81283785e1d4903f77c8c18a2.zip
android_packages_apps_Trebuchet-b2f186e293253dd81283785e1d4903f77c8c18a2.tar.gz
android_packages_apps_Trebuchet-b2f186e293253dd81283785e1d4903f77c8c18a2.tar.bz2
Fix Overview Panel glitch when animating Workspace into overview mode.
Change-Id: I12cd8e6e96cdebadfa42590152c4c16e644aded3
-rw-r--r--src/com/android/launcher3/Workspace.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index 3523be0..19bb8e0 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -2502,9 +2502,9 @@ public class Workspace extends SmoothPagedView
if (overviewToWorkspace) {
overviewPanel.setScaleY(1.0f);
- mOverviewPanelSlideScale = 2.0f;
+ mOverviewPanelSlideScale = 2.5f;
} else if (workspaceToOverview) {
- overviewPanel.setScaleY(2.0f);
+ overviewPanel.setScaleY(2.5f);
mOverviewPanelSlideScale = 1.0f;
}
@@ -2519,7 +2519,6 @@ public class Workspace extends SmoothPagedView
overviewPanel.setAlpha(finalOverviewPanelAlpha);
AlphaUpdateListener.updateVisibility(overviewPanel);
}
-
}
@Override