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

Commit 74eae242 authored by Aaron Liu's avatar Aaron Liu Committed by Android (Google) Code Review
Browse files

Merge "[Bouncer] Fix some responsiveness issues." into tm-qpr-dev

parents 29640945 230dcab1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@
    android:id="@+id/keyguard_bouncer_user_switcher"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:clipChildren="false"
    android:clipToPadding="false"
    android:orientation="vertical"
    android:gravity="center"
    android:importantForAccessibility="yes"> <!-- Needed because TYPE_WINDOW_STATE_CHANGED is sent
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@
    <TextView
        android:id="@+id/digit_text"
        style="@style/Widget.TextView.NumPadKey.Digit"
        android:autoSizeMaxTextSize="32sp"
        android:autoSizeTextType="uniform"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        />
+2 −1
Original line number Diff line number Diff line
@@ -221,10 +221,11 @@ public class KeyguardSecurityContainer extends ConstraintLayout {
                public void onEnd(WindowInsetsAnimation animation) {
                    if (!mDisappearAnimRunning) {
                        endJankInstrument(InteractionJankMonitor.CUJ_LOCKSCREEN_PASSWORD_APPEAR);
                        updateChildren(0 /* translationY */, 1f /* alpha */);
                    } else {
                        endJankInstrument(InteractionJankMonitor.CUJ_LOCKSCREEN_PASSWORD_DISAPPEAR);
                        setAlpha(0f);
                    }
                    updateChildren(0 /* translationY */, 1f /* alpha */);
                }

                private void updateChildren(int translationY, float alpha) {