History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
340b0e5216b4fcc435e0459b1ca46155a572100d 08-Mar-2017 Jason Monk <jmonk@google.com> Move out test utilities to a Testables library

Test: runtest --path frameworks/base/tests/testablets/tests
&& runtest systemui

Change-Id: Ideef4aef5f26136b1741c556b9be5884f38842a0
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
bcf631d48bed2da32b59d550ee6ea34179fc83c1 10-Mar-2017 Evan Laird <evanlaird@google.com> Move battery percent constant to Settings

This switch is moving to system settings so it should also be declared
by Settings. Also changed the constant's name to make sense in the
System context.

Test: runtest systemui
Bug: 32539932
Change-Id: I7cce21b50702f31465328dd8faed3fbac47528ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
055bb6142626786302c4e0fdbcbc4f49fb0a2d1a 09-Feb-2017 Dan Sandler <dsandler@android.com> Percentage text now sits alongside the battery icon.

The old embedded percentage (introduced in change I6a3e7409) is hard
to read at status bar size, so we now draw it in a separate TextView to
the left (start) of the battery gauge. (The embedded code remains so
that it can be used by other places where the battery is drawn larger.)

The old system setting "status_bar_show_battery_percent" is still used
to control whether this percentage is shown, but note that it now
applies only to BatteryMeterView (i.e., the status bar) and not other
usages of BatteryMeterDrawable.

Bug: 32539932
Test: (manual) adb shell settings put system status_bar_show_battery_percent 1
Change-Id: Id298dba544f594b11269539284a2e8042fd4780b
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
34895c404b0153f021094d149cf36918edbd4552 09-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes I348c18dc,I0c33d519

* changes:
SysUiLeaks: Detect leaks in TunerService
SysUiLeaks: Detect leaks of NotificationData.Entry
6b2852e03f638b8e0694a0c02544232a1ef04804 03-Feb-2017 Adrian Roos <roosa@google.com> SysUiLeaks: Detect leaks in TunerService

Bug: 34932615
Test: manual
Change-Id: I348c18dc4e5772637828c1f53f15c84ad4c39485
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
aa573e9e8632552d1fa8bdd6b0ee408ff9a93a6b 27-Jan-2017 Jason Monk <jmonk@google.com> Work on separating out the status bar management

Lots of stuff:
- Make StatusBarIconController be a permanent dependency
- Break out dark stuff into DarkIconDispatcher
- Create StatusBarFragment
- This bit is a bit ugly for now, but will be better later
- Other stuff probably

Test: runtest systemui
Change-Id: I4973bc9f944e66af92731bf1edd2b39657f1782f
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
6aa6e6e640ddaea3272144aee68762dd17674773 08-Feb-2017 Dan Sandler <dsandler@android.com> Clean up BatteryMeterDrawable internal api.

Bug: 32539932
Test: runtest -x frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/BatteryMeterDrawableBaseTest.java
Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/BatteryMeterDrawableTest.java
Change-Id: Ifdc3368b930abcf248b60ee99f6f9139ad804f91
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
ba89ed754fb8abb0f1f66dd452dfe6ecd3963455 08-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move the logic of batteryMeterDrawable to settingslib"
597b10f6db2401f7685191f96e3aaedcbccc56b0 27-Jan-2017 jackqdyulei <jackqdyulei@google.com> Move the logic of batteryMeterDrawable to settingslib

In Settings, we also need a BatteryMeterDrawable to show battery meter,
that's why I move it to settingslib.

In this cl, what I have changed is listed below:
1. Create BatteryMeterDrawableLib that contains logic of battery
drawing.
2. Still Keep the battery control logic in systemui.
3. Remove hardcoded battery color by using the color state lists.
4. Move some tests to settingslib

Bug: 34771849
Test: make SettingsLibTests

Change-Id: I39c0f0e31ca5e1b958467298db1d0590d16c9f6d
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
de850bbcaa61c1874b803f2086443febbafd81a4 02-Feb-2017 Jason Monk <jmonk@google.com> Fix leaks in sysui

Add support for testing for PluginManager and TunerService leaks
and add tests for the known leaks and fix them. Also port PluginManager
and TunerService to Dependency to make them easier to handle in
tests.

Test: runtest systemui
Change-Id: I5642539ee24dd72f802905106decd0c87b41b4eb
Fixes: 34846972
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
ea05f87b253ce20a08158768951169b1cda0a623 25-Jan-2017 Jason Monk <jmonk@google.com> Tuner: Nav bar tuner

