diff options
author | Brandon Keely <lbk@google.com> | 2012-05-10 16:48:50 -0700 |
---|---|---|
committer | Brandon Keely <lbk@google.com> | 2012-05-10 16:48:50 -0700 |
commit | faf22e15f18479ee84ef15869694cd581df38dc5 (patch) | |
tree | 227cd33bbb05e4ba5de9158d29822f43f67b33c3 /src/com/android/launcher2/CellLayout.java | |
parent | 50ead3b2e8049fc3fd31f14a6151a1b5037bb834 (diff) | |
download | android_packages_apps_Trebuchet-faf22e15f18479ee84ef15869694cd581df38dc5.tar.gz android_packages_apps_Trebuchet-faf22e15f18479ee84ef15869694cd581df38dc5.tar.bz2 android_packages_apps_Trebuchet-faf22e15f18479ee84ef15869694cd581df38dc5.zip |
Ensure that rearranged widgets return to translationY=0
Change-Id: Ic29220624f8103eddfcbcc81d56f355f99322ca0
Diffstat (limited to 'src/com/android/launcher2/CellLayout.java')
-rw-r--r-- | src/com/android/launcher2/CellLayout.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java index ece187023..e4b5af3b5 100644 --- a/src/com/android/launcher2/CellLayout.java +++ b/src/com/android/launcher2/CellLayout.java @@ -2010,7 +2010,7 @@ public class CellLayout extends ViewGroup { ObjectAnimator.ofFloat(child, "scaleX", 1f), ObjectAnimator.ofFloat(child, "scaleY", 1f), ObjectAnimator.ofFloat(child, "translationX", 0f), - ObjectAnimator.ofFloat(child, "translationX", 0f) + ObjectAnimator.ofFloat(child, "translationY", 0f) ); s.setDuration(REORDER_ANIMATION_DURATION); s.setInterpolator(new android.view.animation.DecelerateInterpolator(1.5f)); |