Commit Graph

805 Commits

Author SHA1 Message Date
Fabrice Di Meglio
200cca4c1d Fix icon size for Data Usage / Battery Stats / Process Stats
- remove padding from app_percentage_item and apply it correctly
on its containers
- wrap app_percentage_item into preference_app_percentage for having
correct padding o nProcessStatsPreference and PowerGaugePreference

Change-Id: I290c92959f51a33a1edb49435cd0bd1e6cd9afa3
2014-06-26 14:04:11 -07:00
Jason Monk
0e6ffc429d Merge "Add lock-to-app to settings" 2014-06-26 18:35:29 +00:00
Fabrice Di Meglio
bf4ea4bd8c Merge "Fix icon size for Data Usage / Battery Stats / Process Stats" 2014-06-26 18:02:09 +00:00
Julia Reynolds
4ea24ecfbf Merge "Use user restriction instead of pin to guard factory reset in Settings." 2014-06-26 18:35:29 +00:00
Jason Monk
315070d58b Add lock-to-app to settings
Lock-to-app when disabled shows some instructions about how to
enable it and use it.

When enabled shows an option of use lock screen, which controls
whether the device is locked when exiting lock-to-app.  Turning
on use lock screen requires that the device have some security
challenge.

Bug: 15759649
Change-Id: I6188243e03fb0c85bdfdbc32a23ad486296a34f9
2014-06-26 11:09:54 -04:00
Fabrice Di Meglio
c0ac943eb6 Merge "Make Apps Icons size consistent in Battery Stats" 2014-06-25 17:34:02 +00:00
Fabrice Di Meglio
b974ab5825 Make Apps Icons size consistent in Battery Stats
- set them to 24dip as for the Settings Dashboard

Change-Id: Iadab299cac88a6b22157d285aff8a7dcf506fc97
2014-06-25 17:04:39 -07:00
Fabrice Di Meglio
f65f0e7575 Merge "Update Dashboard layout - part 2" 2014-06-25 21:16:45 +00:00
Fabrice Di Meglio
676e9c1167 Update Dashboard layout - part 2
- follow UX spec
- tablet UI support
- tuning for phone UI

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I26fc6a51a4bb608399f319206c27f58c21b4aa64
2014-06-25 13:59:18 -07:00
Fabrice Di Meglio
8b44132467 Fix bug #15782467 Wrong padding start/end on App Info
- move the listPreferredItemPadding to the correct ViewGroup

Change-Id: I896c2cab79a0c3c40452d8592297191611df40de
2014-06-23 18:10:42 -07:00
Maurice Lam
f13c783f6b Merge "[WifiSetup] Removed button bar" 2014-06-23 21:50:10 +00:00
Fabrice Di Meglio
47a25e7640 Update Dashboard layout again
- follow UX spec
- update also the Search Panels (suggestions / results) to
follow the same specs

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I3d27a3b3d9779644f8ea123990a0c7bed8d4ba74
2014-06-23 13:23:47 -07:00
Dianne Hackborn
68f005fbd4 Modify proc stats to show new memory use computation.
Switch the proc status UI's memory use bar to be based on the
new total memory use computation, instead of showing that weird
"time spent in memory states" thing.

Also now have it link to a detail page that shows details of time
spent in memory states and RAM used by various things.

Change-Id: I6817a499db518adb8e72466a5e9cfe18a81be5d5
2014-06-19 21:35:27 -07:00
Adam Lesinski
6eae70fd5d Fix resource id generation
ID resources were being generated in the 'android' package.

Change-Id: Ia2569c187102551fe85fe7cc88970b38032801a6
2014-06-19 16:30:36 -07:00
Maurice Lam
432bd3aab1 [WifiSetup] Removed button bar
Removed button bar from setup_preference because the same feature
is provided in SettingsActivity already.
Also removed setup custom button because that functionality is
superceded by the navigation bar.

Change-Id: I7f853d57bb63ad3c410e2731d1485d152f806d9f
2014-06-17 16:59:28 -07:00
Fabrice Di Meglio
ee18fdbec8 Fix bug #15729260 Switch should not have any outer glow ripple around its circle
- @null for the background

