OSDN Git Service

Improve motion for wake-and-unlocking while pulsing
authorJorim Jaggi <jjaggi@google.com>
Tue, 18 Aug 2015 00:38:58 +0000 (17:38 -0700)
committerJorim Jaggi <jjaggi@google.com>
Wed, 19 Aug 2015 00:57:10 +0000 (17:57 -0700)
commit83eb6bb5d83d3994a3750b566a2109a049ab1388
tree69a25df5abc37ef4261c9d2a4e3bf50c8f9a156b
parent007f0e8f207d3d6d2f47d725b72459edf317cce9
Improve motion for wake-and-unlocking while pulsing

- Move all fingerprint related to logic in on central class in
SystemUI that knows all the state of the UI so there is exactly ONE
place in which we decide what to do when we acquire a fingerprint.
- When pulsing and we get a valid finger, we fade the contents of the
Keyguard out and fade the scrim out almost the same way as we would do
in a normal wake-and-unlock sequence.
- Hide shadows while dozing, so we don't see the artifacts when we fade
the dozed Keyguard out.

Bug: 23225107
Change-Id: I82f78e61f2530cf7d507ade80f6f0a340c082567
13 files changed:
packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitorCallback.java
packages/SystemUI/res/values/ids.xml
packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java
packages/SystemUI/src/com/android/systemui/statusbar/ExpandableOutlineView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockMethodCache.java