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

Commit f2cd6130 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Reduce the duration of rotation animation

Make the rotation animation snappier.

Bug: 178472794
Test: Rotate device
Change-Id: If7826810b38dd28715d795a8eadbfe0742223cd7
parent d05e7856
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
        android:pivotX="50%" android:pivotY="50%"
        android:fillEnabled="true"
        android:fillBefore="true" android:fillAfter="true"
        android:interpolator="@interpolator/fast_out_slow_in"
        android:interpolator="@interpolator/screen_rotation"
        android:duration="@android:integer/config_screen_rotation_total_180" />
    <alpha android:fromAlpha="0.0" android:toAlpha="1.0"
        android:fillEnabled="true"
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
        android:pivotX="50%" android:pivotY="50%"
        android:fillEnabled="true"
        android:fillBefore="true" android:fillAfter="true"
        android:interpolator="@interpolator/fast_out_slow_in"
        android:interpolator="@interpolator/screen_rotation"
        android:duration="@android:integer/config_screen_rotation_total_180" />
    <alpha android:fromAlpha="1.0" android:toAlpha="0.0"
        android:fillEnabled="true"
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
        android:pivotX="50%" android:pivotY="50%"
        android:fillEnabled="true"
        android:fillBefore="true" android:fillAfter="true"
        android:interpolator="@interpolator/fast_out_slow_in"
        android:interpolator="@interpolator/screen_rotation"
        android:duration="@android:integer/config_screen_rotation_total_90" />
    <alpha android:fromAlpha="0.0" android:toAlpha="1.0"
        android:fillEnabled="true"
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
        android:pivotX="50%" android:pivotY="50%"
        android:fillEnabled="true"
        android:fillBefore="true" android:fillAfter="true"
        android:interpolator="@interpolator/fast_out_slow_in"
        android:interpolator="@interpolator/screen_rotation"
        android:duration="@android:integer/config_screen_rotation_total_90" />
    <alpha android:fromAlpha="1.0" android:toAlpha="0.0"
        android:fillEnabled="true"
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
        android:pivotX="50%" android:pivotY="50%"
        android:fillEnabled="true"
        android:fillBefore="true" android:fillAfter="true"
        android:interpolator="@interpolator/fast_out_slow_in"
        android:interpolator="@interpolator/screen_rotation"
        android:duration="@android:integer/config_screen_rotation_total_90" />
    <alpha android:fromAlpha="0.0" android:toAlpha="1.0"
        android:fillEnabled="true"
Loading