OSDN Git Service

Fix QS lock screen animation
authorJason Monk <jmonk@google.com>
Mon, 26 Jun 2017 15:22:21 +0000 (11:22 -0400)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Tue, 27 Jun 2017 05:58:11 +0000 (05:58 +0000)
commit0f307172a98500afe87dbd023d5abea111927351
tree7a28258f163e255a7a463884c629481b2f9a7d61
parentfbc344172bedab606bc059bafc1d4b13ca97c3a3
Fix QS lock screen animation

Now that we have a footer, heights and clippings need to be adjusted
to be more accurate.
 - Clip QS within its layout box regardless of its y translation
 - Calculate height diffs correctly

Test: visual
Change-Id: Ic46996e342cd1000215aa9256da920a7856bb5a4
Fixes: 62489284
(cherry picked from commit bdefffd1e806f8b7ffd5fdbe8159bee2c9d5bbb0)
packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java
packages/SystemUI/src/com/android/systemui/qs/QSFragment.java