summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanesh Mondegarian <daneshm90@gmail.com>2014-04-22 07:03:05 (GMT)
committerDanesh Mondegarian <daneshm90@gmail.com>2014-04-22 07:03:05 (GMT)
commit45b71b4584f443454bfd9f1b7b1e07e88fed858f (patch)
tree400c2dcfb3e691886fb1dc1aa02fafebd57a8243
parent68c2c9bdbeeb1c428517af57d0a8ac42261887e3 (diff)
downloadandroid_packages_apps_Trebuchet-45b71b4584f443454bfd9f1b7b1e07e88fed858f.zip
android_packages_apps_Trebuchet-45b71b4584f443454bfd9f1b7b1e07e88fed858f.tar.gz
android_packages_apps_Trebuchet-45b71b4584f443454bfd9f1b7b1e07e88fed858f.tar.bz2
Trebuchet : Don't hideoutlines if in small overview mode
Repro : Long press homescreen Observe the gradient backing of each panel Long press a panel/screen and drop it or rearrange it Notice the lack of gradient backing Change-Id: Icac625d8fa11f4751c8dbe775edc5e6093e1a4ed
-rw-r--r--src/com/android/launcher3/Workspace.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index 43994d7..c3ce8bf 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -1334,7 +1334,7 @@ public class Workspace extends SmoothPagedView
}
void hideOutlines() {
- if (!mIsSwitchingState) {
+ if (!isSmall() && !mIsSwitchingState) {
if (mChildrenOutlineFadeInAnimation != null) mChildrenOutlineFadeInAnimation.cancel();
if (mChildrenOutlineFadeOutAnimation != null) mChildrenOutlineFadeOutAnimation.cancel();
mChildrenOutlineFadeOutAnimation = LauncherAnimUtils.ofFloat(this, "childrenOutlineAlpha", 0.0f);