Commit Graph

586 Commits

Author SHA1 Message Date
Yanting Yang
21f9a0f6c9 Update search bar background drawable for dark mode
Bug: 129996634
Test: visual

Change-Id: I1657b1b570bf79ad776ae80b2f2878e4f4d72481
2019-04-12 20:42:08 +08:00
TreeHugger Robot
4303e28377 Merge "Update magnification icon in Accessibility" into qt-dev 2019-04-11 20:43:39 +00:00
TreeHugger Robot
d8f9412263 Merge "Have dialogCornerRadius same as theme for panel" into qt-dev 2019-04-11 02:01:53 +00:00
lindatseng
7361702ecc Have dialogCornerRadius same as theme for panel
Should have DialogCornerRadius updated with theme

Test: Visual inspection
Fixes: 123833192
Change-Id: I2e9779122f01e8e36611ae95a69295aa81e931fe
2019-04-10 17:13:45 -07:00
Mill Chen
0c63de2612 Update magnification icon in Accessibility
Also, delete unused png files

Fixes: 129995155
Test: visual
Change-Id: Ie392abea4281beb4799c87d264548369c28940e1
2019-04-10 11:20:14 -07:00
clownshen
9762652115 Add icon for sign in
Bug: 130188624
Test: manual test
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: I58a6c411a31e5cb0fe05eba486ba38774c078070
2019-04-09 06:56:16 +00:00
TreeHugger Robot
41f0a69b76 Merge "Add Settings icons needed for theme overlaying." into qt-dev 2019-04-05 16:38:08 +00:00
Amin Shaikh
7b7d6888a2 Add Settings icons needed for theme overlaying.
- Refactor battery icons to remove private attributes to allow them to
be overlayed
- Add drawable icon in settings for back arrow
- Update a few GM2 icons

Bug: 128354921
Test: make; open Settings
Change-Id: I84151a4e7d787381b6c51f02bb45ce5f15fa37a2
2019-04-05 07:54:07 -04:00
Alex Salo
e0c9d3c474 Update adaptive sleep setting with the latest copy
Bug: 129352433
Change-Id: I3c9594f9ed49208ef1d7bbc33e8083a0c733b1f8
Test: manually confirmed it works and looks correct
(cherry picked from commit fdeb07c05b)
2019-04-04 18:55:59 +00:00
Arc Wang
e40502fba4 Merge "Update Wi-Fi QR code scan icon and share icon" 2019-04-03 01:50:14 +00:00
lindatseng
3debd0691d Tint icon colors of storage screen same as other screen
We were using hard-coded colors to tint the icons on storage screen
for some reasons.  Change it to the same way we tint other icons,
as there's no reason to keep it special, and also per partner's
request to keep it consistent with other screens.

Also update the ic_sim_sd icon from png to vectors.

Test: Manual/Visual verification
BUG: 113977374
Change-Id: Ia0210635e936b6798aaf9e48dd8815a197396065
2019-04-01 19:15:14 +00:00
Arc Wang
a79ed2b133 Update Wi-Fi QR code scan icon and share icon
Replace with new material design version

Bug: 128706512
Test: manual
Change-Id: If7f474f91d36a9997464c8a68fc41b8d7ced0307
2019-04-01 18:00:07 +08:00
hughchen
9d4b634535 Remove method that used to get rainbow bt icon
Move get rainbow bt icon method to settingsLib

Bug: 128570540
Test: RunSettingsRoboTests
Change-Id: Iee022bd1471f1da057b1852bb648e9c7ce334727
2019-03-28 10:58:55 +08:00
TreeHugger Robot
f11c4c242a Merge "Change icons for disable and enable button" 2019-03-27 08:06:33 +00:00
Mill Chen
9ec418f4db Merge "Normalize the icons in Accessibility" 2019-03-27 06:34:50 +00:00
tmfang
ebf7b888d6 Change icons for disable and enable button
Test: visual
Fixes: 124116610
Change-Id: Ia300eeba36d853117699d3bec724373df2e354d3
2019-03-27 10:53:24 +08:00
Salvador Martinez
bd677df009 Update icons to use tint and vectors
A bunch of icons were using PNGs which didn't allow their color
to change when in dark mode. This CL simply adds vector drawables
for all the PNGs and sets the tint to the correct color where needed.

Test: visual inspection, robotests pass
Bug: 126199274
Change-Id: I372d94e374173ab0572dacb03674a40fa14cffb9
2019-03-26 17:41:24 -07:00
Mill Chen
9703d79ce2 Normalize the icons in Accessibility
The icons displayed in Accessibility are larger than others, they should
be the same size as app icons. Change the drawable's icon size to fix
it.

