Commit Graph

4030 Commits

Author SHA1 Message Date
Arc Wang
466be8d6fe Merge "Set font size 20 for StorageItemPreference" into sc-dev 2021-06-04 04:06:08 +00:00
Arc Wang
578affca57 Set font size 20 for StorageItemPreference
To improve UX.

Bug: 189390237
Test: manual visual
Change-Id: Ice40b7c8c86f7f4c220d43fd7f4a035e6160e50d
2021-06-04 10:45:36 +08:00
Betty Chang
5b23f3b923 Merge "[GAR] Set the correct color and style to panel UI" into sc-dev 2021-06-03 07:21:17 +00:00
TreeHugger Robot
28128df960 Merge "Fix overlapping problem on running services page" into sc-dev 2021-06-03 04:55:23 +00:00
Yanting Yang
09666f9ef4 Merge "Deprecate silky flag for official release" into sc-dev 2021-06-03 04:05:26 +00:00
Tsung-Mao Fang
ff0c73bfcb Fix overlapping problem on running services page
For Android S, all pages support collpasing tool bar.
We add coordinatorLayout to work with collpasing tool bar
layout. And coordinatorLayout only works with RecyclerView
and NestedScrollView.
Unfortunately, the list was implemented by listView many years ago.

Because it's a very hidden page and the page is not maintained anymore,
we don't consider to migrate to RecyclerView.
Simply enable nested scrolling behavior for listview at this moment.

I also make some small refactorings in this cl.
1) Update the layout padding.
2) Format the xml file.
3) Create a individual cl for this page only.

Test: Don't see the overlapping problem
Fix: 188539741
Change-Id: I21c61e35a06b85ca7c309d1d3182b38b4bb38212
2021-06-03 11:41:14 +08:00
Betty Chang
227f9357ab Merge "[GAR] Set the color to cycle left time to pass the GAR" into sc-dev 2021-06-03 02:33:12 +00:00
Curtis Belmonte
70dfd5332f Merge "Align assets and colors for biometric enroll intros" into sc-dev 2021-06-02 17:42:35 +00:00
Yanting Yang
90a9714cc0 Deprecate silky flag for official release
- Turn on the collapsing toolbar by default.
- Remove the silky flag from All apps page.
- Ignore tests of ChooseLockGenericTest and trace it on b/179136903.
- Remove silky flag.

Fixes: 183670633
Bug: 179136903
Test: robotests & visual
Change-Id: Iee2a9e7ccaebd1624f995af4fd45446142e5f500
2021-06-02 15:18:33 +00:00
changbetty
180970e88b [GAR] Set the correct color and style to panel UI
1. Set the correct color to panel subTitle for pass the GAR
2. Follow the UI spec to set the font style and size to the panel title

Bug: 189799700
Test: Manaul test by Accessibility Scanner
Change-Id: I7e7864f18e0e5c6edc8e5160cf984472d4aba881
2021-06-02 22:02:48 +08:00
TreeHugger Robot
7bebe57631 Merge "Fix slider RTL problem" into sc-dev 2021-06-02 09:20:12 +00:00
changbetty
f92229eead [GAR] Set the color to cycle left time to pass the GAR
Screenshot: https://photos.app.goo.gl/GwuAkwfuxf6nhcou5

Bug: 187145220
Test: Manual test by Accessibility Scanner
Change-Id: I2b07ae0a2a56c3133964629141c1a0ba34cf323f
2021-06-02 07:20:16 +00:00
Curtis Belmonte
08f90ddb2d Align assets and colors for biometric enroll intros
Replaces the existing MP4 shown on the face enroll intro/consent screen
with an updated lock asset that matches the current SUW theme. Also
updates the colors of assets and text on these screens for face and
fingerprint so that the two match.

Test: Manually tested both enrollments for dark and light system themes

Bug: 187681255
Change-Id: I119da913cfc76e02160f2efc4654cecf33f1f049
2021-06-01 23:22:48 -07:00
Sunny Shao
4cf930a9ff Fix slider RTL problem
Fixes: 187987211
Test: manual test
Change-Id: Id28f060aa55773707dc23f4606a188cc188c3b07
2021-06-02 13:50:40 +08:00
Wesley.CW Wang
645e28e31b Update battery error layout
- Update font
 - Add importantForAccessibility to make whole layout selectable
 Screenshot: https://screenshot.googleplex.com/9nJxzD47xeaB6ea.png

