Merge "Set start time for open folder animation before starting the animation" into udc-dev am: c9cc7ea612
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22872668 Change-Id: Ia5d8a09488c19d64c9518a8d65bba8b4029f6eb0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -733,10 +733,11 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
|
||||
}
|
||||
|
||||
mPageIndicator.stopAllAnimations();
|
||||
startAnimation(anim);
|
||||
|
||||
// Because t=0 has the folder match the folder icon, we can skip the
|
||||
// first frame and have the same movement one frame earlier.
|
||||
anim.setCurrentPlayTime(Math.min(getSingleFrameMs(getContext()), anim.getTotalDuration()));
|
||||
startAnimation(anim);
|
||||
|
||||
// Make sure the folder picks up the last drag move even if the finger doesn't move.
|
||||
if (mDragController.isDragging()) {
|
||||
|
||||
Reference in New Issue
Block a user