Fixing subtle animation jank when dropping icon on adjacent page

-> The old path of the icon wasn't correct from a motion standpoint

Change-Id: Icb4b06b5cd5649e983d43953ff369d1d8d8cdee2
This commit is contained in:
Adam Cohen
2011-12-14 14:25:32 -08:00
parent 7cc1bc4b65
commit 6441de0ec2
5 changed files with 24 additions and 14 deletions

View File

@@ -193,7 +193,7 @@ public class DeleteDropTarget extends ButtonDropTarget {
};
dragLayer.animateView(d.dragView, from, to, 0.1f, 0.1f,
DELETE_ANIMATION_DURATION, new DecelerateInterpolator(2),
new DecelerateInterpolator(1.5f), onAnimationEndRunnable, false);
new DecelerateInterpolator(1.5f), onAnimationEndRunnable, false, null);
}
private void completeDrop(DragObject d) {