Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5dd49a46 authored by Tony Mak's avatar Tony Mak
Browse files

Update cross_profile_apps_thumbnail_enter as per task_open_enter

Fix: 72438390
Test: Consume the API and observe the animation

Change-Id: I7189fe3c66d27a5d5132ceceae7a4cc362819459
parent 793e14d0
Loading
Loading
Loading
Loading
+46 −11
Original line number Original line Diff line number Diff line
@@ -20,19 +20,54 @@
<set xmlns:android="http://schemas.android.com/apk/res/android"
<set xmlns:android="http://schemas.android.com/apk/res/android"
     android:shareInterpolator="false" android:zAdjustment="top">
     android:shareInterpolator="false" android:zAdjustment="top">


    <alpha android:fromAlpha="0" android:toAlpha="1.0"
    <alpha
           android:startOffset="300"
        android:fromAlpha="1"
           android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
        android:toAlpha="1.0"
           android:interpolator="@interpolator/decelerate_quart"
        android:fillEnabled="true"
           android:duration="167"/>
        android:fillBefore="true"
        android:fillAfter="true"
        android:interpolator="@interpolator/linear"
        android:startOffset="67"
        android:duration="217"/>


    <translate android:fromYDelta="110%" android:toYDelta="0"
    <translate
               android:startOffset="300"
        android:fromXDelta="-105%"
               android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
        android:toXDelta="0"
               android:interpolator="@interpolator/decelerate_quint"
        android:fillEnabled="true"
               android:duration="417"/>
        android:fillBefore="true"
        android:fillAfter="true"
        android:interpolator="@interpolator/aggressive_ease"
        android:startOffset="50"
        android:duration="383"/>

    <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 -->
    <!-- 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"
           android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
           android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
           android:interpolator="@interpolator/decelerate_quint"
           android:interpolator="@interpolator/decelerate_quint"
+3 −1
Original line number Original line Diff line number Diff line
@@ -14,7 +14,9 @@
** See the License for the specific language governing permissions and
** See the License for the specific language governing permissions and
** limitations under the License.
** limitations under the License.
*/
*/
--><!-- 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 -->
<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">