12 Commits

Author SHA1 Message Date
Fan Zhang
f1c1bb49f8 Remove drawer code from settings
Change-Id: I3e9920f62745f6ba2236e37689f7603f9a30d6a9
Fix: 35809663
Test: make RunSettingsLibRoboTests
2017-02-28 11:54:28 -08:00
Dan Sandler
6cfde40234 Fix regression in battery size.
The aspect ratio of the intrinsic dimensions resulted in a
too-short battery.

Test: visual
Change-Id: I31cc36d1efad5cc9b086b90eb857a08eee181677
2017-02-08 10:10:47 -08:00
jackqdyulei
597b10f6db 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
2017-02-07 17:27:00 -08:00
roger xue
8f06ab0774 making changes to settingsLib so we can create car setting using settingsLib
Test: make -j40 RunSettingsLibRoboTests

Change-Id: I4eff074ebbbf1d4a4325580d68a2123d3f5ff930
2017-01-05 10:20:24 -08:00
Sudheer Shanka
40400a648f Update restricted icon.
Bug: 25603665
Bug: 27263775
Change-Id: Ib66866cf536f15130f936d03d9328ee5b0b508c7
2016-03-02 19:08:51 -08:00
Jason Monk
a5d7dd9cd5 Fixes and changes to support settings using UsageView
Bug: 27213136
Change-Id: I1796d710379fc92cf21b196459f34dda4570355f
2016-02-17 10:16:31 -05:00
Jason Monk
96ab63640f Battery graph in QS Detail
Add new usage graph view to SettingsLib that shows usage with
same labels and whatnot.

Use that graph in the battery detail panel to show more stuffs.

Change-Id: I397b1314f65f668df566e93bdbc15420e1b3a280
2016-02-16 16:25:44 -05:00
Tony Mantler
98608e43eb Move AccessPointPreference to SettingsLib
Change-Id: I4461d5bbe6dd6d78acb8c135150e15e982bb1fab
2016-01-22 14:58:48 -08:00
Sudheer Shanka
7ff866d286 Move restricted padlock support to SettingsLib
Change-Id: Ib0b1c58d1f45e017b6b17ce0a55ca839b900cba4
2016-01-12 18:14:24 +00:00
Jason Monk
0d72d20c2f Settings Drawer: Handle multi-profile/user correctly
Change-Id: Ibef3cb38325415d514dc86fcd4ce7b95825361f8
2015-11-04 15:04:45 -05:00
Wei Liu
30275c1924 Refactor UidDetailProvider and its dependencies to SettingsLib.
so that it can be reused by Wear app data usage.

Change-Id: Ifd5709647ba031bb38b2293c35def01bcdee1448
2015-08-25 11:01:36 -07:00
Jorim Jaggi
5673353559 Animations/success state for external confirm device credentials (1/2)
Bug: 20929186
Change-Id: I8ca396e353189da7da3e9c98f841b76c876e461e
2015-06-09 15:25:40 -07:00