History log of /frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9a376bcd4576029a8d0ad03254a6240cd1422c2e 10-May-2017 Jason Monk <jmonk@google.com> Fix the status icon colors in QS

Requires lots of theming magic

Test: visual
Change-Id: I1cd28b570f30989b496065c0e06a5aca461deb41
Fixes: 37619734
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
824ffffcc41ae9dcdcc8cb344a95a0fd8487e3e0 11-Apr-2017 Jason Monk <jmonk@google.com> Make QS light

Test: visual
Change-Id: I873bc44647d509bad0ac035058ea13ac57717416
Fixes: 37213814
Fixes: 37008758
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
806f78d9887d2b41939735997a526d7d3a8a9ed5 24-Mar-2017 jackqdyulei <jackqdyulei@google.com> Add showChargingMethod in BatteryInfo

This toggle is used to decide whether to show charging method.
If it is off, then "Charging over ac" will become "Charging"

Bug: 36558216
Test: RunSettingsLibRoboTests
Change-Id: I98b1f7e7b77d7ce0a7e1aae29e55a33ac79ff0d7
(cherry picked from commit b3c33f63ed120cf4758ec67426bb45291e289fce)
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
58be7a675b7aa505255f0c91fee755f8290e8363 02-Feb-2017 Jason Monk <jmonk@google.com> Add colorError

Remove scatered references to old error color and replace them with
references to new colorError

Test: make & visual
Change-Id: Icca8cd790db351c3dfce2197f2046879d062a2c0
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
5dc1f365994375c97340c89eee68616c40457623 17-Feb-2017 jackqdyulei <jackqdyulei@google.com> Make precentage calculation round up by 0.5%

So we will show 1% when actually number is 0.5%

Bug: 35305983
Test: RunSettingsLibRoboTests
Change-Id: I26f11f25a7d78cc6b09cb358abd82017fa7cea00
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
6e820805137b139a8514577e5435d58f8f10051c 18-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move Badging from ScoredNetwork to NetworkingBadging."
790442e4cd8106cf2c69d23ff185953b620b087a 13-Feb-2017 Jason Monk <jmonk@google.com> Tuner updates

Some UX updates to the tuner to feel better and align with settings
UX patterns.

Test: visual
Change-Id: I9c57194b9649c61e0d6d3f9e21a51d9c4a5c1286
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
699deaf6103d182dbd291ca2b420f30b439753d4 14-Feb-2017 Sundeep Ghuman <sghuman@google.com> Move Badging from ScoredNetwork to NetworkingBadging.

This is a non-functional refactor. The old enums will be removed once
ag/35323372 is addressed.

Bug: 35114358
Test: Ran existing tests (see files touched).
Change-Id: I08fd8c7964463b5908ce361e61f8fe811d0ff6f3
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
73b161ddc123544174cbec5254b3cd77e5d34c18 08-Feb-2017 Fan Zhang <zhfan@google.com> Fix a crash when opening app data usage for work profile

The icon on app header is a clone of original app icon, which relies on
getConstantState() of the orginal drawable non-null.

Change-Id: Ice5360f5d00d99b3cfe538b167ce67fc06d5e402
Fix: 34190136
Test: make RunSettingsLibRoboTests
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
d57f3247766d7e5f2a5c2cbe7be6d241526a9eba 14-Jan-2017 Sundeep Ghuman <sghuman@google.com> Update Status Bar with Badged Wifi Icons.

This change inserts badged wifi icons into the status bar to indicate
historical network strength. The existing callback handler was modified
to explicitly pass the drawable as currently the icon is a rendered from
two separate resources, composited together in a LayeredDrawable.

Badging is controlled by Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED
and can be enabled from the Wifi Settings page.

Bug: 34056846
Test: runtest --path
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java
Change-Id: I33b736d4543e380887513cbb5937f49945794c09
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
9553a1ecc213625d9d3052138a5ed1eb3ed5910d 20-Jan-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Visual refresh for QS"
3250885c9feb9b42d60058a823c57a027c0dcf58 18-Jan-2017 Jason Monk <jmonk@google.com> Visual refresh for QS

Adds circles and things

Test: visual
Change-Id: I7d974fcfe6257357abfd1a7d0ee521f0e6cee588
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
f84e0573fc61ff36bc29b731574a11530c00538a 10-Jan-2017 Sundeep Ghuman <sghuman@google.com> Insert badged icons into the WifiSettings picker.

