Loading quickstep/src/com/android/launcher3/LauncherAnimationRunner.java +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import android.animation.AnimatorSet; import android.content.Context; import android.os.Handler; import android.os.RemoteException; import android.util.Log; import android.view.IRemoteAnimationFinishedCallback; import android.view.RemoteAnimationTarget; Loading Loading @@ -196,6 +197,7 @@ public class LauncherAnimationRunner extends RemoteAnimationRunnerCompat { if (skipFirstFrame) { // Because t=0 has the app icon in its original spot, we can skip the // first frame and have the same movement one frame earlier. Log.d("b/311077782", "LauncherAnimationRunner.setAnimation"); mAnimator.setCurrentPlayTime( Math.min(getSingleFrameMs(context), mAnimator.getTotalDuration())); } Loading src/com/android/launcher3/folder/Folder.java +1 −0 Original line number Diff line number Diff line Loading @@ -773,6 +773,7 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo addAnimationStartListeners(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. Log.d("b/311077782", "Folder.animateOpen"); anim.setCurrentPlayTime(Math.min(getSingleFrameMs(getContext()), anim.getTotalDuration())); anim.start(); Loading Loading
quickstep/src/com/android/launcher3/LauncherAnimationRunner.java +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import android.animation.AnimatorSet; import android.content.Context; import android.os.Handler; import android.os.RemoteException; import android.util.Log; import android.view.IRemoteAnimationFinishedCallback; import android.view.RemoteAnimationTarget; Loading Loading @@ -196,6 +197,7 @@ public class LauncherAnimationRunner extends RemoteAnimationRunnerCompat { if (skipFirstFrame) { // Because t=0 has the app icon in its original spot, we can skip the // first frame and have the same movement one frame earlier. Log.d("b/311077782", "LauncherAnimationRunner.setAnimation"); mAnimator.setCurrentPlayTime( Math.min(getSingleFrameMs(context), mAnimator.getTotalDuration())); } Loading
src/com/android/launcher3/folder/Folder.java +1 −0 Original line number Diff line number Diff line Loading @@ -773,6 +773,7 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo addAnimationStartListeners(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. Log.d("b/311077782", "Folder.animateOpen"); anim.setCurrentPlayTime(Math.min(getSingleFrameMs(getContext()), anim.getTotalDuration())); anim.start(); Loading