summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2012-10-17 13:02:55 +0200
committerMichael Jurka <mikejurka@google.com>2012-10-17 13:02:55 +0200
commita924076b4f4f8bb77142c928cb7ca24f684c2818 (patch)
tree801c9d15a3e7acd845e524bcb493f860113447a6 /packages
parent87d57952af662a94637c1519b2189e22456af2db (diff)
downloadframeworks_base-a924076b4f4f8bb77142c928cb7ca24f684c2818.zip
frameworks_base-a924076b4f4f8bb77142c928cb7ca24f684c2818.tar.gz
frameworks_base-a924076b4f4f8bb77142c928cb7ca24f684c2818.tar.bz2
Potential fix for bug 7352816
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
index 57d2ed3..9f0bcf5 100644
--- a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
@@ -185,6 +185,16 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
final Activity activity = (Activity) RecentsPanelView.this.getContext();
final SystemUIApplication app = (SystemUIApplication) activity.getApplication();
if (app.isWaitingForWindowAnimationStart()) {
+ if (mItemToAnimateInWhenWindowAnimationIsFinished != null) {
+ for (View v :
+ new View[] { holder.iconView, holder.labelView, holder.calloutLine }) {
+ if (v != null) {
+ v.setAlpha(1f);
+ v.setTranslationX(0f);
+ v.setTranslationY(0f);
+ }
+ }
+ }
mItemToAnimateInWhenWindowAnimationIsFinished = holder;
final int translation = -getResources().getDimensionPixelSize(
R.dimen.status_bar_recents_app_icon_translate_distance);