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

Commit 9adeb6b9 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Improve lock screen hide animation.

Fade the alpha quicker, to reduce the amount of dimming to
black we see in the middle.  Also start scaled a little
farther back; since in this case the lock screen is fully
opaque, we won't see the early part of the window animation
behind.

Change-Id: I65fcfbf2f27860abf6a1b225a44428d8a20cfb34
parent 7358fbfe
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@
<set xmlns:android="http://schemas.android.com/apk/res/android"
    android:background="#ff000000" android:shareInterpolator="false">
    <scale
        android:fromXScale="0.95" android:toXScale="1.0"
        android:fromYScale="0.95" android:toYScale="1.0"
        android:fromXScale="0.90" android:toXScale="1.0"
        android:fromYScale="0.90" android:toYScale="1.0"
        android:pivotX="50%p" android:pivotY="50%p"
        android:fillEnabled="true" android:fillBefore="true"
        android:interpolator="@interpolator/decelerate_cubic"
@@ -30,7 +30,7 @@
    <alpha
        android:fromAlpha="0.0" android:toAlpha="1.0"
        android:fillEnabled="true" android:fillBefore="true"
        android:interpolator="@interpolator/decelerate_quad"
        android:interpolator="@interpolator/decelerate_quint"
        android:startOffset="@android:integer/config_shortAnimTime"
        android:duration="@android:integer/config_shortAnimTime"/>
</set>
 No newline at end of file