OSDN Git Service

QS animation: fix clearing translation state
authorJason Monk <jmonk@google.com>
Tue, 12 Apr 2016 17:55:16 +0000 (13:55 -0400)
committerJason Monk <jmonk@google.com>
Tue, 12 Apr 2016 17:55:16 +0000 (13:55 -0400)
Change-Id: I0477136c6eb4da4e10e152e458fada194c8290f0
Fixes: 27880443

packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java

index 4d959d8..409fbab 100644 (file)
@@ -306,8 +306,8 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha
         for (int i = 0; i < N; i++) {
             View v = mAllViews.get(i);
             v.setAlpha(1);
-            v.setTranslationX(1);
-            v.setTranslationY(1);
+            v.setTranslationX(0);
+            v.setTranslationY(0);
         }
         final int N2 = mTopFiveQs.size();
         for (int i = 0; i < N2; i++) {