Bug: 187612897
Test: make RunSettingsRoboTests
Change-Id: I15bbee6780d8e2c0a01995c6dbb91b933abda274
2021-06-01 19:09:03 +08:00
TreeHugger Robot
12a285af4e Merge "Tweak Memory use layout in Developer options" into sc-dev 2021-05-31 11:40:35 +00:00
Edgar Wang
332110464b Tweak Memory use layout in Developer options
- Adjust Memory summary padding start
- Remove icons in developer options Settings

Bug: 189279355
Bug: 186609539

Test: visual verify
Change-Id: I0618e5f35a1748f8ccf7852f6516fb3267fcc582
2021-05-31 15:17:05 +08:00
TreeHugger Robot
677e59cbef Merge "Relayout Reset Wifi page" into sc-dev 2021-05-31 03:28:10 +00:00
TreeHugger Robot
47684fcca3 Merge "Update Volume title font size" into sc-dev 2021-05-31 03:25:08 +00:00
YUKAI HUNG
72f0500211 Merge "Resolve localization issue and refine UI for chart view" into sc-dev 2021-05-31 03:00:58 +00:00
ykhung
0caec37161 Resolve localization issue and refine UI for chart view
Bug: 189293866
Bug: 189407613
Bug: 189413817
Test: make SettingsgRoboTests
Change-Id: If38d133d88bb940c248ef1887548112ff576e0c4
2021-05-28 22:07:01 +08:00
Edgar Wang
88600e7916 Relayout Reset Wifi page
- Update textAppearance
- Adjust padding
- Update Button style

Fixes: 189389538
Test: visual verify
Change-Id: I03fe9368c0f3140990f96b6418034e14cb7ce813
2021-05-28 18:27:37 +08:00
Edgar Wang
a2311b668a Update Volume title font size
Fixes: 189390164
Test: visual verify
Change-Id: Icd794ca519cc9ed17065bd65e378dafb74c847ac
2021-05-28 14:24:33 +08:00
menghanli
ccc8a93c6c Fix Magnification shortcut option content overlap with top and bottom dialog container
Problem: After SuW theme applied, the scrollview viewport seems can draw outside of bounds.
Solution: Define whether a child is limited to draw inside of its bounds or not.

Test: Run initBCTestEnv_S.sh and apply different color
Bug: 187007290
Change-Id: Ie3a27616d7f30804c30e5101d2488216df516578
2021-05-27 20:31:26 +00:00
Kevin Chyn
dc00faece6 Merge "Use lottie animation for fingerprint edu" into sc-dev 2021-05-27 08:31:55 +00:00
Curtis Belmonte
2c8745b58d Merge "Fix crash due to traffic light face Lottie animation" into sc-dev 2021-05-27 01:55:58 +00:00
Curtis Belmonte
adf0cabe0a Fix crash due to traffic light face Lottie animation
Load the animation asset only if enabled in the resource config, to
avoid crashing on unsupported device configurations.

Test: Manual

Fixes: 189290180
Change-Id: Iae46c735277777705c1d6f4595b557e4b0b1aef7
2021-05-26 16:11:56 -07:00
Kevin Chyn
1bad80b36b Use lottie animation for fingerprint edu
The landscape layout can be removed now, since for UDFPS,
we do not use this page for the "find sensor" functionality anymore.
Instead, we show the edu animation.

Bug: 187460696
Test: manual

Change-Id: Ic2e15ecf73c42b8a0cea4ea8996b1b7dd2f3b4f2
2021-05-26 14:49:51 -07:00
TreeHugger Robot
f6d0845783 Merge "Tweak right padding for multiple preferences" into sc-dev 2021-05-26 03:36:54 +00:00
TreeHugger Robot
bdd98ec216 Merge "Update fonts & colors" into sc-dev 2021-05-25 14:34:16 +00:00
Pasty Chang
b15fd6233f Merge "Migrate summary text in wifi QR scan page to DescriptionMixin" into sc-dev 2021-05-25 07:40:47 +00:00
Curtis Belmonte
cbac65769f Merge "Use Lottie animation for traffic light face education" into sc-dev 2021-05-25 04:30:30 +00:00
Curtis Belmonte
a543067ed9 Use Lottie animation for traffic light face education
Test: Manual

Bug: 182716681
Change-Id: Ia4c9dea5c900c71ec7eca7946cf090fd02b436e2
2021-05-24 14:47:19 -07:00
Curtis Belmonte
937ff332f3 Update face/fingerprint consent screen UIs
Makes the following UI changes to the consent screens for face and
fingerprint enrollment:
- Sets description text in XML rather than in Java
- Highlight both primary and secondary buttons
- Use extracted highlight color for all icons

Test: Manually tested SUW flow

