OSDN Git Service

Improve doze transitions
authorJorim Jaggi <jjaggi@google.com>
Tue, 28 Oct 2014 10:42:58 +0000 (11:42 +0100)
committerJorim Jaggi <jjaggi@google.com>
Wed, 29 Oct 2014 13:24:00 +0000 (14:24 +0100)
commit16423aa0c6d1f5a8e9abd294d876933d44361fbc
tree0b2ff69456e578f3a359501980df2467b8472017
parentd3a8c8aa530e6c1a605f469df7b378f688e7905a
Improve doze transitions

This change animates the status bar and the bottom area when exiting
doze mode from touch. We also prevent all animations when exiting
from other means, i.e. usually when the power button is pressed, so
we don't have a distracting animation there. In addition, this also
optimizes the scrim animations a bit in terms of interpolation and
duration to make the experience smoother and cleans up some logic.

Bug: 18146441
Bug: 17717584
Change-Id: I495ce480c25de24b6433adebdfe923b637d98f66
packages/SystemUI/res/values/config.xml
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java