Commit Graph

307 Commits

Author SHA1 Message Date
Sundeep Ghuman
07db40434b Create the Wifi Network Details Page.
This page should not be searchable, as it corresponds to a specific
access point, thus click on a search result would not have an access
point in which to open.

Fix WifiPicker bugs b/35883232 and b/35951638 that deal with UI jank.

Bug: 34713316
Test: Tracked in b/35963536 and to be implemented in an immediate follow
up CL.
Change-Id: Iad7f26c7f04c3fc7d07a8e9188843eeb4d44cd36
2017-03-14 15:31:20 -07:00
Lei Yu
0ff13a4971 Merge "Remove hardcoded color for settings dashboard" 2017-03-14 20:01:33 +00:00
jackqdyulei
9d690bdbd7 Remove hardcoded color for settings dashboard
1. Change card_background to default background color. In settings
light theme, background color is exactly the #fafafa
2. Change card_background_grey to colorSecondary, which is
material_grey_200 in settings light theme.

Bug: 36139640
Test: Screenshot
Change-Id: I20081e768985ce6c0b9000448ae48599f18b293a
2017-03-14 10:40:09 -07:00
Matthew Fritze
2beb03f4b7 Add optional feedback button for settings search
Adds mechanism for adding a button in the search screen
and stubs to show and hide the button.

Fixes: 35164702
Test: make -j40 RunSettingsRoboTests
Change-Id: I34d245e84b62cedf2dc6e5de4ea336c5a99ffd31
2017-03-13 09:55:05 -07:00
Fan Zhang
7bf6771392 Revert color-coded icons.
Change-Id: I64190a2603d6c3de687a126013f64c90362a7df7
Fix: 34978809
Test: Visual
2017-03-06 12:37:19 -08:00
TreeHugger Robot
271dd30704 Merge "Update theme for filter widget." 2017-03-04 00:35:07 +00:00
Fan Zhang
3ca5e45425 Update theme for filter widget.
Bug: 35933748
Test: visual

Change-Id: I0c09c90360c436e25ca4a40993dde31cb2b4287b
2017-03-03 14:53:13 -08:00
Doris Ling
26208220cf Remove WirelessSettings and related code not used in new IA.
- remove WirelessSettingsActivity and update other references to it.
- move the intent filter android.settings.WIRELESS_SETTINGS and
  android.settings.AIRPLANE_MODE_SETTINGS into Network dashboard
- move intent filter android.settings.NFC_SETTINGS into Connected
  devices dashboard.

Change-Id: I84f75ac45d0712eac9c40aa6c8f052bc060ed03a
Fix: 32342061
Test: make RunSettingsRoboTests
2017-03-03 13:20:12 -08:00
TreeHugger Robot
1a5af84352 Merge "Experimental change to use colorful icons in Settings home" 2017-02-27 19:10:29 +00:00
Fan Zhang
93d2294eab Experimental change to use colorful icons in Settings home
Bug: 34978809
Test: manual
Change-Id: Ia48404dd631d996dfcc25457baef9f60ab4408cb
2017-02-24 17:41:37 -08:00
Jason Monk
6fca98f905 Switch references to colorError
Test: make
Change-Id: I0ed10d78763642cecc5ba8e8e15a097d51280946
2017-02-24 14:57:31 -05:00
TreeHugger Robot
80f9e536d5 Merge "Change static defined color inside drawable" 2017-02-24 03:31:05 +00:00
Hyunyoung Song
e2c31ffc2b Change static defined color inside drawable
Test: manual build and installed on bullhead
-theme based color attribute may not load from correct context inside drawables.

b/35681210

Change-Id: I8869963dee76d6744c619a25f01270e2a2f5d77c
2017-02-23 17:37:19 -08:00
Stephen Chen
614e5c3e5c Add icons for Wi-Fi wakeup and notification settings toggles.
Bug:35350450
Test: visual inspection on device.
Change-Id: Idc826002da98675b7c2ba675db98cd8c30b76ab2
2017-02-21 12:17:46 -08:00
Hyunyoung Song
da6dac806b Change MaskableIconDrawable to AdaptiveIconDrawable
Test: $ make -j31 dist

Bug: 35399620
Change-Id: I2f6632ea31e23a46ef57af569eb55e5a42df5028
2017-02-17 11:34:49 -08:00
TreeHugger Robot
4451440a5e Merge "Update cast setting icon" 2017-02-16 22:59:46 +00:00
Hyunyoung Song
cfcecb06ac Merge "Change launcher and shortcut icons to MaskableIconDrawable Test: manual test on Launcher3 Bug: 33034275 Bug: 35431198" 2017-02-16 22:18:16 +00:00
Fan Zhang
3d0c5c2e38 Update cast setting icon
Change-Id: Id5cbe994f58c3daea4c70ffd76718ac56389a610
Fix: 35407157
Test: manual
2017-02-16 12:53:44 -08:00
Hyunyoung Song
1f093dd94c Change launcher and shortcut icons to MaskableIconDrawable
Test: manual test on Launcher3
Bug: 33034275
Bug: 35431198

