summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/NumPadButton.java
Commit message (Collapse)AuthorAgeFilesLines
* [Bouncer] Add entry animationAaron Liu2022-09-081-1/+8
| | | | | | | | Add entry animation Bug: 239532368 Test: Manual on device Change-Id: I684eeab572d1c96622fcf5b76a5562656484e7cc
* [Bouncer] Update colors for pin padAaron Liu2022-05-041-1/+1
| | | | | | | | | | Use accent color for better contrast. Add tint animation for button image. This will add support for text color animation for num pad button like the enter and the back button. Bug: 229667014 Test: Manual on device Change-Id: I27fc22fa03b93713a09546096059cb7d0152c349
* Check class type before creating animatorAlex Stetson2022-03-081-2/+10
| | | | | | | | | | ag/17048689 removed the check for the drawable type before creating the NumPadAnimator. A check for a GradientDrawable should be re-introduced for when it is not that type (such as on AAOS). Bug: 223386100 Test: manual Change-Id: I247a6731e6e633f1a13e3acd9fe7ac81d474e126
* Bouncer: Improve push animations.Aaron Liu2022-03-021-11/+10
| | | | | | | | | | Improve the push animations of the buttons. Also improve performance by removing RippleDrawable. The RippleDrawable was not achieving the animations we wanted. Bug: 218833792 Test: Tested on multiple devices Change-Id: Iedc7a48f9be89cdfe313a26bd82d4073ea518a71
* Update PIN colorsMatt Pietal2021-09-281-3/+5
| | | | | | | | Match specs from UX Fixes: 195591387 Test: visual (PIN bouncer) Change-Id: I9e7c13f40a94d1a8a8073553bf2396070487b121
* Add a property for Numpad Button text colorYoungjun Kwak2021-08-131-4/+3
| | | | | | | | | This allows this color to be overwritten by different Android builds. Bug: 194414715 Test: Manual (Build and Boot on AAOS and coral) Change-Id: I9d63f89f31fcc69a45817abd73fca4a4a283a7b2 Merged-In: I9d63f89f31fcc69a45817abd73fca4a4a283a7b2
* Updated keyguard_pin_view to use a ConstraintLayout.Jamie Garside2021-07-221-1/+3
| | | | | | Bug: 191347942 Test: Manually tested. Change-Id: Ie2f752b6d4ff4293aaa59a298e7ec44f20f7d4dc
* PIN unlock buttons - contrast issueMatt Pietal2021-07-141-8/+5
| | | | | | | | | | When the dark theme is adjusted, the correct color was not being reloaded. Without this fix, the back/enter buttons would not be discernible. Fixes: 193043693 Test: manual (toggle dark theme) Change-Id: Ie41549c6b7d8f49be62ce0fb8e7e3b7399784c44
* PIN bouncer - basic landscape supportMatt Pietal2021-06-301-2/+11
| | | | | | | | | | | | As with Android 11, there are specific scenarios where the bouncer can be shown in landscape position. The UX updates for Android 12 made this completely unusable. Return the PIN bouncer to a functional state. There is still outstanding work to fully support landscape for keyguard. Fixes: 185735801 Test: manual (use camera over ls, rotate, hit unlock) Change-Id: I3090afe1534cfa2b01bd35b91e1e273858117743
* Setting NumPadAnimator only if background is RippleDrawableAntonio Kantek2021-05-251-6/+27
| | | | | | | | NumPadKey's background is a StateListDrawable in Android Auto. Bug: 189151122 Test: atest AndroidCarApiTest Change-Id: Ib13c8a2d254e5841a59bf23fd6dc483e4d5b2d18
* Cleanup support for multiple PIN viewsMatt Pietal2021-05-071-41/+7
| | | | | | | | | Had to support both old/new UX for PIN for a while. Cleanup the unneeded code and simply the ripple. Fixes: 187340770 Test: atest KeyguardPinBasedInputViewControllerTest and visual check Change-Id: Ie12cd93c7aaba5a3ef172792a5dd2a41f2196447
* PIN Views - Make a bit smaller for better reachabilityMatt Pietal2021-03-161-8/+0
| | | | | | | | | Align with latest UX guidance, making buttons better spaced and a bit smaller Fixes: 182196214 Test: manual Change-Id: Ibc29e04da3867071d558c7f3643addeb2826b2bc
* Fix broken keyguard in car sysuiHeemin Seog2021-03-111-6/+17
| | | | | | Bug: 182382266 Test: manual Change-Id: I73983cdb9773aa69954a1107cadf1a36725a1e98
* PIN view - Fix multiple ripplesMatt Pietal2021-02-251-1/+3
| | | | | | | | Only apply animation on DOWN motion Fixes: 180994829 Test: manual Change-Id: Ifdb6e6319e063d577aecdf84dcb7197bd5c725d3
* PIN bouncer - Update animationsMatt Pietal2021-02-171-2/+2
| | | | | | | | | | Use ripple plus dynamic shape on touch, and constrain the ripple to this dynamic shape. Slightly adjust margins. Update back color to match specs. Bug: 172360102 Test: manual Change-Id: Ie8552f2cbbc26d110534427e013da12d58ce6bb4
* PIN View - Control layout based on feature flagMatt Pietal2021-02-161-8/+40
| | | | | | | | | Support both the old-style PIN views and the new ones behind the keyguard layout flag. Fixes: 179121004 Test: adb shell cmd overlay disable com.google.android.systemui.gxoverlay Change-Id: If588df2503d9337fe63b300fb24da09ef0a6d1e9
* Bouncer - New PIN animationsMatt Pietal2021-01-201-0/+67
Align all PIN views (PIN, SIM, PUK) to latest UX guidance, including new heights and animations for color and corner radius. Mark all alpha chars as GONE for now, and potentially remove in the near future, pending feedback. Bug: 172360102 Test: manual Change-Id: I53cefb950daad29acb70c00b71b44e073ab6dac5