Loading packages/SystemUI/res/values/config.xml +4 −2 Original line number Diff line number Diff line Loading @@ -120,11 +120,13 @@ duration of the transition in to recents. --> <integer name="recents_animate_task_bar_enter_delay">225</integer> <!-- The min animation duration for animating the task bar out. --> <integer name="recents_animate_task_exit_to_home_duration">225</integer> <!-- The min animation duration for animating the task bar out. --> <integer name="recents_animate_task_bar_exit_duration">125</integer> <!-- The min animation duration for animating the task in when transitioning from home. --> <integer name="recents_animate_task_enter_from_home_duration">325</integer> <integer name="recents_animate_task_enter_from_home_duration">275</integer> <!-- The animation stagger to apply to each task animation when transitioning from home. --> <integer name="recents_animate_task_enter_from_home_delay">16</integer> <integer name="recents_animate_task_enter_from_home_delay">10</integer> <!-- The min animation duration for animating the nav bar scrim in. --> <integer name="recents_nav_bar_scrim_enter_duration">400</integer> <!-- The animation duration for animating the removal of a task view. --> Loading packages/SystemUI/src/com/android/systemui/recents/Constants.java +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ public class Constants { public static class App { // Enables the home->Recents transition public static final boolean EnableHomeTransition = false; public static final boolean EnableHomeTransition = true; // Enables the screenshot app->Recents transition public static final boolean EnableScreenshotAppTransition = false; // Enables the filtering of tasks according to their grouping Loading packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +3 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ public class RecentsConfiguration { /** Task view animation and styles */ public int taskViewEnterFromHomeDuration; public int taskViewEnterFromHomeDelay; public int taskViewExitToHomeDuration; public int taskViewRemoveAnimDuration; public int taskViewRemoveAnimTranslationXPx; public int taskViewTranslationZMinPx; Loading Loading @@ -174,6 +175,8 @@ public class RecentsConfiguration { res.getInteger(R.integer.recents_animate_task_enter_from_home_duration); taskViewEnterFromHomeDelay = res.getInteger(R.integer.recents_animate_task_enter_from_home_delay); taskViewExitToHomeDuration = res.getInteger(R.integer.recents_animate_task_exit_to_home_duration); taskViewRemoveAnimDuration = res.getInteger(R.integer.recents_animate_task_view_remove_duration); taskViewRemoveAnimTranslationXPx = Loading packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java +2 −2 Original line number Diff line number Diff line Loading @@ -327,8 +327,8 @@ public class TaskView extends FrameLayout implements Task.TaskCallbacks, View.On animate() .translationY(ctx.offscreenTranslationY) .setStartDelay(0) .setInterpolator(mConfig.fastOutSlowInInterpolator) .setDuration(mConfig.taskViewEnterFromHomeDuration) .setInterpolator(mConfig.fastOutLinearInInterpolator) .setDuration(mConfig.taskViewExitToHomeDuration) .withLayer() .withEndAction(ctx.postAnimationTrigger.decrementAsRunnable()) .start(); Loading Loading
packages/SystemUI/res/values/config.xml +4 −2 Original line number Diff line number Diff line Loading @@ -120,11 +120,13 @@ duration of the transition in to recents. --> <integer name="recents_animate_task_bar_enter_delay">225</integer> <!-- The min animation duration for animating the task bar out. --> <integer name="recents_animate_task_exit_to_home_duration">225</integer> <!-- The min animation duration for animating the task bar out. --> <integer name="recents_animate_task_bar_exit_duration">125</integer> <!-- The min animation duration for animating the task in when transitioning from home. --> <integer name="recents_animate_task_enter_from_home_duration">325</integer> <integer name="recents_animate_task_enter_from_home_duration">275</integer> <!-- The animation stagger to apply to each task animation when transitioning from home. --> <integer name="recents_animate_task_enter_from_home_delay">16</integer> <integer name="recents_animate_task_enter_from_home_delay">10</integer> <!-- The min animation duration for animating the nav bar scrim in. --> <integer name="recents_nav_bar_scrim_enter_duration">400</integer> <!-- The animation duration for animating the removal of a task view. --> Loading
packages/SystemUI/src/com/android/systemui/recents/Constants.java +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ public class Constants { public static class App { // Enables the home->Recents transition public static final boolean EnableHomeTransition = false; public static final boolean EnableHomeTransition = true; // Enables the screenshot app->Recents transition public static final boolean EnableScreenshotAppTransition = false; // Enables the filtering of tasks according to their grouping Loading
packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +3 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ public class RecentsConfiguration { /** Task view animation and styles */ public int taskViewEnterFromHomeDuration; public int taskViewEnterFromHomeDelay; public int taskViewExitToHomeDuration; public int taskViewRemoveAnimDuration; public int taskViewRemoveAnimTranslationXPx; public int taskViewTranslationZMinPx; Loading Loading @@ -174,6 +175,8 @@ public class RecentsConfiguration { res.getInteger(R.integer.recents_animate_task_enter_from_home_duration); taskViewEnterFromHomeDelay = res.getInteger(R.integer.recents_animate_task_enter_from_home_delay); taskViewExitToHomeDuration = res.getInteger(R.integer.recents_animate_task_exit_to_home_duration); taskViewRemoveAnimDuration = res.getInteger(R.integer.recents_animate_task_view_remove_duration); taskViewRemoveAnimTranslationXPx = Loading
packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java +2 −2 Original line number Diff line number Diff line Loading @@ -327,8 +327,8 @@ public class TaskView extends FrameLayout implements Task.TaskCallbacks, View.On animate() .translationY(ctx.offscreenTranslationY) .setStartDelay(0) .setInterpolator(mConfig.fastOutSlowInInterpolator) .setDuration(mConfig.taskViewEnterFromHomeDuration) .setInterpolator(mConfig.fastOutLinearInInterpolator) .setDuration(mConfig.taskViewExitToHomeDuration) .withLayer() .withEndAction(ctx.postAnimationTrigger.decrementAsRunnable()) .start(); Loading