Update task transition animations
Following designs from go/android-new-task-motion Test: atest FlickerTests:TaskTransitionTest Bug: 199507257 Change-Id: I037517d930e3425dc22ebab6f5df1968ebba5483
This commit is contained in:
@@ -18,19 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
<!-- This should be kept in sync with task_open_enter.xml -->
|
<!-- This should be kept in sync with task_open_enter.xml -->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:hasRoundedCorners="true"
|
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:zAdjustment="top">
|
android:zAdjustment="top"
|
||||||
|
android:hasRoundedCorners="true"
|
||||||
<alpha
|
android:background="@color/overview_background">
|
||||||
android:fromAlpha="1"
|
|
||||||
android:toAlpha="1.0"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="217"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="-105%"
|
android:fromXDelta="-105%"
|
||||||
@@ -38,36 +29,9 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0526"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="1.0526"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="0.95"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="0.95"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:startOffset="283"
|
|
||||||
android:duration="317"/>
|
|
||||||
|
|
||||||
<!-- To keep the thumbnail around longer and fade out the thumbnail -->
|
<!-- To keep the thumbnail around longer and fade out the thumbnail -->
|
||||||
<alpha android:fromAlpha="1.0" android:toAlpha="0"
|
<alpha android:fromAlpha="1.0" android:toAlpha="0"
|
||||||
|
|||||||
@@ -14,20 +14,10 @@
|
|||||||
~ limitations under the License
|
~ limitations under the License
|
||||||
-->
|
-->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:zAdjustment="top"
|
android:zAdjustment="top"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1"
|
|
||||||
android:toAlpha="1.0"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="217"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="105%"
|
android:fromXDelta="105%"
|
||||||
@@ -35,34 +25,7 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0526"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="1.0526"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="0.95"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="0.95"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:startOffset="283"
|
|
||||||
android:duration="317"/>
|
|
||||||
</set>
|
</set>
|
||||||
@@ -15,19 +15,9 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1.0"
|
|
||||||
android:toAlpha="1"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="0"
|
android:fromXDelta="0"
|
||||||
@@ -35,22 +25,9 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0"
|
|
||||||
android:toXScale="0.95"
|
|
||||||
android:fromYScale="1.0"
|
|
||||||
android:toYScale="0.95"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<!-- This is needed to keep the animation running while task_open_enter completes -->
|
<!-- This is needed to keep the animation running while task_open_enter completes -->
|
||||||
<alpha
|
<alpha
|
||||||
|
|||||||
@@ -16,20 +16,10 @@
|
|||||||
<!-- This should in sync with task_open_enter_cross_profile_apps.xml -->
|
<!-- This should in sync with task_open_enter_cross_profile_apps.xml -->
|
||||||
<!-- This should in sync with cross_profile_apps_thumbnail_enter.xml -->
|
<!-- This should in sync with cross_profile_apps_thumbnail_enter.xml -->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:zAdjustment="top"
|
android:zAdjustment="top"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1"
|
|
||||||
android:toAlpha="1.0"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="217"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="-105%"
|
android:fromXDelta="-105%"
|
||||||
@@ -37,34 +27,7 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
</set>
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0526"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="1.0526"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="0.95"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="0.95"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:startOffset="283"
|
|
||||||
android:duration="317"/>
|
|
||||||
</set>
|
|
||||||
|
|||||||
@@ -16,20 +16,10 @@
|
|||||||
-->
|
-->
|
||||||
<!-- This should in sync with task_open_enter.xml -->
|
<!-- This should in sync with task_open_enter.xml -->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:zAdjustment="top"
|
android:zAdjustment="top"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1"
|
|
||||||
android:toAlpha="1.0"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="217"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="-105%"
|
android:fromXDelta="-105%"
|
||||||
@@ -37,36 +27,9 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0526"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="1.0526"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="0.95"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="0.95"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:startOffset="283"
|
|
||||||
android:duration="317"/>
|
|
||||||
|
|
||||||
<!-- To keep the transition around longer for the thumbnail, should be kept in sync with
|
<!-- To keep the transition around longer for the thumbnail, should be kept in sync with
|
||||||
cross_profile_apps_thumbmail.xml -->
|
cross_profile_apps_thumbmail.xml -->
|
||||||
@@ -75,4 +38,4 @@
|
|||||||
android:toAlpha="1.0"
|
android:toAlpha="1.0"
|
||||||
android:startOffset="717"
|
android:startOffset="717"
|
||||||
android:duration="200"/>
|
android:duration="200"/>
|
||||||
</set>
|
</set>
|
||||||
|
|||||||
@@ -15,19 +15,9 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1.0"
|
|
||||||
android:toAlpha="1"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="0"
|
android:fromXDelta="0"
|
||||||
@@ -35,22 +25,9 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0"
|
|
||||||
android:toXScale="0.95"
|
|
||||||
android:fromYScale="1.0"
|
|
||||||
android:toYScale="0.95"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<!-- This is needed to keep the animation running while task_open_enter completes -->
|
<!-- This is needed to keep the animation running while task_open_enter completes -->
|
||||||
<alpha
|
<alpha
|
||||||
|
|||||||
@@ -19,18 +19,9 @@
|
|||||||
<!-- This should be kept in sync with task_open_enter.xml -->
|
<!-- This should be kept in sync with task_open_enter.xml -->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
|
android:zAdjustment="top"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:zAdjustment="top">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1"
|
|
||||||
android:toAlpha="1.0"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="217"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="105%"
|
android:fromXDelta="105%"
|
||||||
@@ -38,36 +29,9 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0526"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="1.0526"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="0.95"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="0.95"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:startOffset="283"
|
|
||||||
android:duration="317"/>
|
|
||||||
|
|
||||||
<!-- To keep the thumbnail around longer and fade out the thumbnail -->
|
<!-- To keep the thumbnail around longer and fade out the thumbnail -->
|
||||||
<alpha android:fromAlpha="1.0" android:toAlpha="0"
|
<alpha android:fromAlpha="1.0" android:toAlpha="0"
|
||||||
|
|||||||
@@ -16,20 +16,10 @@
|
|||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:zAdjustment="top"
|
android:zAdjustment="top"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1"
|
|
||||||
android:toAlpha="1.0"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="217"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="-105%"
|
android:fromXDelta="-105%"
|
||||||
@@ -37,34 +27,7 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0526"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="1.0526"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="0.95"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="0.95"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:startOffset="283"
|
|
||||||
android:duration="317"/>
|
|
||||||
</set>
|
</set>
|
||||||
@@ -17,19 +17,9 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1.0"
|
|
||||||
android:toAlpha="1"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="0"
|
android:fromXDelta="0"
|
||||||
@@ -37,22 +27,9 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0"
|
|
||||||
android:toXScale="0.95"
|
|
||||||
android:fromYScale="1.0"
|
|
||||||
android:toYScale="0.95"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<!-- This is needed to keep the animation running while task_open_enter completes -->
|
<!-- This is needed to keep the animation running while task_open_enter completes -->
|
||||||
<alpha
|
<alpha
|
||||||
|
|||||||
@@ -15,23 +15,13 @@
|
|||||||
** limitations under the License.
|
** limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<!-- This should in sync with task_open_enter_cross_profile_apps.xml -->
|
<!-- This should be kept in sync with task_open_enter_cross_profile_apps.xml -->
|
||||||
<!-- This should in sync with cross_profile_apps_thumbnail_enter.xml -->
|
<!-- This should be kept in sync with cross_profile_apps_thumbnail_enter.xml -->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:zAdjustment="top"
|
android:zAdjustment="top"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1"
|
|
||||||
android:toAlpha="1.0"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="217"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="105%"
|
android:fromXDelta="105%"
|
||||||
@@ -39,34 +29,7 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0526"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="1.0526"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="0.95"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="0.95"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:startOffset="283"
|
|
||||||
android:duration="317"/>
|
|
||||||
</set>
|
</set>
|
||||||
@@ -18,20 +18,10 @@
|
|||||||
-->
|
-->
|
||||||
<!-- This should in sync with task_open_enter.xml -->
|
<!-- This should in sync with task_open_enter.xml -->
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:zAdjustment="top"
|
android:zAdjustment="top"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1"
|
|
||||||
android:toAlpha="1.0"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="217"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="105%"
|
android:fromXDelta="105%"
|
||||||
@@ -39,36 +29,9 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0526"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="1.0526"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="0.95"
|
|
||||||
android:toXScale="1"
|
|
||||||
android:fromYScale="0.95"
|
|
||||||
android:toYScale="1"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:startOffset="283"
|
|
||||||
android:duration="317"/>
|
|
||||||
|
|
||||||
<!-- To keep the transition around longer for the thumbnail, should be kept in sync with
|
<!-- To keep the transition around longer for the thumbnail, should be kept in sync with
|
||||||
cross_profile_apps_thumbmail.xml -->
|
cross_profile_apps_thumbmail.xml -->
|
||||||
|
|||||||
@@ -17,19 +17,9 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shareInterpolator="false"
|
android:shareInterpolator="false"
|
||||||
android:hasRoundedCorners="true"
|
android:hasRoundedCorners="true"
|
||||||
android:showWallpaper="true">
|
android:background="@color/overview_background">
|
||||||
|
|
||||||
<alpha
|
|
||||||
android:fromAlpha="1.0"
|
|
||||||
android:toAlpha="1"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:interpolator="@interpolator/linear"
|
|
||||||
android:startOffset="67"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<translate
|
<translate
|
||||||
android:fromXDelta="0"
|
android:fromXDelta="0"
|
||||||
@@ -37,22 +27,9 @@
|
|||||||
android:fillEnabled="true"
|
android:fillEnabled="true"
|
||||||
android:fillBefore="true"
|
android:fillBefore="true"
|
||||||
android:fillAfter="true"
|
android:fillAfter="true"
|
||||||
android:interpolator="@interpolator/aggressive_ease"
|
android:interpolator="@interpolator/fast_out_extra_slow_in"
|
||||||
android:startOffset="50"
|
android:startOffset="0"
|
||||||
android:duration="383"/>
|
android:duration="500"/>
|
||||||
|
|
||||||
<scale
|
|
||||||
android:fromXScale="1.0"
|
|
||||||
android:toXScale="0.95"
|
|
||||||
android:fromYScale="1.0"
|
|
||||||
android:toYScale="0.95"
|
|
||||||
android:fillEnabled="true"
|
|
||||||
android:fillBefore="true"
|
|
||||||
android:fillAfter="true"
|
|
||||||
android:pivotX="50%"
|
|
||||||
android:pivotY="50%"
|
|
||||||
android:interpolator="@interpolator/fast_out_slow_in"
|
|
||||||
android:duration="283"/>
|
|
||||||
|
|
||||||
<!-- This is needed to keep the animation running while task_open_enter completes -->
|
<!-- This is needed to keep the animation running while task_open_enter completes -->
|
||||||
<alpha
|
<alpha
|
||||||
|
|||||||
19
core/res/res/color/overview_background.xml
Normal file
19
core/res/res/color/overview_background.xml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
~ Copyright (C) 2021 The Android Open Source Project
|
||||||
|
~
|
||||||
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
~ you may not use this file except in compliance with the License.
|
||||||
|
~ You may obtain a copy of the License at
|
||||||
|
~
|
||||||
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
|
~ Unless required by applicable law or agreed to in writing, software
|
||||||
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
~ See the License for the specific language governing permissions and
|
||||||
|
~ limitations under the License.
|
||||||
|
-->
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:color="@android:color/system_neutral2_500" android:lStar="87" />
|
||||||
|
</selector>
|
||||||
19
core/res/res/color/overview_background_dark.xml
Normal file
19
core/res/res/color/overview_background_dark.xml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
~ Copyright (C) 2021 The Android Open Source Project
|
||||||
|
~
|
||||||
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
~ you may not use this file except in compliance with the License.
|
||||||
|
~ You may obtain a copy of the License at
|
||||||
|
~
|
||||||
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
|
~ Unless required by applicable law or agreed to in writing, software
|
||||||
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
~ See the License for the specific language governing permissions and
|
||||||
|
~ limitations under the License.
|
||||||
|
-->
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:color="@android:color/system_neutral2_500" android:lStar="35" />
|
||||||
|
</selector>
|
||||||
@@ -33,4 +33,6 @@
|
|||||||
<color name="call_notification_answer_color">#5DBA80</color>
|
<color name="call_notification_answer_color">#5DBA80</color>
|
||||||
|
|
||||||
<color name="personal_apps_suspension_notification_color">#8AB4F8</color>
|
<color name="personal_apps_suspension_notification_color">#8AB4F8</color>
|
||||||
|
|
||||||
|
<color name="overview_background">@color/overview_background_dark</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user