Change-Id: Ief9f49ec38ec95daa738799398fc4b458d634acc
2017-02-16 12:31:49 -08:00
Doris Ling
2ed09339d4 Update layout for App info page.
- Move the app link buttons to the right
- Move the footer buttons to the top below the header
- Rename the app header details title, summary, and icon views.

Bug: 34977561
Test: make RunSettingsRoboTests
Change-Id: Id0cfc2b73b4e5cbbc1a58e497da52560892b69c8
2017-02-15 12:33:42 -08:00
TreeHugger Robot
5c29cfad84 Merge "Removing one all-purpose developer tile and replacing it with 4 separate tiles, for individual actions. Also adding a section in Developer Options for enabling these individual tiles." 2017-02-10 01:11:29 +00:00
Lei Yu
a62b49611e Merge "Create Advanced battery page" 2017-02-08 20:33:35 +00:00
Sunny Goyal
c960751e0a Removing one all-purpose developer tile and replacing it with 4 separate tiles,
for individual actions. Also adding a section in Developer Options for enabling
these individual tiles.

Bug: 34813634
Bug: 34909670
Test: Manually tested on device
Change-Id: I3adf5498f8b72959cb68cd508c44d87f953e450a
2017-02-08 10:13:25 -08:00
Fan Zhang
ebccf8d093 Update "more" icon so the 3 dots are perfectly round. am: de172c7727
am: 5b27d0638e

Change-Id: I97985601d1e7f6bf643f2109329d42e457e4d0cc
2017-02-06 23:13:00 +00:00
jackqdyulei
a224b010b9 Create Advanced battery page
The advanced page shows two major parts, one is the battery usage
graph and the other is battery usage list. In usage list, each item
shows basic info of battery usage of one type(e.g. Apps, System)

Bug: 34385770
Test: RunSettingsRoboTests

Change-Id: I22475a489285787afa775af8d5ae3340eff1eed9
2017-02-06 13:44:59 -08:00
Fan Zhang
de172c7727 Update "more" icon so the 3 dots are perfectly round.
Bug: 28194068
Test: visual
Change-Id: I23040c7fa638084fc653484e431039701c34bcb0
2017-02-06 20:40:22 +00:00
Robin Lee
728d0bc4a0 Revert "Change launcher icons to MaskableIconDrawable Test: manual test"
This reverts commit a8bd6c1bb8.

Change-Id: Iad92e544854776dcb9c4d7d3feeb2ac1b2a411d9
2017-02-02 11:33:37 +00:00
Hyunyoung Song
a8bd6c1bb8 Change launcher icons to MaskableIconDrawable
Test: manual test

b/34853793

Change-Id: I3376c03e84a0a9d94190b930f16596b3e48e9a9d
2017-01-31 17:57:33 -08:00
Shahriyar Amini
a25afbbaaa Add security status icons.
Bug: 31002801
Test: make RunSettingsRoboTests

Also tested manually in app.

Change-Id: I7496d9910657600c381202c0f3f78315e2de42ad
2017-01-20 15:11:42 -08:00
Stephen Chen
59882384f3 Show closed friction icon for saved and secure networks.
This is a temporary adjustment for the friction UI logic, will
make a more permanent refactor when design decisions are finalized.

Test: manual inspection.
Change-Id: I06cd02b1092ed7e29a36cc83a9de297c513cbac8
2017-01-19 17:28:44 -08:00
Stephen Chen
20bfe52959 Add drawable resources for Wi-Fi picker friction icons.
Bug: 34281330
Test: manual inspection, make
Change-Id: I7a98ececf4804e3444514ff1c438e5ed4f9705d5
2017-01-19 12:21:06 -08:00
Anton Philippov
3fdd9fa9c4 Moves "Factory data reset" to a different page.
Test: manual

Change-Id: Ibd4a28b9b15f3625e852938727ad775537ee9251
2017-01-17 17:55:38 +00:00
Doris Ling
d258626c88 Update icons for IA.
- in homepage: Connected devices, Apps & notifications, Support
- in Network & internet: Airplane mode, Cellular networks, Tethering,
  VPN, Network reset
- in Connected devices: NFC, Android beam, USB
- in Apps & notifications: Apps, Notifications, Default apps

Bug: 34205154
Test: Visual

Change-Id: I11c72ccbc85d68ed61476f6629dae862abee42fc
2017-01-12 12:51:10 -08:00
Fan Zhang
ffd328b071 Misc fixes for IA and pattern.
Disable NFC fragments when feature is not avaiable
Link to spell checker screen with the pref is clicked
Tint "add"/"delete" button in UserDictionary actionbar to proper color.

