Commit Graph

326 Commits

Author SHA1 Message Date
Matthew Fritze
b4f2f81f27 Update no search results icon and move image to top of page
Change-Id: Ib57bdc49095091ff6e432be922da676806ee3e2f
Fixes: 36597112
Test: search for "aaa" and observe image
2017-05-17 16:24:27 -07:00
TreeHugger Robot
25b6ef1604 Merge "Remove icons for setting items in app & notification screen" into oc-dev 2017-04-21 21:01:30 +00:00
TreeHugger Robot
52064f63f0 Merge "Update security status icons." into oc-dev 2017-04-21 00:16:30 +00:00
Fan Zhang
8ee8323add Remove icons for setting items in app & notification screen
Change-Id: Iddc2008fcf434fdec124db376be0247462f9ff4e
Fix: 35917329
Test: visual
2017-04-20 17:10:39 -07:00
William Luh
b03f19991f Update security status icons.
Bug: 36847800
Test: make RunSettingsRoboTests

Also tested manually in app.

Change-Id: I5b7c043ed6af4c5a888710b582e8e69c6e3974c3
2017-04-19 17:06:46 -07:00
Sunny Goyal
3b172d7b89 Using a common class for loading drawables and handling various badging
Test: make RunSettingsRoboTests -j31
Bug: 36591157

Change-Id: I4cb1d313920d5d8604fd79ff65b40e2dda180e2e
2017-04-18 21:34:13 +00:00
Fan Zhang
be6fab0135 Update action bar style in app header UI.
- Update background color of actionbar
- Remove elevation of actionbar so it appears to be the same entity as
  app header.
- Add a shadow below app header view. We can't set elevation on app
  header unfortunately because that will add shadow all round the view,
  but we only want shadow below it.
- Updated app icon size/text size per to match UI spec.

Change-Id: I63d7fa42b859a008fa662aaf19848cd40529c2ff
Fix: 37207527
Fix: 37079248
Test: visual && make RunSettingsRoboTests
2017-04-17 09:30:40 -07:00
Daniel Nishi
c274a28660 Use the music note icon for the music files pref.
Change-Id: I0e688321d7697aa4ad5b4ae16e7ca03f60e582cd
Fixes: 36900603
Test: Manual
2017-04-14 10:29:14 -07:00
Daniel Nishi
c365a8735c Merge "Add a movies & tv apps category to storage settings." into oc-dev 2017-04-13 18:39:58 +00:00
Sundeep Ghuman
6f22fb7dc1 Update Wifi Preferences with custom icons.
Bug: b/37281159
Test: Visual inspection of resource change only, see screenshot.
Change-Id: I1fb11667d9fe81873cc8e0a01db98890f106f1be
2017-04-12 17:17:49 -07:00
Daniel Nishi
f588f7678d Add a movies & tv apps category to storage settings.
Change-Id: I055e93d2a151195b90a5fd64f4fddebbbcffef59
Merged-In: Idfabe83739272b19cbef4b13a82339170f8f97b3
Fixes: 36223441
Test: Settings Robotest
2017-04-06 13:36:12 -07:00
TreeHugger Robot
9b271041a9 Merge "Add friction icon for metered networks." into oc-dev 2017-04-03 18:24:02 +00:00
Stephen Chen
dee09e7a5a Add friction icon for metered networks.
Also modified colors for dark theme compatibility.

Bug: 36100548
Bug: 36099721
Test: make, screenshot
Change-Id: Ib19ba8d5f34ad6d7461849c9137520308f1e5e34
2017-03-31 17:44:18 -07:00
Jesse Evans
0b7037c24e Adds the lightning badge for Instant Apps
Adds the lightning bolt badge for Instant Apps to the
InstalledAppDetails page.

Test: Robolectric test to ensure the badge is shown for Instant Apps
and also that it is not shown for installed apps.

Bug: 36512295
Change-Id: I8496d684fa3a9dc316fa5af16399e6d07f68255a
(cherry picked from commit 2400d31651)
2017-03-31 02:26:15 +00:00
Daniel Nishi
49118e7e01 Add icons to the main static storage setting prefs.
The dynamic user icons require more than just XML changes to
successfully fetch the badged user icons and are coming in a future
patch.

Bug: 35801039
Test: Manual -- this is purely XML and comment changes.
Change-Id: Id493c0335037a5c6e4f8b4734700611bfc0da7f1
2017-03-23 10:34:06 -07:00
Lei Yu
9635123aab Merge "Remove the hardcoded color in main page" 2017-03-22 21:48:02 +00:00
jackqdyulei
8a05c9b38b Remove the hardcoded color in main page
Since we don't have grey background in settings page, we could
delete selectable_card and use default selectableItemBackground
instead.

Fix: 28129641
Fix: 36508801
Test: Screenshot
Change-Id: I2b61d8f2214df681a0db7f697fcc6a87dc7d78cb
2017-03-22 11:36:02 -07:00
jackqdyulei
1a4aeead22 Use the same icon for battery
Before this cl, we use different battery icon in the following place:
1. half battery icon in settings page 1
2. full battery icon in settings shortcut(Long press app settings)

This cl refines them to use the same battery icon: full battery icon.

Bug: 36467034
Test: Screenshot
Change-Id: Ibec92ad057a47e6cc7763a4bc6e1e1c16c6288c0
2017-03-21 17:04:08 -07:00
Sundeep Ghuman
f0293ebb4d Clean up wifi_friction icon unused states.
Bug: 34802842
Test: NA - nonfunctional refactor
Change-Id: I3ad11a8b65bf8ac8aea0a240afa74724d4fb34f3
2017-03-17 12:44:54 -07:00
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