Loading quickstep/src/com/android/launcher3/taskbar/TaskbarTranslationController.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -138,7 +138,7 @@ public class TaskbarTranslationController implements TaskbarControllers.Loggable * Returns an animation to reset the taskbar translation to {@code 0}. * Returns an animation to reset the taskbar translation to {@code 0}. */ */ public ObjectAnimator createAnimToResetTranslation(long duration) { public ObjectAnimator createAnimToResetTranslation(long duration) { ObjectAnimator animator = ObjectAnimator.ofFloat(mTranslationYForSwipe, VALUE, 0); ObjectAnimator animator = mTranslationYForSwipe.animateToValue(0); animator.setInterpolator(Interpolators.LINEAR); animator.setInterpolator(Interpolators.LINEAR); animator.setDuration(duration); animator.setDuration(duration); animator.addListener(new AnimatorListenerAdapter() { animator.addListener(new AnimatorListenerAdapter() { Loading Loading
quickstep/src/com/android/launcher3/taskbar/TaskbarTranslationController.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -138,7 +138,7 @@ public class TaskbarTranslationController implements TaskbarControllers.Loggable * Returns an animation to reset the taskbar translation to {@code 0}. * Returns an animation to reset the taskbar translation to {@code 0}. */ */ public ObjectAnimator createAnimToResetTranslation(long duration) { public ObjectAnimator createAnimToResetTranslation(long duration) { ObjectAnimator animator = ObjectAnimator.ofFloat(mTranslationYForSwipe, VALUE, 0); ObjectAnimator animator = mTranslationYForSwipe.animateToValue(0); animator.setInterpolator(Interpolators.LINEAR); animator.setInterpolator(Interpolators.LINEAR); animator.setDuration(duration); animator.setDuration(duration); animator.addListener(new AnimatorListenerAdapter() { animator.addListener(new AnimatorListenerAdapter() { Loading