diff --git a/res/anim/no_anim.xml b/res/anim/no_anim.xml new file mode 100644 index 0000000000..02b162519a --- /dev/null +++ b/res/anim/no_anim.xml @@ -0,0 +1,18 @@ + + + + diff --git a/res/anim/task_open_enter.xml b/res/anim/task_open_enter.xml new file mode 100644 index 0000000000..b2aadd7fa7 --- /dev/null +++ b/res/anim/task_open_enter.xml @@ -0,0 +1,34 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/interpolator/decelerate_quart.xml b/res/interpolator/decelerate_quart.xml new file mode 100644 index 0000000000..5dc5d38576 --- /dev/null +++ b/res/interpolator/decelerate_quart.xml @@ -0,0 +1,21 @@ + + + + diff --git a/res/interpolator/decelerate_quint.xml b/res/interpolator/decelerate_quint.xml new file mode 100644 index 0000000000..fa89a648e3 --- /dev/null +++ b/res/interpolator/decelerate_quint.xml @@ -0,0 +1,21 @@ + + + + diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index e5a17c0d7e..60efcea6d4 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -2744,6 +2744,10 @@ public class Launcher extends Activity v.getMeasuredWidth(), v.getMeasuredHeight()); optsBundle = opts.toBundle(); } + if (useLaunchAnimation && Utilities.isLmp()) { + ActivityOptions opts = ActivityOptions.makeCustomAnimation(this, R.anim.task_open_enter, R.anim.no_anim); + optsBundle = opts.toBundle(); + } if (user == null || user.equals(UserHandleCompat.myUserHandle())) { // Could be launching some bookkeeping activity