Usable edition.

Test: Manual
Change-Id: I20ec31560b89df8ded089974b7da1b60423cdb8b
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
9abca5e9f88c47579f8334c6c48741a259185b9b 11-Nov-2016 Jason Monk <jmonk@google.com> Cleanup and refactoring of test utilities

- Make leak checking faster by converting to fakes
- Requires making clean interfaces for all CallbackControllers
- Integrate leak checking into the TestableContext

Test: runtest systemui
Change-Id: Ic57a06360d01a0323ef26735a543e9d1805459e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
38b4725108d25928b2df7966a08d9369828d1e14 04-Oct-2016 Fan Zhang <zhfan@google.com> Add a temporary activity-alias for TunerActivity.

Bug: 31781480
Test: make SystemUI, and manually inspected sysui appears in
Settings. Turning off sysui tuner still works.

The new alias is used by Settings to display sysui tuner in a different
category instead of in homepage directly. The display location is
controlled by category metadata. We need a alias because the category
metadata is different between new/old activity.

Change-Id: Ie4f2c1f6017459e34227155c83a7767f2003b18b
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
7e30d60d1f7adf36b677267efc9991bcf2e97ee2 29-Jan-2016 Jason Monk <jmonk@google.com> Add upgrader for tuner

Unspam everybody's status bar icons with new default off icons.

Change-Id: Id8375d1871705cc2b3bf258f934176c7510a0fde
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
c0d7058b14c24cd07912f5629c26b39b7b4673d5 29-Jan-2016 Winson <winsonc@google.com> Referencing static interpolators.

Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
f0c6f64e5b6b4d5e635a100d40e2bc5568aaf62b 21-Jan-2016 Jason Monk <jmonk@google.com> SysUI Tuner: Color mod v2

Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
51c444be145815e5f3d8321126f22df5792377eb 06-Jan-2016 Jason Monk <jmonk@google.com> QS Customize panel cleanup

- Use better service management to ensure onTileAdded and onTileRemoved
are sent.
- Fix not always registered as tunable bug.

Bug: 26423350
Change-Id: I56156de8e0edf903509dac594b471700068ebe3e
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
d5a204f16e7c71ffdbc6c8307a4134dcc1efd60d 21-Dec-2015 Jason Monk <jmonk@google.com> Better service management for QS 3rd party tiles

Better wrapper around the service that will handle rebinding
when it dies, binding when it becomes available, and forwarding
along all messages to the service once it binds.

Also better handling of too many services at a time. Will only
ever bind to at most 3 tiles and will manage which ones are most
important to show based on pending clicks, last update, etc.

Change-Id: I5f4da0bc751f7eb25baa32e5c0bb9f1bc418f5bb
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
72def0de65d964836c16a68933b34543f742b3e2 10-Nov-2015 Jason Monk <jmonk@google.com> Fix tuner-related crashes

- Make the dialog a fragment
- add a null check

Bug: 23341500
Bug: 25341011
Change-Id: I4d9991657c487ea3b5ced8cce2a5072c8adb2ee5
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
abe1974a11364b577e94966ca87047d7889c8edf 29-Sep-2015 Jason Monk <jmonk@google.com> Add more QS tiles

(only for paging prototype)

Change-Id: Ifb09e3262540a486c9ee7e83a904f96cc4e33fec
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
540542b4173d7ce99addfb910d9e73b028ea0f5e 11-Aug-2015 Jason Monk <jmonk@google.com> Fix tuner for secondary users

Bug: 23112000
Change-Id: I52aabdd1f345fb50e2c5015d233f4de3cc8d994d
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
431ad737a4752e9325894211c28bb0f0f97c00a7 16-Jul-2015 Jason Monk <jmonk@google.com> Move tuner enable point to QS

Long clicking on settings gear in QS causes it to accelarate and
spin, when released it will open and enable the tuner. On first
opening there will be a warning dialog.

Also add way to disable tuner from tuner screen. This way it can
be removed from its former home in Developer Settings. All tuner
settings are reset when disabled to match developer settings
behavior.

Bug: 22462605
Change-Id: Ie700a6a15e6c3caccf7cd1885da73328e6fac6ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java
5e745172d93fcd4a90e0c8b216941a10a9994de8 03-Jun-2015 Jason Monk <jmonk@google.com> Setup service for tunable things to use.

Change-Id: I13daa68d3d1ec5584fd84f356f4f5a0d1c0b853a
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/TunerService.java