Change-Id: I8a8e219ce3dbbafc6c4d5a0f34f835ffd0abad4f
Fix: 34155679
Fix: 34161006
Fix: 34154795
Test: RunSettingsRoboTests
2017-01-09 10:58:44 -08:00
Fan Zhang
d916dae218 Progressive disclosure on selected UIs: app, display
Bug: 32255863
Test: RunSettingsRoboTests
Change-Id: I1651433ba30a2b5f880095e07b5e2ed9c4e308b9
2017-01-07 11:21:06 -08:00
TreeHugger Robot
f7dd2c7547 Merge "Add icon for new IA." 2017-01-06 02:26:26 +00:00
Fan Zhang
c54503d9e1 Update tile color from using accent to colorControlNormal.
Also remove some unused code
Bug: 33759208
Test: visual

Change-Id: I0a019bf6b514564f9e6e844de8a6b75b2ca69cc7
2017-01-05 16:47:59 -08:00
Doris Ling
f1c4b4562d Add icon for new IA.
Add preference icon for System updates, Account sync, and App
permissions.

Bug: 33759208
Test: Visual
Change-Id: Icb0aff0e9c46d774d643b4b4262c6d3f939c791a
2017-01-05 16:44:05 -08:00
TreeHugger Robot
c4a4c9445a Merge "Apply LightActionBar theme to Settings app." 2017-01-06 00:10:29 +00:00
Sunny Goyal
bf9f2d2698 Adding a customizable development mode tile
User can configure the active state for development mode
which would allow enabling multiple options at once

Test: make -j40 RunSettingsRoboTests
Change-Id: I545b790f8c7097945f39ca003e5985b23cb53636
2017-01-05 10:16:18 -08:00
Fan Zhang
e96b5b9faa Apply LightActionBar theme to Settings app.
Bug: 33558692
Test: visual
Test: RunSettingsRoboTests
Change-Id: I9f0fb71eb0cd0c58ac3b0f69544adec963faf2dd
2017-01-04 12:28:03 -08:00
Fan Zhang
d5b48454a3 Build a new FooterPreference UI.
- Create a new layout for footer prefs.
- Create a new FooterPreference type to use the layout
- Create a Mixin to create and add the pref to screen
- Create a new lifecycle observer type to invoke mixin at right time
- Switch SettingsPreferenceFragment to use footer mixin.
- Switch FingerprintSettings to use the new footer pref.

Bug: 33579394
Test: RunSettingsRoboTests
Change-Id: I548ac39a0d120196a7ffed09b4f98bd9a80bae90
2016-12-14 16:41:49 -08:00
Maurice Lam
f8a325c7c6 Remove WifiSetupActivity
That activity was copied into setup wizard and is no longer used.

Also removed setup_illustration_lock_screen because that is also
not used in the current GLIF theme.

Test: Existing Robolectric tests pass
Bug: 33590605
Change-Id: Ib2ea02a5e4bce17a7ea829b854f73caf7d5c5f97
2016-12-14 22:41:58 +00:00
jackqdyulei
0627688cb7 Add tint for ic_settings_24dp.xml in settings
Bug: 32592245
Test: manual
Change-Id: I32bdc33984b7d3d417cf6187b917485ac46f91e5
2016-11-16 16:55:34 -08:00
Fan Zhang
80d1ec7dee Tweak UI for action buttons under app header.
- Make a transparent button with border style

Bug: 1584976
Test: manual
Change-Id: Ide53d71963afd4587834357999b40df81bb93500
2016-10-29 15:22:55 -07:00
Maurice Lam
67df126291 [Fingerprint] Make enroll progress bar scalable
Make the fingerprint enroll progress bar scalable by moving it to a
single FingerprintProgressBar view and make it fill the remaining
space.

- The background fingerprint icon was changed to include the padding
internally so it can be added as the background directly onto the
progress bar view.
- The icon in landscape mode is also fixed to use the fingerprint
icon rather than the lock icon.

Test: cd tests/robotests && mm
Bug: 32123370
Change-Id: Ia5cf37d92f0af7c1cf39287f5070c44f51d44878
2016-10-20 17:20:56 -07:00
Salvador Martinez
2acb2257cd Updated Nexus imprint screen
The fingerprint settings screen looked ugly so an
icon was added and the styles used in the
preferences normalized so everything lines up
and is flush now.

Test: Visually Inspect
Bug: 27834731
Change-Id: I208d7fc2aecbe64d3a0b771fc73f49c9612f6efa
(cherry picked from commit 3d2d5e040a)
2016-08-25 19:55:11 +00:00
Salvador Martinez
3d2d5e040a Updated Nexus imprint screen
The fingerprint settings screen looked ugly so an
icon was added and the styles used in the
preferences normalized so everything lines up
and is flush now.

Test: Visually Inspect
Bug: 27834731
Change-Id: I208d7fc2aecbe64d3a0b771fc73f49c9612f6efa
2016-08-24 17:51:14 -07:00
Salvador Martinez
89d138b724 Merge "Prevent wifi icon from disappearing" into nyc-mr1-dev 2016-08-22 21:55:18 +00:00
Mihai Nita
99ebdaf87e Changing the languages drag handle as per the Material Design spec am: 30cf5f2615 am: 188ab9120e
am: 0a180b239e

Change-Id: I4c3a5bbc8d834f60499fe213ab722b2e6229f1a6
2016-08-19 23:55:55 +00:00