Bug: 188922185
Bug: 187458628
Bug: 183710943
Change-Id: I39d9b990dcbb82f443515a2175766dc51ca1180c
2021-05-24 13:17:09 -07:00
Julia Reynolds
6974556f9c Update fonts & colors
For contrast and consistency

Test: accessibility scanner
Fixes: 189057809
Fixes: 189057886
Fixes: 187373182
Change-Id: If46786e363fa8727d5ecd1bc9e1e19f5357ef645
2021-05-24 18:32:31 +00:00
Edgar Wang
1b413601b9 Tweak right padding for multiple preferences
- Moved two_target_min_width to SettingsLib
- Set widget_frame minWidth to 72dp

Bug: 185549116
Test: manual & robotest
Change-Id: I613fe8e494443ef7cfc99088acfcd4894892d2e6
2021-05-24 17:47:15 +08:00
TreeHugger Robot
2d31d85b5b Merge "Remove redundant learn more link" into sc-dev 2021-05-24 06:12:52 +00:00
TreeHugger Robot
9081a2e67d Merge "Update Policy transparency dialog to new style" into sc-dev 2021-05-24 03:28:04 +00:00
Pasty Chang
fbf5506b86 Migrate summary text in wifi QR scan page to DescriptionMixin
The description in the setup flow would follow the new style to align to the left.

Bug: 188593594
Test: atest & manual
Change-Id: Idfc00f51710d725d5c653396902446f29861cb88
2021-05-24 03:24:26 +00:00
Curtis Belmonte
0327293c3c Merge "Update Face Unlock strings to the latest versions" into sc-dev 2021-05-21 23:40:40 +00:00
Curtis Belmonte
47d74ccfd7 Update Face Unlock strings to the latest versions
Makes the following changes to strings related to Face Unlock:
- Standardize capitalization of "Face Unlock"
- Use latest versions of traffic light face enroll strings
- Use latest versions of combined biometrics settings strings
- Set SUW description strings programmatically instead of in XML

Test: Manually tested Face Unlock traffic light and grid UIs

Bug: 183649070
Change-Id: Ie67978ae2630493a5b03b00c3f8a639066ab8f3a
2021-05-21 13:11:52 -07:00
Edgar Wang
de88f5244c Update Policy transparency dialog to new style
- Tweak layout
- Update app icon
- Update font Size

Bug: 188756125
Test: manual
Change-Id: I7ddd73c80ead95d57202d1753408b437611a76b4
2021-05-22 04:00:38 +08:00
Mill Chen
8dfa74f6b8 Remove redundant learn more link
Fix: 188579822
Test: visual verified
Change-Id: If542976f8d04db5e3bab13da248c555caf75638f
2021-05-22 01:46:39 +08:00
TreeHugger Robot
48fab1db3a Merge "Fix the color of dot wrongly in device admin page" into sc-dev 2021-05-21 17:05:30 +00:00
TreeHugger Robot
417af889e1 Merge "Fix overlapping problem for device admin page" into sc-dev 2021-05-21 09:42:05 +00:00
TreeHugger Robot
d573f1d19e Merge "Make preference title align after icon" into sc-dev 2021-05-21 08:30:46 +00:00
Edgar Wang
600d023892 Make preference title align after icon
- Running service should use app preference layout.
- RestrictedDropdownPreference should use preference layout.
- Tweek Storage item icon padding
- Wifi calling should use Prefernce
- In Open by default page, if there is no vierfied link, we should
  hide the checkbox.

Bug: 186069482
Test: manual
Change-Id: Icc186ad79fc2bcf7ecd9c1ebba747bdad2d9b9ad
Merged-In: Icc186ad79fc2bcf7ecd9c1ebba747bdad2d9b9ad
2021-05-21 07:21:59 +00:00
TreeHugger Robot
f8bcde8886 Merge "Apply ripple on entire button" into sc-dev 2021-05-21 01:47:56 +00:00
Tsung-Mao Fang
2bdeaae97a Apply ripple on entire button
Expand the width of button, so we can see ripple on entire button.

Test: Click button and see ripple.
Fix: 188735750
Change-Id: Ic65e3579263108c9d0de0eb405fe30f2556b5193
2021-05-20 16:00:28 +00:00
Tsung-Mao Fang
3720ae21b0 Fix the color of dot wrongly in device admin page
In this cl, we migrate origin files/method from framework into settings app.
So, we can control layout and drawble without impacting other app.

And we only remove to set a tint color in app_permission_item.xml.
Currently, it won't tint color for dot now.

Test: See the screen and dot's color is correct.
Fix: 188188444
Change-Id: I18054b47ba07e7864e7c238f2bec5fbe1d3feeea
2021-05-20 20:21:56 +08:00