From 7e3357a56d10bdf9a12f8ce583982f9b8ab5f0de Mon Sep 17 00:00:00 2001 From: Ari Sachter-Zeltzer Date: Fri, 6 Jun 2014 18:31:18 -0700 Subject: [PATCH] [system transitions] + merge all transition work into new branch for commiting to master + new task switching animations to support doc-centric recents + new default activity transitions + new app -> home (wallpaper close) + updated fragment close Change-Id: If055e454e7e7bf11c7d54c8cacad8f7ec52d12d1 --- core/res/res/anim/activity_close_enter.xml | 5 ++-- core/res/res/anim/activity_close_exit.xml | 16 +++++------ core/res/res/anim/activity_open_enter.xml | 15 ++++------ core/res/res/anim/activity_open_exit.xml | 6 ++-- core/res/res/anim/task_close_enter.xml | 24 ++++++++-------- core/res/res/anim/task_close_exit.xml | 18 ++++-------- core/res/res/anim/task_open_enter.xml | 16 +++-------- core/res/res/anim/task_open_exit.xml | 24 ++++++++-------- core/res/res/anim/wallpaper_open_enter.xml | 2 +- core/res/res/anim/wallpaper_open_exit.xml | 28 ++++++++++++------- core/res/res/animator/fragment_open_enter.xml | 4 +-- .../res/res/interpolator/accelerate_quart.xml | 21 ++++++++++++++ .../res/res/interpolator/decelerate_quart.xml | 21 ++++++++++++++ 13 files changed, 117 insertions(+), 83 deletions(-) create mode 100644 core/res/res/interpolator/accelerate_quart.xml create mode 100644 core/res/res/interpolator/decelerate_quart.xml diff --git a/core/res/res/anim/activity_close_enter.xml b/core/res/res/anim/activity_close_enter.xml index 84e4a19a23c7a..a67b0ca385194 100644 --- a/core/res/res/anim/activity_close_enter.xml +++ b/core/res/res/anim/activity_close_enter.xml @@ -18,7 +18,8 @@ --> - + android:interpolator="@interpolator/linear_out_slow_in" + android:duration="250"/> \ No newline at end of file diff --git a/core/res/res/anim/activity_close_exit.xml b/core/res/res/anim/activity_close_exit.xml index 32f6d3845edf3..52c3adf10b4e3 100644 --- a/core/res/res/anim/activity_close_exit.xml +++ b/core/res/res/anim/activity_close_exit.xml @@ -20,13 +20,13 @@ + - + android:interpolator="@interpolator/accelerate_quint" + android:duration="250"/> \ No newline at end of file diff --git a/core/res/res/anim/activity_open_enter.xml b/core/res/res/anim/activity_open_enter.xml index d553bdfc98ef6..1d949d2f74465 100644 --- a/core/res/res/anim/activity_open_enter.xml +++ b/core/res/res/anim/activity_open_enter.xml @@ -21,15 +21,12 @@ android:shareInterpolator="false" android:zAdjustment="top"> - + android:duration="200"/> + \ No newline at end of file diff --git a/core/res/res/anim/activity_open_exit.xml b/core/res/res/anim/activity_open_exit.xml index 2d105d185baa1..3a84197f8f63d 100644 --- a/core/res/res/anim/activity_open_exit.xml +++ b/core/res/res/anim/activity_open_exit.xml @@ -19,8 +19,8 @@ - + android:interpolator="@interpolator/fast_out_slow_in" + android:duration="217"/> \ No newline at end of file diff --git a/core/res/res/anim/task_close_enter.xml b/core/res/res/anim/task_close_enter.xml index 9a747a122dd23..b07f470dd5f5e 100644 --- a/core/res/res/anim/task_close_enter.xml +++ b/core/res/res/anim/task_close_enter.xml @@ -18,25 +18,25 @@ --> + android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="normal"> - + android:interpolator="@interpolator/decelerate_cubic" + android:startOffset="600" + android:duration="133"/> - + android:duration="433" /> - + android:duration="433" /> \ No newline at end of file diff --git a/core/res/res/anim/task_close_exit.xml b/core/res/res/anim/task_close_exit.xml index 35b1aa37838cd..d23c74ffc1608 100644 --- a/core/res/res/anim/task_close_exit.xml +++ b/core/res/res/anim/task_close_exit.xml @@ -18,24 +18,18 @@ --> + android:background="#ff000000" android:shareInterpolator="false" android:zAdjustment="top"> + android:startOffset="250" + android:duration="167"/> - - - + android:interpolator="@interpolator/accelerate_quint" + android:duration="417"/> + android:duration="167"/> - - - + android:duration="417" /> \ No newline at end of file diff --git a/core/res/res/anim/task_open_exit.xml b/core/res/res/anim/task_open_exit.xml index 0ba35d72f7669..78d0fb015ce3c 100644 --- a/core/res/res/anim/task_open_exit.xml +++ b/core/res/res/anim/task_open_exit.xml @@ -20,22 +20,22 @@ - - - + android:duration="133"/> - + android:interpolator="@interpolator/accelerate_cubic" + android:duration="433"/> + + + android:duration="225"/> \ No newline at end of file diff --git a/core/res/res/anim/wallpaper_open_exit.xml b/core/res/res/anim/wallpaper_open_exit.xml index b0f97d166c8a6..696912b257ac5 100644 --- a/core/res/res/anim/wallpaper_open_exit.xml +++ b/core/res/res/anim/wallpaper_open_exit.xml @@ -19,14 +19,22 @@ - - + + + + + + \ No newline at end of file diff --git a/core/res/res/animator/fragment_open_enter.xml b/core/res/res/animator/fragment_open_enter.xml index 8cd0e4e7e6689..4ae24b9e07dd6 100644 --- a/core/res/res/animator/fragment_open_enter.xml +++ b/core/res/res/animator/fragment_open_enter.xml @@ -19,13 +19,13 @@ diff --git a/core/res/res/interpolator/accelerate_quart.xml b/core/res/res/interpolator/accelerate_quart.xml new file mode 100644 index 0000000000000..64efec6fd19a0 --- /dev/null +++ b/core/res/res/interpolator/accelerate_quart.xml @@ -0,0 +1,21 @@ + + + + diff --git a/core/res/res/interpolator/decelerate_quart.xml b/core/res/res/interpolator/decelerate_quart.xml new file mode 100644 index 0000000000000..9f6a51fd9da8b --- /dev/null +++ b/core/res/res/interpolator/decelerate_quart.xml @@ -0,0 +1,21 @@ + + + +