Animate TaskView as you swipe down on it to launch

Bug: 73835352
Change-Id: Ia255a7af8fb6cd972f99de6390e097afc29c1b90
This commit is contained in:
Tony Wickham
2018-03-29 09:39:56 -07:00
parent 7a802eb6db
commit 3a6746ac04
5 changed files with 92 additions and 35 deletions

View File

@@ -1684,6 +1684,10 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns, L
: mAppTransitionManager.getActivityLaunchOptions(this, v);
}
public LauncherAppTransitionManager getAppTransitionManager() {
return mAppTransitionManager;
}
@TargetApi(Build.VERSION_CODES.M)
@Override
protected boolean onErrorStartingShortcut(Intent intent, ItemInfo info) {

View File

@@ -206,7 +206,6 @@ public abstract class AnimatorPlaybackController implements ValueAnimator.Animat
anim.setCurrentPlayTime(Math.min(playPos, anim.getDuration()));
}
}
}
private class OnAnimationEndDispatcher extends AnimationSuccessListener {