OSDN Git Service

AOD: Fix wakeup transition jank
authorAdrian Roos <roosa@google.com>
Thu, 27 Jul 2017 11:57:35 +0000 (13:57 +0200)
committerAdrian Roos <roosa@google.com>
Thu, 27 Jul 2017 11:57:54 +0000 (13:57 +0200)
commit51465ea3b667a4123baf7eebb8f590aeaec2aafe
tree38aa423f3799435db9f1ca904020b1be57567133
parent382644aa745f5375ce41047e660918df3d440d7c
AOD: Fix wakeup transition jank

No longer do the upwards animation from AOD1, because there is a fade in instead now.

Also, because the DozeService gets finished when waking up, we were disallowing
animations again. Instead, we now ignore disallowing animations while waking up.

Also don't cancel the NotificationPanelView wakeup animation when another identical
request comes in.

Also adds tracing for various SystemUI states.

Bug: 63531607
Test: Wake up from AOD1. Ensure there is no jank or flicker
Change-Id: I383ffa320f28ac4bf5432e4f4f5c06372717f66f
packages/SystemUI/src/com/android/systemui/doze/DozeUi.java
packages/SystemUI/src/com/android/systemui/keyguard/ScreenLifecycle.java
packages/SystemUI/src/com/android/systemui/keyguard/WakefulnessLifecycle.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java