OSDN Git Service

Animate notifs depending on touch when exiting doze mode
authorJorim Jaggi <jjaggi@google.com>
Mon, 24 Nov 2014 20:45:20 +0000 (21:45 +0100)
committerJorim Jaggi <jjaggi@google.com>
Tue, 25 Nov 2014 19:26:40 +0000 (20:26 +0100)
commit2a5e452f4f70d2dd717946dd50486cc66ea4cc43
treebb80f6121cbae4b6561b1a1d7d590c60c4086e5f
parentfb6121e069f25dd43e15b1377fe4d5f60c3d0dbe
Animate notifs depending on touch when exiting doze mode

When exiting doze mode during pulsing and the reason for the wakeup
is a touch event, we calculate the delay of the animations to animate
the notification from black/white to color depending on the point
where the touch happened to wake up the screen.

Bug: 18146441
Change-Id: Ica76b235d629acfc2b09b5f56027c688502f89d8
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowView.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/AnimationFilter.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/StackStateAnimator.java