From 44f90f02f02f391b7e3d32254ff125caee4a8f61 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Wed, 31 Aug 2022 09:23:00 -0700 Subject: [Bouncer] Add entry animation Add entry animation Bug: 239532368 Test: Manual on device Change-Id: I684eeab572d1c96622fcf5b76a5562656484e7cc --- .../res-keyguard/layout/keyguard_pin_view.xml | 29 +++++----- packages/SystemUI/res-keyguard/values/styles.xml | 2 +- .../keyguard/KeyguardInputViewController.java | 1 - .../src/com/android/keyguard/KeyguardPINView.java | 63 +++++++++++++--------- .../KeyguardSecurityViewFlipperController.java | 1 - .../android/keyguard/NumPadAnimationListener.kt | 23 ++++++++ .../src/com/android/keyguard/NumPadAnimator.java | 22 ++++++-- .../src/com/android/keyguard/NumPadButton.java | 9 +++- .../src/com/android/keyguard/NumPadKey.java | 12 ++++- 9 files changed, 114 insertions(+), 48 deletions(-) create mode 100644 packages/SystemUI/src/com/android/keyguard/NumPadAnimationListener.kt diff --git a/packages/SystemUI/res-keyguard/layout/keyguard_pin_view.xml b/packages/SystemUI/res-keyguard/layout/keyguard_pin_view.xml index 712f657a20ae..5936ead18f4a 100644 --- a/packages/SystemUI/res-keyguard/layout/keyguard_pin_view.xml +++ b/packages/SystemUI/res-keyguard/layout/keyguard_pin_view.xml @@ -17,23 +17,24 @@ */ --> - - - + + @@ -79,6 +80,8 @@ android:layout_width="0dp" android:layout_height="0dp" android:orientation="horizontal" + android:clipChildren="false" + android:clipToPadding="false" androidprv:constraint_referenced_ids="key1,key2,key3,key4,key5,key6,key7,key8,key9,delete_button,key0,key_enter" diff --git a/packages/SystemUI/res-keyguard/values/styles.xml b/packages/SystemUI/res-keyguard/values/styles.xml index 625ffd3aa3ec..a1d12668d27a 100644 --- a/packages/SystemUI/res-keyguard/values/styles.xml +++ b/packages/SystemUI/res-keyguard/values/styles.xml @@ -50,7 +50,7 @@ @null 32sp ?android:attr/textColorPrimary - @*android:string/config_headlineFontFamily + @*android:string/config_bodyFontFamily -16dp