Fixes: 123411506
Test: visual, rebuild
Change-Id: Ib693dd2ac8e2e191e5ecb2d0d8d4fdac5a32a2de
2019-03-26 16:14:34 -07:00
Michael Groover
961e55309c Merge "Add Sensors Off QS developer tile" 2019-03-22 00:34:21 +00:00
TreeHugger Robot
1029b976f4 Merge "Update enrollment intro" 2019-03-20 06:28:33 +00:00
Kevin Chyn
f25830b9cc Update enrollment intro
1) Toggles resources between normal and accessibility enrollment
2) Add footer for more detail text

Fixes: 127514618
Bug: 111548033

Test: Builds

Change-Id: Ib0c47f04abc5ce9abbd8b27ef5782d1874379f16
2019-03-19 19:19:23 -07:00
Michael Groover
3a665ac5ec Add Sensors Off QS developer tile
This CL will replace the SensorPrivacyTile with a new tile that can be
enabled from the developer settings. When this new tile is enabled only
the camera, mic, and sensors controlled by the SensorManager will be
disabled; the location and airplane mode tiles will not be modified.
The user will be notified when this tile is enabled with the sensors
off icon in the status bar.

Fixes: 126618519
Test: Manually verified the Sensors Off tile was available in the QS page
      after being enabled from the developer settings.

Change-Id: I028aa1c836b00e6a8d129e46a925d2d2c2d61759
2019-03-19 19:13:17 -07:00
Arc Wang
e4359a9eee Merge "Fix Wi-Fi Easy Connect buttons UI defects" 2019-03-20 01:53:24 +00:00
Mill Chen
8ac550c912 Merge "Add Grayscale conditional" 2019-03-19 20:47:56 +00:00
Lei Yu
e87fe284b6 Merge "Add circle background outline to unthethered icon" 2019-03-19 17:46:17 +00:00
Arc Wang
baf002d61a Fix Wi-Fi Easy Connect buttons UI defects
1. Apply attr/colorAccent to button icons for theme UI control
2. Apply attr/selectableItemBackground for button tapping ripple effect
3. Use ConstraintLayout to separate ssid EditText and scan button
4. Remove ButtonPreference and add AddNetworkPreference.
   ButtonPreference's naming and design look like a general purpose UI
   component but it's not. This change refactors the code.
5. In AddNetworkPreference, use settingslib layout file
   'preference_access_point' to fix UI alignment problems.

Bug: 126964552
Bug: 125434239
Bug: 126762937

Test: manual test
      atest com.android.settings.wifi.WifiSettingsTest
Change-Id: Ib899a1e10f96bb8427ff00d6b5dfca37a0642c44
2019-03-19 16:27:04 +08:00
jackqdyulei
8308274058 Add circle background outline to unthethered icon
Fixes: 124247230
Test: manual
Change-Id: I70f8158685134e2115f2a7baded983ebac6c8f1b
2019-03-15 12:40:58 -07:00
Julia Reynolds
4253be9191 Update design of channel pages.
Test: atest
Bug: 127796543
Change-Id: I4fabeafe2602c341554959303e67bc69c8817a8f
2019-03-15 10:21:24 -04:00
Kevin Chyn
f1536636a0 Update icon
Bug: 111548033
Test: Builds
Change-Id: I68fd1f0b24a46b762baa1acb1087313ddaaf815b
2019-03-14 18:25:40 -07:00
Mill Chen
88ad3307eb Add Grayscale conditional
Build Grayscale conditional that lets users quickly turn off Grayscale
in Settings if it is on.

Bug: 118387886
Test: visual, robotests
Change-Id: Ibfc2d88f4f3f60f9b0acf084a49084030674de37
2019-03-09 18:46:14 +08:00
Maurice Lam
d6aff5ecec Fix Face auth header icon
Like the fingerprint enroll flow, the icon should be blue and have
size 32dp

Test: Manual
Bug: 127985682
Change-Id: I22e1b0c3294b4eedc7359c611c9b1c2c5a09c439
2019-03-08 18:32:03 -08:00
Sunny Shao
b510ad24bc Use the colorAccent for ghost boy avatar
Bug: 126926489
Test: manual review
Change-Id: I3e6b90ba9b39f1fe59103d5aa453d8c41533cb11
2019-03-04 11:46:36 +08:00
Mill Chen
e1fd5af2e5 Update wallpaper icon for SUW Anything else screen
A dot icon is displaying for "Change wallpaper" option on SUW Anything
else screen, the cause is that we updated new colorful icons for
homepage suggestions. So we changed the drawable back and deleted the
unused icon.

Bug: 125426694
Test: visual
Change-Id: I8cf6d6dda311a45362a47ea31dc352ba4d452f80
2019-02-27 16:03:17 +08:00
Mill Chen
7195800371 Visual update: update the icons for suggestions
- remove blue tint
- add the icons of suggestions for contextual homepage

