OSDN Git Service

Prototype color changing support
authorMatthew Ng <ngmatthew@google.com>
Sat, 15 Dec 2018 01:42:38 +0000 (17:42 -0800)
committerMatthew Ng <ngmatthew@google.com>
Mon, 17 Dec 2018 21:10:01 +0000 (13:10 -0800)
commit355fe21eb1b327a79a045a6828af341f704d8901
treecc7e178fc400926fd410ebbdd34a077c5a32152d
parent96dc16389442c52c88739ab03f2bbd81b807f666
Prototype color changing support

If enabled through settings (off by default) you can turn on color
adaption prototype that would sample colors around the home button to
determine if the button should be white or black.

Bug: 112934365
Test: manual
Change-Id: I726a005d97fd525c6b2d6ba3db9a8ed0cc355272
packages/SystemUI/src/com/android/systemui/statusbar/phone/LightBarController.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/LightBarTransitionsController.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavBarTintController.java [new file with mode: 0644]
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarFragment.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationPrototypeController.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java