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

Commit b114e4ff authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Optimize latency when unlocking phone" into oc-dev

parents f17d3b89 e549a8d6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -17,8 +17,7 @@

<set xmlns:android="http://schemas.android.com/apk/res/android"
        android:detachWallpaper="true"
        android:shareInterpolator="false"
        android:startOffset="100">
        android:shareInterpolator="false">

    <translate android:fromYDelta="110%p" android:toYDelta="0"
            android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+1 −2
Original line number Diff line number Diff line
@@ -22,6 +22,5 @@
    android:interpolator="@interpolator/linear"
    android:fromAlpha="0" android:toAlpha="1"
    android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
    android:duration="250"
    android:startOffset="100">
    android:duration="250">
</alpha>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -16,12 +16,12 @@
  -->

<set xmlns:android="http://schemas.android.com/apk/res/android"
    android:detachWallpaper="true" android:shareInterpolator="false" android:startOffset="100">
    android:detachWallpaper="true" android:shareInterpolator="false" >
    <alpha
        android:fromAlpha="0.0" android:toAlpha="1.0"
        android:fillEnabled="true" android:fillBefore="true"
        android:interpolator="@interpolator/decelerate_quint"
        android:duration="400"/>
        android:duration="300"/>

    <translate android:fromYDelta="11%p" android:toYDelta="0"
        android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
+2 −2
Original line number Diff line number Diff line
@@ -16,12 +16,12 @@
  -->

<set xmlns:android="http://schemas.android.com/apk/res/android"
        android:shareInterpolator="false" android:startOffset="100">
        android:shareInterpolator="false">
    <alpha
        android:fromAlpha="1.0" android:toAlpha="0.0"
        android:fillEnabled="true" android:fillBefore="true" android:fillAfter="true"
        android:interpolator="@interpolator/fast_out_linear_in"
        android:duration="150"/>
        android:duration="200"/>

    <!-- Empty animation so the animation has same duration as lock_screen_behind_enter animation
         -->
+2 −0
Original line number Diff line number Diff line
@@ -264,6 +264,8 @@ public class Dependency extends SystemUI {
        mProviders.put(AccessibilityManagerWrapper.class,
                () -> new AccessibilityManagerWrapper(mContext));

        mProviders.put(UiOffloadThread.class, UiOffloadThread::new);

        // Put all dependencies above here so the factory can override them if it wants.
        SystemUIFactory.getInstance().injectDependencies(mProviders, mContext);
    }
Loading