Change-Id: If2fa9f3dcdbd79af42e308120ce0c3ba3bc78ea3
2014-06-18 17:09:19 -07:00
Fabrice Di Meglio
b11f132e07 Merge "Fix Spell Checker layout padding" 2014-06-18 18:22:48 +00:00
Fabrice Di Meglio
e4f58f9c52 Fix Spell Checker layout padding
- update padding layout for being consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I37ce631425b3e075f4a5d44a41c6a3bac7607a3d
2014-06-18 16:25:33 -07:00
Fabrice Di Meglio
0ec4251d12 Make Process Stats more beautiful
- update padding layouts for being consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I1813eec92a97e4cd9adb4a9c9852c8cd03c38a05
2014-06-18 16:14:45 -07:00
Fabrice Di Meglio
6ebcc36514 Update more colors in Data Usage Summary
- use colors from the Settings Theme
- code cleaning for use the Theme accent color constant
instead of raw color value

Change-Id: I04ec913f0b8048b6e50069213e9d92992168fe18
2014-06-18 12:56:04 -07:00
Fabrice Di Meglio
e5c75ab44b Fix bug #15696670 Settings > Apps using old Holo colors in tabs, space indicator
- updated the LinearColorBar colors, the gradient colors on top of it
and also the label colors too for being compatible with the rest of
the Settings App theming

Change-Id: If88be4ac7084d26299e8e738389279bec636ccd6
2014-06-18 12:01:47 -07:00
Fabrice Di Meglio
3b5e885665 Merge "Make Process Stats more beautiful" 2014-06-18 18:22:48 +00:00
PauloftheWest
da43135d7e bug #15543626 Bluetooth Settings headers need to support Quantum styling
+ Changed cog to teal
+ Eliminated double vertical bar
+ Removed dimming the cog

Change-Id: I6311408658328b5cc9c7e2846a8ba74a32d1af6e
2014-06-18 13:26:19 -07:00
Fabrice Di Meglio
fb03ae2954 Fix Print Settings layout padding
- make padding consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I2f095951143e5c953405c3cd9ff8f77b76c791ae
2014-06-17 19:54:09 -07:00
Fabrice Di Meglio
df7becb8e5 Merge "Fix Language & Input Settings layouts padding - part 2" 2014-06-17 20:49:29 +00:00
Fabrice Di Meglio
b6679d2b52 Fix Language & Input Settings layouts padding - part 2
- make padding consistent with the rest of the Settings App
- make input methods and tts engines list item consistent

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I403adc579adcf4bc31bc198677463177a41bb5ec
2014-06-17 19:22:42 -07:00
Fabrice Di Meglio
e767d2ea97 Fix Language & Input Settings layouts padding
- make padding consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I9aab93e6b18d0fa966e79e93a334b339fa2ca20a
2014-06-17 19:07:53 -07:00
Fabrice Di Meglio
21ddce6969 Fix Security Settings padding
- for OwnerInfo / Trust Agent / Trusted Credentials / Device Admin
- fix also scrollbars position
- also layout code formatting

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: Ib840c6dea62d7cead671b2ca8744502a7ecb435a
2014-06-17 18:52:11 -07:00
Fabrice Di Meglio
0106a2efd2 Fix padding for Battery Chart Headers label
- make it consistent with the rest of the Settings App
- also fix label gravity (for RTL support)

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I91cbfc62daf05d819009f7086047b5b78a03be4e
2014-06-17 17:40:53 -07:00
Fabrice Di Meglio
18bc61bc8d Fix Storage Settings UsageBar empty color
- use same empty color as the Battery graph

