Bug 868460 - Fix getAlpha() in AnimatorProxy (r=mfinkle)
authorLucas Rocha <lucasr@mozilla.com>
Tue, 07 May 2013 18:04:10 +0100
changeset 142085 85c771c2fffdcb0ac62e1310c3a7b46c8894d7e1
parent 142084 fa4f3e24bca461f34bc4c8d38740d3222c8f9635
child 142086 0881dcd9a86cf902585453829caf8d49690cb07a
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs868460
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 868460 - Fix getAlpha() in AnimatorProxy (r=mfinkle)
mobile/android/base/AnimatorProxy.java
--- a/mobile/android/base/AnimatorProxy.java
+++ b/mobile/android/base/AnimatorProxy.java
@@ -226,17 +226,17 @@ public class AnimatorProxy {
                     (int) Math.floor(after.left),
                     (int) Math.floor(after.top),
                     (int) Math.ceil(after.right),
                     (int) Math.ceil(after.bottom));
         }
 
         @Override
         public float getAlpha() {
-            return mTranslationX;
+            return mAlpha;
         }
 
         @Override
         public void setAlpha(float alpha) {
             if (alpha == alpha)
                 return;
 
             mAlpha = alpha;