summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2011-02-23 15:54:37 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-02-23 15:54:37 -0800
commit6ab0041f8a9f0ca6b52d36600847aa94a53e2a5f (patch)
treea1259dd388a2ecaa636541cc212c31330939545e /src/com/android
parentc6d877592ce8813ff1a4f5e5fb0bdb15ae2a0d94 (diff)
parenta40829a4a86294237f5ea665e670ee100d9c02e5 (diff)
downloadandroid_packages_apps_Trebuchet-6ab0041f8a9f0ca6b52d36600847aa94a53e2a5f.tar.gz
android_packages_apps_Trebuchet-6ab0041f8a9f0ca6b52d36600847aa94a53e2a5f.tar.bz2
android_packages_apps_Trebuchet-6ab0041f8a9f0ca6b52d36600847aa94a53e2a5f.zip
Merge "Add comment about an earlier All Apps bug fix"
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/launcher2/PagedView.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher2/PagedView.java b/src/com/android/launcher2/PagedView.java
index cb952356b..159e821d5 100644
--- a/src/com/android/launcher2/PagedView.java
+++ b/src/com/android/launcher2/PagedView.java
@@ -546,6 +546,11 @@ public abstract class PagedView extends ViewGroup {
alpha = 1.0f;
}
+ // Due to the way we're setting alpha on our children in PagedViewCellLayout,
+ // this optimization causes alpha to not be properly updated sometimes (repro
+ // case: in xlarge mode, swipe to second page in All Apps, then click on "My
+ // Apps" tab. the page will have alpha 0 until you swipe it). Removing
+ // optimization fixes the issue, but we should fix this in a better manner
//if (Float.compare(alpha, layout.getAlpha()) != 0) {
layout.setAlpha(alpha);
//}