Bug: 122310542
Test: visual, rebuild
Change-Id: I2bac139669a4218455195aebeba83d1649184895
2019-02-18 18:03:09 +08:00
TreeHugger Robot
cd15971f14 Merge "Move horizontal progress bar into SettingsLib." 2019-02-13 13:53:56 +00:00
TreeHugger Robot
d611df7c48 Merge "Misc ui tweaks." 2019-02-13 02:15:54 +00:00
Fan Zhang
07207c0113 Misc ui tweaks.
- Update conditional card layout
  - move action button from right side to bottom.
  - Get rid of the forking between small/big screens.

- Update a few icons

Fixes: 121189136
Fixes: 124315564
Fixes: 124316920

Test: visual
Change-Id: I205d9995a2d7ed06ad9d32f3cea74f2840a28aed
2019-02-12 16:14:21 -08:00
Andrew Sapperstein
5efb70ac18 Separate OTA data usage from SYSTEM_UID.
Prior to this CL, Process.OTA_UPDATE_UID was included with SYSTEM_UID
for the purposes of per-app data usage in the DataUsageList. With this
change, it is now separated into its own category.

This change also deletes the duplicate ic_system_update* icons and
moves the one implementation into SettingsLib.

Fixes: 70640191
Test: manually verified locally that there is an item in the list
with the proper title. Required setting up a custom OTA for my
test device.

Change-Id: Iecc45648f68a12c9f8e2370577ab017863e7fcb2
2019-02-08 10:39:46 -08:00
Joel Galenson
ad0e49bd6e Move horizontal progress bar into SettingsLib.
Remove the horizontal progress bar as it is being moved into
SettingsLib.

Bug: 123538370
Test: See progress bar in wifi settings screen.
Change-Id: I8fc94b1f3a7a52559cfcf89f3e4a604784ec9995
2019-02-07 08:21:01 -08:00
TreeHugger Robot
0e96dcc2a0 Merge "Use adaptive icon shapes for settings homeepage" 2019-02-05 23:13:08 +00:00
Amin Shaikh
3304bec980 Use adaptive icon shapes for settings homeepage
- Add AdaptiveIconShapeDrawable for the homepage icon backgrounds
- Rename RoundedHomepageIcon -> AdaptiveHomepageIcon to reflect that the
adaptive icon shape is used

Bug: 123829919
Test: mp settings; manually viewing homepage icons
Change-Id: I9fddfbf57461b300200f30f716d861878bbbcc38
2019-02-05 15:18:52 -05:00
Amin Shaikh
e2815e033d Remove duplicate ic_menu_add_white.
Bug: 123829919
Test: mp settingsg
Change-Id: I88e0dde22762eb6bc019361222ffe783b1c15133
2019-02-04 17:59:29 -05:00
Fan Zhang
015b8d5cfb Make a passthrough drawable for ic_settings_print.
Bug: 123711718
Test: visual
Change-Id: I6be16f501522167ea0af58c9eed1c491c3c4525d
2019-02-01 11:41:53 -08:00
Arc Wang
4ab826ac5b Set Wi-Fi DPP fragment icons.
1. set fragment icon for WifiDppChooseSavedWifiNetworkFragment
2. set fragment icon of success for WifiDppAddDeviceFragment

All Wi-Fi DPP fragment icons are VectorDrawable of instinct size
24dp draw on a 48dp canvas. Except for ic_devices_check_circle_green,
it's a LayerDrawable of different size. I dynamically change ImageView
layout width & height between these 2 different kind of drawable.

Bug: 122982132
Test: manual test
Change-Id: Idab8cd8b0798363e447da00dc6bc68a86498b8be
2019-01-29 17:02:14 +08:00
Amin Shaikh
9391361438 Move SettingsLib icons to android.
Bug: 122263617
Test: make
Change-Id: Ia2ab06561824656951fbd0019e9c921442c714e1
2019-01-28 13:46:54 -05:00
Arc Wang
bf1fb10999 Add icons of WifiDppAddDeviceFragment.
Bug: 118797202
Test: manual test
Change-Id: Ia2ef9db3526f98b1c697a864cec34e1d4dcfc400
2019-01-22 16:27:23 +08:00
TreeHugger Robot
32d561653c Merge "Add a picture for Wi-Fi DPP add device fragment." 2019-01-21 04:58:35 +00:00
TreeHugger Robot
e27f88d9f2 Merge "Use the accent color for search icon in homepage" 2019-01-19 07:04:18 +00:00
Sunny Shao
3f735ff345 Use the accent color for search icon in homepage
Add the ic_homepage_search.xml and use the accent color

Bug: 122924929
Test: manual view
Change-Id: I0ed9d2261da776f7c04bd576fd1af612c47d85db
2019-01-18 08:19:00 +08:00
Arc Wang
e05fae643c Add a picture for Wi-Fi DPP add device fragment.
Bug: 122429170
Test: manual
Change-Id: I8a2e9feab238aa2636be25959988145ac8633c24
2019-01-17 23:04:37 +00:00