Commit Graph

19 Commits

Author SHA1 Message Date
Aaron Liu
dfc2156e39 [Bouncer] Separate keyguard message areas.
Separate keyguard message area between bouncer and alt bouncer. Ensure
that the separation is clear and understandable. Insert
keyguard message area for bouncer into the security view so the layout
is better.

Fixes: 242186543, 240328688
Test: Add unit tests and tested on multiple devices and view modes.
Change-Id: Iff34f1ebe108649c454691d14054072af46bfad8
2022-09-08 12:05:23 -07:00
Aaron Liu
44f90f02f0 [Bouncer] Add entry animation
Add entry animation
Bug: 239532368
Test: Manual on device

Change-Id: I684eeab572d1c96622fcf5b76a5562656484e7cc
2022-09-08 08:26:48 -07:00
Aaron Liu
a9143bf7bd Bouncer: Add style in sim pin view.
We have this style in the normal pin view but not the sim pin view. This
should set the text to primary.

Bug: 224895279
Test: Manual
Change-Id: I61751d5c6afc352c616f8be8c9e82fbfb832c420
2022-04-01 18:20:25 +00:00
Dave Mankoff
db4ee91dce Revert^2 "Add Controller for Emergency Button."
f23acf33ff

Change-Id: Id555c35af9a5ed2570504cd6b4e3ca3b5892c340
2021-03-23 10:48:27 -04:00
Alec Mouri
f23acf33ff Revert "Add Controller for Emergency Button."
Revert submission 13536242-b179775696-depenency-get-keyguard

Reason for revert: Candidate reversion for broken tests: b/180440298
Reverted Changes:
I6d0271692:Add ViewController to CarrierText.
I4d9a4a21f:Add Controller for Emergency Button.
I4c76d99f9:Remove Dependency.get from KeyguardSliceTextView.
I730593fcf:Add injection to ClockProvider.
Ifbb93e624:Remove Dependency.get from KeyguardStatusView.
I237215456:Remove final calls to Dependency.get from keyguard...

Change-Id: I7b46dbad24050cfe6a363131549169602fda1f13
2021-02-18 11:39:15 -05:00
Dave Mankoff
f8cb6b2458 Add Controller for Emergency Button.
This removes all the calls to Dependency.get from EmergencyButton.

Bug: 179775696
Test: atest SystemUITests && manual
Change-Id: I4d9a4a21fe8a8a0306b110a2fbaaa3ea91507d05
2021-02-16 12:28:55 -05:00
Lucas Dupin
7b8636fdb0 1/N The road to Material NEXT (bouncer and shade)
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-12-01 14:23:16 -08:00
Dave Mankoff
9a80cc2ec8 Revert^2 "9/N Clean Up Keyguard Class Structure"
b00c929394

Change-Id: I42d17262a789d2eb106a924b442a9d3debcc35e4
2020-09-24 11:04:52 -04:00
Dave Mankoff
3b7e026c06 Revert^2 "8/N Remove View Injection from KeyguardMessageArea"
dd7312c20a

Change-Id: Idca486311380b48e1f0808c8d08cfce46c929473
2020-09-24 11:04:51 -04:00
Dave Mankoff
6350a9f10b Revert^2 "6/N Add Controller for KeyguardPatternView"
87f6d21e67

Change-Id: Id01e3ba154a6fe1d73f720b9389920dad60332ac
2020-09-24 11:04:51 -04:00
Dave Mankoff
9408c9089a Revert^2 "5/N Add KeyguardSecurityViewFlipperController."
612c5d78c4

Change-Id: Ic51f3c2dd7d49832927393df9831d956bfa45763
2020-09-24 11:04:51 -04:00
Dave Mankoff
612c5d78c4 Revert "5/N Add KeyguardSecurityViewFlipperController."
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: I5cbe04c0cfb1c081fbf2e9958cb22dca3e4d80ad
Fixes: 169081305
Fixes: 169020145
2020-09-22 13:26:39 +00:00
Dave Mankoff
87f6d21e67 Revert "6/N Add Controller for KeyguardPatternView"
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: I11dff38ad9c36e0de5eec8f6e8662a173e1191cc
Fixes: 169081305
Fixes: 169020145
2020-09-22 13:26:30 +00:00
Dave Mankoff
dd7312c20a Revert "8/N Remove View Injection from KeyguardMessageArea"
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: Ie84234cb8ae9eaae6ec52900cb215ddf6e6213f1
Fixes: 169081305
Fixes: 169020145
2020-09-22 13:25:48 +00:00
Dave Mankoff
b00c929394 Revert "9/N Clean Up Keyguard Class Structure"
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: Ic62f199a51a15d8384450b8f181f3c5a0b988d7f
Fixes: 169081305
Fixes: 169020145
2020-09-22 13:24:51 +00:00
Dave Mankoff
4a3d800016 9/N Clean Up Keyguard Class Structure
KeyguardInputView no longer implements KeyguardSecurityView.

This cl seeks to clean up some of the lingering vestiges from this
large chain of refactors.

I have manually tested none, swipe, pattern, pin, and password views
for successfully unlocking, as well as multiple failed attempts
resulting in temporary lock outs.

Fixes: 166448040
Test: atest SystemUITests && manual
Change-Id: I36275598001184e774677cf2dbb16dec8dc7ab5b
2020-09-16 16:27:56 -04:00
Dave Mankoff
720c7c6eff 8/N Remove View Injection from KeyguardMessageArea
Bug: 166448040
Test: manual && atest SystemUITests
Change-Id: I805286374d16162703b333452e5e35015449d1fe
2020-09-16 16:27:51 -04:00
Dave Mankoff
21d6698b4a 6/N Add Controller for KeyguardPatternView
Test: manual && atest SystemUITests
Bug: 166448040
Change-Id: I90ab99b2f241e21fdfcaeefb2e9443a1d3f2c9be
2020-09-16 16:24:11 -04:00
Dave Mankoff
2f557d8922 5/N Add KeyguardSecurityViewFlipperController.
Adds a Controller for KeyguardSecurityViewFlipper.

Test: atest SystemUITests && manual
Change-Id: Iecf265744a385efb7a9ab32a29b90c22054a4c84
2020-09-16 16:24:11 -04:00