summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/NumPadKey.java
AgeCommit message (Collapse)Author
2022-03-15Merge SP2A.220305.013Haamed Gheibi
Bug: 220074017 Change-Id: Idfdd94e902f656ac65a2a75dfdd199f6f85ba472
2021-06-30PIN bouncer - basic landscape supportMatt Pietal
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
2021-05-25Setting NumPadAnimator only if background is RippleDrawableAntonio Kantek
NumPadKey's background is a StateListDrawable in Android Auto. Bug: 189151122 Test: atest AndroidCarApiTest Change-Id: Ib13c8a2d254e5841a59bf23fd6dc483e4d5b2d18
2021-05-07Cleanup support for multiple PIN viewsMatt Pietal
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
2021-03-16PIN Views - Make a bit smaller for better reachabilityMatt Pietal
Align with latest UX guidance, making buttons better spaced and a bit smaller Fixes: 182196214 Test: manual Change-Id: Ibc29e04da3867071d558c7f3643addeb2826b2bc
2021-03-11Fix broken keyguard in car sysuiHeemin Seog
Bug: 182382266 Test: manual Change-Id: I73983cdb9773aa69954a1107cadf1a36725a1e98
2021-02-25PIN view - Fix multiple ripplesMatt Pietal
Only apply animation on DOWN motion Fixes: 180994829 Test: manual Change-Id: Ifdb6e6319e063d577aecdf84dcb7197bd5c725d3
2021-02-17PIN bouncer - Update animationsMatt Pietal
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
2021-02-16PIN View - Control layout based on feature flagMatt Pietal
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
2021-01-27PIN Bouncer: Fix marginsMatt Pietal
Margins were being added, but not always processed in time for layout. Apply margins earlier. Fixes: 178359464 Test: manual Change-Id: I4f4a77abd36c529000ccca58887b02a852640275
2021-01-20Bouncer - New PIN animationsMatt Pietal
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
2020-12-011/N The road to Material NEXT (bouncer and shade)Lucas Dupin
Styling bouncer and shade so they have solid backgrounds and read colors from themes instead of named resources. Scrim now fetches colorBackgroundFloating, and views get their background from colorBackground. Switching from light to dark theme will make bouncer colors update without re-inflating any views. Bug: 173561906 Bug: 173561901 Test: atest ScrimControllerTest Test: atest KeyguardSecurityContainerControllerTest Test: manual, switching to dark theme annd showing notif guts Change-Id: I372e8b688d7bbddd698381accd074b7655788cd0
2020-09-24Revert^2 "7/N controllers for remaining Keyguard Password ..."Dave Mankoff
Revert submission 12656261-revert-12585643-b166448040-keyguard-message-area-NUUJOVRYJS This also fixes the original issue introduced in this CL. KeyguardAbsKeyInputViewController#reset would call mView#resetState instead of its own internal resetState method. However, all the logic from the various resetState methods had been moved from the views to their controllers. Simply calling resetState direclty resolves the issue (line 105 of KeyguardAbsKeyInputViewController). Reason for revert: Fixing http://b/169231892 and http://b/169145796 Reverted Changes: I7683b2234:Revert "4/N Setup Controller fo KeyguardSecurityCo... I5cbe04c0c:Revert "5/N Add KeyguardSecurityViewFlipperControl... I11dff38ad:Revert "6/N Add Controller for KeyguardPatternView... I55c250121:Revert "7/N controllers for remaining Keyguard Pas... Ie84234cb8:Revert "8/N Remove View Injection from KeyguardMes... Ic62f199a5:Revert "9/N Clean Up Keyguard Class Structure" Change-Id: Ie3669e0c9a23ffd4443ced0fb08ec754f1df55db Fixes: 169145796
2020-09-22Revert "7/N controllers for remaining Keyguard Password Views."Dave Mankoff
Revert submission 12585643-b166448040-keyguard-message-area Reason for revert: http://b/169081305 & http://b/169020145 Reverted Changes: I6fa05012c:4/N Setup Controller fo KeyguardSecurityContainer.... Iecf265744:5/N Add KeyguardSecurityViewFlipperController. I90ab99b2f:6/N Add Controller for KeyguardPatternView I4b74eddd1:7/N controllers for remaining Keyguard Password Vi... I805286374:8/N Remove View Injection from KeyguardMessageArea... I362755980:9/N Clean Up Keyguard Class Structure Change-Id: I55c250121c2e234a41b30f2d647c44f6cb631028 Fixes: 169081305 Fixes: 169020145
2020-09-167/N controllers for remaining Keyguard Password Views.Dave Mankoff
No real functionality changes (hopefully). Just moving objects into controllers. Test: manual Bug: 166448040 Change-Id: I4b74eddd18d29dd8966caa32c5960ff8be2e6f43
2019-09-01[DO NOT MERGE] qt-qpr1-sysui-dev @ build 5814791Hyunyoung Song
Test: presubmit setup on source branch Bug: 130289146 Create a Gradle build for SystemUI Bug: 136279712 Daggerize FalsingManager Bug: 137324767 "Unable to instantiate service com.android.systemui.doze.DozeService" exception breaks launcher tests Bug: 137563419 Remove Bouncer reveal delay from bypass flow Bug: 138787339 Allow Services and Activities to be injected into directly. Bug: 139128921 [AS 3.5 RC2, SDK API 29 rev 2] Overload resolution ambiguity: while removing element from HashMap Bug: 64712476 Import translations for dev branches Change-Id: Ib7fd4706c070907fd556c3532957f3b1b046de6d
2019-08-27Move IPC out of critical pathLucas Dupin
isTactileFeedbackEnabled will consult a Setting. Let's postpone the possible IPC until we actually need to read the value. Subsequent calls will be cached by the Settings internal cache. Fixes: 140043085 Test: unlock with pin, feel haptics Change-Id: I50d43ff25ee4ff32044ca626e5a87929bb163170
2019-08-26IPC StrictModeLucas Dupin
This CL introduces a way of blocking IPCs on the main thread. This is enforced by StrictMode, and enabled on tests and eng builds. All current blocking IPCs were whitelisted and bugs will be filed, in order to fix them for R. Bug: 139360025 Test: adb logcat Test: atest SystemUITests Change-Id: I45af2619605ee36b6bae83ef080272c62754b654
2018-10-23New PIN pad designLucas Dupin
Moved "delete key," replaced confirmation button and reduced the size of the ripples, for improved security. Change-Id: Idc7a86490c3ca1d9fd69f4f5c6f8ede07909fea2 Test: visual Fixes: 74259090
2017-02-21Deprecate "speak passwords" setting.Phil Weaver
This will now be controlled by individual accessibility services. We'll provide the password information to them, and they can present or hide the information as it makes sense for their users. Password information was anyway provided when a headset was connected. Bug: 28139568 Test: Manually verified that TalkBack now speaks passwords on the lock screen and in text views. Since I'm removing functionality that didn't have tests, it's tricky to have specific tests. Change-Id: Ic3c724ccce5762ee9dcd9e7dcbd4eae6734dd05e
2017-02-10Move Keyguard to SystemUIJason Monk
Test: make Change-Id: I3abb67e2b022737d2aa0226bb07f3966ad68fff7