Change-Id: I1458ecc713117d79182c427e0eadb7407ec1ebae
2014-06-17 17:01:51 -07:00
Fabrice Di Meglio
1e0e0ed6df Fix UsageBar for Storage Settings
- make padding consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: Id333493cc4e88355a1211834081cd22e61aabf77
2014-06-17 16:43:00 -07:00
Fabrice Di Meglio
6434149c0e Fix Notifications Settings padding
- make it consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I5ac608772070870e5fdcd10257e9f81fe65f08ac
2014-06-17 16:30:02 -07:00
Fabrice Di Meglio
2968c3c114 Fix padding for AndroidBeam layout
- make it standard

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: If4443beea744bd8d1ddb79df6ed48bd95b58fad4
2014-06-17 16:03:20 -07:00
Fabrice Di Meglio
ef17854111 Fix padding in DataUsageSummary layouts
- make it consistent with the rest of the Settings App

Change-Id: Ia0ae31dcea1f4d9f6e477edce076197193fbbb82
2014-06-17 15:53:39 -07:00
Fabrice Di Meglio
ab9d6985fa Fix ProgressCategory theming and layout
- add missing constructors for correct theming
- fix layout by adding missing paddingStart / paddingEnd

Change-Id: I52a511d326b760a47339b2b9dad349c9f825dbd2
2014-06-17 14:20:09 -07:00
Fabrice Di Meglio
4809acffc5 Merge "Fix Language & Input Settings layouts padding" 2014-06-17 20:49:29 +00:00
Fabrice Di Meglio
67b3840200 Merge "Fix Security Settings padding" 2014-06-17 20:55:27 +00:00
Fabrice Di Meglio
caa25020e6 Merge "Fix padding for Battery Chart Headers label" 2014-06-17 20:55:27 +00:00
Fabrice Di Meglio
0f0ced63c7 Merge "Fix Storage Settings UsageBar empty color" 2014-06-17 22:59:52 +00:00
Fabrice Di Meglio
89ea32d584 Merge "Fix UsageBar for Storage Settings" 2014-06-17 20:49:29 +00:00
Fabrice Di Meglio
95efb92ab2 Merge "Fix Notifications Settings padding" 2014-06-17 22:59:52 +00:00
Fabrice Di Meglio
8585d7e337 Merge "Fix padding for AndroidBeam layout" 2014-06-17 20:55:27 +00:00
Fabrice Di Meglio
6436a48863 Merge "Fix padding in DataUsageSummary layouts" 2014-06-17 20:42:58 +00:00
Fabrice Di Meglio
5d5e11bd5d Merge "Fix ProgressCategory theming and layout" 2014-06-17 20:49:29 +00:00
Maurice Lam
c91d4d9341 Merge "[WifiSetup] Use setup navigation bar" 2014-06-17 04:56:28 +00:00
Paul Lawrence
f57bf32a3c Merge "Fix owner info" 2014-06-17 05:00:50 +00:00
Maurice Lam
6776c67ac1 [WifiSetup] Use setup navigation bar
Use the setup navigation bar in wifi setup activity.

1. Include frameworks/opt/setupwizard/navigationbar/common.mk in the
make file.
2. Make WifiSetupActivity implement NavigationBarListener
3. Added the fragment in setup_preference.xml, wrapping the whole
screen in a LinearLayout
4. Moved skip and next screen logic to WifiSetupActivity, refactored
the skip dialogs into a fragment

Change-Id: Ia973c0a61faa3ead201bd10d5aa8de4bc6e091c1
2014-06-16 17:19:14 -07:00
Paul Lawrence
b191bcc3bf Fix owner info
The owner info field was set to be the same size as the status field.
This means, that, for instance, when the status field shows 'Try again'
you only get a very short owner info area.

Change-Id: Ib9b49f8d64d47f0ade686f1f99b2d1a2176cdfc5
2014-06-13 18:17:36 +00:00
Julia Reynolds
2c53933e8d Use user restriction instead of pin to guard factory reset in Settings.
Bug: 14081992
Change-Id: I60f132312368c5097b46ab97e881eec3700ef586
2014-06-13 13:10:44 -04:00
Fabrice Di Meglio
a6fa002315 Fix padding issue with Dream list item
- needs to use the standard Framework one

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I4f7bb003c928a799bf8b77fce3c4869671816265
2014-06-13 21:11:31 +00:00