OSDN Git Service

[QS] Fix irritating animation for QS
authorRohan Shah <shahrk@google.com>
Fri, 26 Jan 2018 02:22:44 +0000 (18:22 -0800)
committerRohan Shah <shahrk@google.com>
Mon, 29 Jan 2018 20:20:31 +0000 (12:20 -0800)
commita840199853836d04a07a3d49b79bdb908d70a8fe
tree756d474df024a088c2619ed3c39e733116a8693d
parent84783905c03d368352fbd05dfb614251a72f1786
[QS] Fix irritating animation for QS

We're animating 2x the icons and, due to the transparent grey
background color, it looked like the icons were getting darker.

Fixed by having it exclude the full icon frame while animating.

Test: Visually
Bug: 72173914
Change-Id: Ie36973ab44a86e6e1edd99b9266420a274d9aaa2
packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/QSTileView.java
packages/SystemUI/src/com/android/systemui/qs/QSAnimator.java
packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileBaseView.java