This initial pass inserts badged wifi icons when available. A later CL
will move this logic to a new AccessPointPreference subclass to further
isolate the new picker UI changes.

Bug: 33457699
Test: Manual inspection
Change-Id: I849efe3f135bb24efeb60d2484dfb56673168430
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
b68fd7ae0a395f00c7f280e8040382639eaa69f9 05-Jan-2017 jackqdyulei <jackqdyulei@google.com> Remove hardcoded color for cellular data usage view

1. Remove hardcoded color and create colorStateList instead
2. Remove warning color and use attr textColorError instead
3. Add function to extract color from colorStateList

Bug: 32592245
Test: manual - Take screenshots
Change-Id: I7f0a54b304b09b99ba1f255952e7e99e009a4d2a
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
bfba9d485eb54e896bfd0234647e0020401c1491 14-Jul-2016 Tony Mak <tonymak@google.com> Disallow user to block notification from OobConfig

Change-Id: Ifb2ea790559fc91f88b38ecf29a2b0a7949aeabb
Fix: 29632126
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
545a58ab6b15596c6c1fdad523459889322f3b61 28-Jun-2016 Philip P. Moltmann <moltmann@google.com> Prevent PrintSpooler from being disabled

Change-Id: I40fb7b25174a41d04f767fbf8ee1da8c02e7156a
Fixes: 29830022
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
5c3734456e35de1ea56f890537f9eebf5f2ec699 12-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Update System UI to use theme colors.

Instead of using hardcoded values, use colorPrimary, colorAccent, etc
to style system UI. Required setting a theme on several views to
get the proper accent color in the right place.

Deletes a lot of hard-coded colors from the app.
Deletes an unused view: StatusBarHeaderView

BUG: 28625050
BUG: 29003410
BUG: 28625105
Change-Id: I46cd8eba7cf5afdab53c7882aa4aac5af46772a9
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
a9c2500a6863dabdd786f17a25ce0bf3683109a2 14-Apr-2016 Svetoslav Ganov <svetoslavganov@google.com> Disallow disable of the system shared libs.

bug:28173410

Change-Id: If731f2d90312a083bb940f83431ba3eccf213947
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
aa7f51fe8c6e54485f0b5037c17777b4695d19e0 16-Mar-2016 Evan Rosky <erosky@google.com> Centralized user icon drawing with badges

Renamed CircleFramedDrawable to UserIconDrawable and
added badge/frame support.
Replaced several instances of user icon drawing with
UserIconDrawable

Bug: 27483956
Change-Id: I10d665406ea8b085667aa8c71ffcedffe72dafbd
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
18d2b32423855bb9dceb044d87e5d3543c4575a0 31-Mar-2016 Muyuan Li <muyuanli@google.com> SettingsLib: refactor for extensibility.

Add short version of charging / discharging labels. Extended getBatteryInfo method to take in additional flag for short version labels.

Change-Id: I499ce59493f1345c3084d48829ded5117d470e44
(cherry picked from commit e686bf4514d9c1116a4eaa8af285f44613e23b36)
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
81fb0d4acdc93c9bfb77972a7610b12acb949aa2 04-Mar-2016 Svet Ganov <svetoslavganov@google.com> Disallow disabling of the package installer

bug:26426558

Change-Id: Ia40a146c37c219a6edbb5d0457b1fce45b021266
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
21c30548ba11c40fe71df375911dad2e0316ad19 15-Jan-2016 Julia Reynolds <juliacr@google.com> Prevent users from blocking certain system notifications.

Bug: 26575595
Change-Id: I0c890852a441085fffab143a590a12fbd7f2b2a3
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
c06fbb12984a3d3e4c80ab9f819841acae5b0133 08-Jan-2016 Jason Monk <jmonk@google.com> Move battery saver notification to QS

Remove the battery saver notification and instead create a detail
panel within QS that allows it to be turned on and off.

Change-Id: I54654d26183586fa171fda04877a840701f8ef33
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java
30275c1924b2bd45b05bd9c98f8648ecbc71374f 25-Aug-2015 Wei Liu <luciferleo@google.com> Refactor UidDetailProvider and its dependencies to SettingsLib.

so that it can be reused by Wear app data usage.

Change-Id: Ifd5709647ba031bb38b2293c35def01bcdee1448
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java