OSDN Git Service

Fixed regression on jank test of changeBrightness
authorshawnlin <shawnlin@google.com>
Fri, 11 May 2018 08:44:42 +0000 (16:44 +0800)
committershawnlin <shawnlin@google.com>
Wed, 16 May 2018 07:06:31 +0000 (15:06 +0800)
commit4ef7ca5a9a4431b1a5019939abf5df9a0a904975
tree2d8860dae6225f8796dbfccf7ba962a4c9d1d37b
parentc443a7cbef9d6630c1f0f2e4060367e0d9dec89a
Fixed regression on jank test of changeBrightness

Replace using hardware layer for alpha animation with drawing
transparent color with MULTIPLY mode.

Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests-Trace:android.platform.systemui.tests.jank.SystemUiJankTests#testChangeBrightness
Change-Id: I9615af89c4418dd90ccc86e9e7c71d88e7121826
Fixes: 79266233
packages/SystemUI/res/layout/super_status_bar.xml
packages/SystemUI/res/values/ids.xml
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessMirrorController.java
packages/SystemUI/src/com/android/systemui/statusbar/stack/AnimationProperties.java