Commit Graph

5088 Commits

Author SHA1 Message Date
chelseahao
4c94930ad5 [Audiosharing] Clean up unused code.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: Iea1aede53aefe2034b5a083ff503bb21a4f546cb
2024-06-04 07:09:03 +00:00
Chun-Ku Lin
38236869ee Merge "Update a11y shortcut images" into main 2024-05-31 17:53:12 +00:00
Chun-Ku Lin
833bbccd30 Update a11y shortcut images
- Update QS, gesture, volume keys shortcut type images
- Change FAB image to animated image
- Change 2-finger double tap, triple tap animated images
- Fix the alpha value set in the FAB preview

Bug: 324312956
Test: Run and view the images
Test: atest com.android.settings.accessibility
Flag: EXEMPT low risk, resource change
Change-Id: Ic0f1953ca20fc8a3dc7b684f95ee18dae67c4f09
2024-05-29 01:43:44 +00:00
Julia Reynolds
97b462dbf0 Add button for activating modes manually
Fixes: 308819907
Flag: android.app.modes_ui
Test: ZenModeButtonPreferenceControllerTest
Test: atest com.android.settings.notification.modes
Change-Id: Id018d360c648dd948d2f950ca67cfbea71cc5c68
2024-05-28 13:17:43 -04:00
Chaohui Wang
168456c46a Reduce flaky of DataUsageSummaryPreference
- Set SnapshotTimeMs initial value to unknown
- Reserve height for DataUsageSummaryPreference

Bug: 341234382
Test: manual - on Mobile Settings
Change-Id: I9145f666c5f8fd9595bcc047160fd6da17b3091d
2024-05-24 12:14:01 +08:00
Joshua Mccloskey
dd88792a5b Merge "UDFPS Enrollment Refactor (6/N)" into main 2024-05-23 18:26:10 +00:00
Edgar Wang
2c80210f34 Merge "Make Choose Profile dialog scrollable" into main 2024-05-21 03:38:55 +00:00
Joshua McCloskey
01b4ef5a92 UDFPS Enrollment Refactor (6/N)
Bug fixes

Bug: 297082837

Change-Id: I86013007f089e9c57e1f7406f327c001bc4099b4
2024-05-20 23:35:24 +00:00
Joshua Mccloskey
03a0812931 Merge "UDFPS Enrollment Refactor (4/N)" into main 2024-05-20 21:53:16 +00:00
Edgar Wang
46119c9cbb Make Choose Profile dialog scrollable
Fixes: 326846585
Test: manual
Change-Id: I15d25c7c123bfdd4f550fe923e3058ef576be653
2024-05-20 09:33:26 +00:00
Edgar Wang
d0a35f619d Update suggestion card padding in Homepage
Bug: 340759836
Test: visual
Change-Id: I845050339f85d7459bd7c69f0a538d5c85651ec6
2024-05-20 06:49:24 +00:00
Edgar Wang
66c16d57af Update Search Bar layout in Homepage
Bug: 340513864
Bug: 340773713
Bug: 340799397
Bug: 340759836
Test: visual
Change-Id: I4bd5c3438aa55ca764f61b180a37c10206ee78be
2024-05-20 06:49:12 +00:00
Yiyi Shen
66b69fbbb8 Merge "[Audiosharing] Migrate feature from overlay to Settings" into main 2024-05-17 09:30:14 +00:00
Edgar Wang
b9653deead Merge "Update HomepagePreference layout" into main 2024-05-17 06:08:11 +00:00
Edgar Wang
74c81d8542 Update HomepagePreference layout
Bug: 340795546
Test: visual
Change-Id: I95373877721ebae152f5df1aff97a7b0581a88e9
2024-05-16 11:49:50 +00:00
Yiyi Shen
e5bd60a0cf [Audiosharing] Migrate feature from overlay to Settings
Bug: 340379827
Test: atest
Change-Id: I3a88ac1d2f575f3be1f26f617479bbfd25cf6a8e
2024-05-16 05:05:41 +00:00
Edgar Wang
a6a4480736 Fix SettingsHomepageActivityTest failed
Fixes: 340439758
Test: atest SettingsHomepageActivityTest
Change-Id: I8f6fbb91f92982abd3b1ebadff763270537b9c3e
2024-05-15 10:35:57 +00:00
Jason Chang
a547a145dc Remove redundant marginStart for FaceSettings button
To set button's marginStart to zero to align layout.

Flag: NONE

Bug: 331945001

Test: manual build and check UI visually in Fold/Unfold and rotate
state

Change-Id: I967d9ac1af963c6dcdac631a4fba9631a8d5662c
2024-05-14 09:41:30 +00:00
Joshua McCloskey
0336781be0 UDFPS Enrollment Refactor (4/N)
Accessibility + text/dpi change + rotation should be properly handled.
Debug repos were added to make UI developemnt for UDFPS much easier(not
requiring calls to fingerprint manager).

Change-Id: I89900cea0d9e953124781cdf308fb38858de5d16
2024-05-13 22:05:26 +00:00
Treehugger Robot
02e0dc41cf Merge "Apply lineBreakWordStyle and hyphenationFrequency in EditShortcutScreen" into main 2024-05-10 23:27:57 +00:00
Edgar Wang
f437bec1bc Merge "Homepage UX revamp" into main 2024-05-10 00:57:01 +00:00
Chun-Ku Lin
b9eb01643c Apply lineBreakWordStyle and hyphenationFrequency in EditShortcutScreen
Uses the same style as mentioned in b/217659992 and b/232992171

Note: This doesn't fix the long word issue in Thai. This is the best we
can get so far.

Bug: 335749219
Test: manual (Can still see the EditShortcutScreen with no crash)
Flag: EXEMPT resource only
Change-Id: I3c1634de4a33c7ab6a80163217ef1cc65585c584
2024-05-10 00:26:56 +00:00
Edgar Wang
d97b781251 Fix the touch area of the edit box is not large enough in Fingerprint unlock page
Bug: 315405247
Change-Id: Ic15f051e12ccc04575e5c0801104633d4d733dab
Test: manual
2024-05-09 18:51:36 +00:00
Edgar Wang
47400df7ae Homepage UX revamp
- unified Search and Suggestion behavior between regular phone and two
  pane
- don't adjust padding
- update new icon drawable
- support group homepage preference with round corner on phone
- Remove avator from homepage
- Adjust homepage preference order

Bug: 333989622
Bug: 334130370
Test: visual
Change-Id: I9880b52553f164745766c8b9d5c996585285e52a
2024-05-09 08:21:08 +00:00
Haijie Hong
ecaa88ccb0 Merge "Make device picker activity below status bar" into main 2024-05-09 05:14:18 +00:00
Haijie Hong
90e91d7aaf Make device picker activity below status bar
Test: manual test
Bug: 339191643
Change-Id: I448fea9d5e3694014d219f32f14ef52106b54194
2024-05-08 18:44:33 +08:00
mxyyiyi
03fdbbe504 Use material color res from settingslib for battery tips card
Settings Anomaly Card
[Before-Dark] 	https://screenshot.googleplex.com/5PZC6mbWjqunvuv
[Before-Light] 	https://screenshot.googleplex.com/7eoF6yLX6t3JeHz
[After-Dark]  	https://screenshot.googleplex.com/5j4mQFDXjkVcxHs
[After-Light] 	https://screenshot.googleplex.com/5ySzfzft9293GXb

App Anomaly Card
[Before-Dark] 	https://screenshot.googleplex.com/JKkcqCiAKxkPZds
[Before-Light] 	https://screenshot.googleplex.com/ASB4CnDhPjsQohH
[After-Dark]  	https://screenshot.googleplex.com/5y3LVvng54vndi9
[After-Light] 	https://screenshot.googleplex.com/NCJeuViCtDcNhiV

Bug: 339130556
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Change-Id: I29d68713c14068fd9961082a148dd02ad38289a6
2024-05-07 13:51:32 +08:00
Jason Chang
a538f4efdc Fix the text under the "Setup for limited vision or head motion"
is grayed out

Align the sub-title text color with main-title.

Flag: NONE

Bug: 336678451

Test: manually test with reproducible steps then check it visually:
1. Go to Settings > Security & privacy > Device unlock
> Fingerprint & Face Unlock > Face Unlock
2. Confirm your PIN/Pattern/Password
3. Tap on "Setup for limited vision or head motion"

Change-Id: Id6db60d1fc97833607e184bc2fa71b76f46983a4
2024-04-26 09:44:38 +00:00
Treehugger Robot
18f72bb46f Merge "The editview's inputytype adds textMultiLine" into main 2024-04-17 02:47:21 +00:00
songferngwang
976e6a80e9 The editview's inputytype adds textMultiLine
Bug: 323466710
Test: verify the UI

Change-Id: Ic66c25a06edb45a37dfca091bf23bdb3a02dcfbe
2024-04-16 09:34:46 +00:00
Joseph Vincent
db315e642b Merge changes I6387c999,I470e5c6e into main
* changes:
  Update illustrations in Private Space setup & settings
  Replace autoadvance screens with waiting screen in PS setup
2024-04-10 09:51:35 +00:00
josephpv
af800e55f4 Replace autoadvance screens with waiting screen in PS setup
This change replaces the auto advancing screens shown during private
space setup flow with a single loading screen.

Recording: b/332652637#comment3

Bug: 332652637
Test: Manual
Change-Id: I470e5c6ece16cfefd0734d3daadf1d8efe963f63
2024-04-09 21:13:37 +00:00
Chaohui Wang
8b36ebf0a1 Set Wi-Fi password typeface to monospace
Instead of input type, which turns this TextView into editable, which is
not expected.

Fix: 318621629
Test: manual - on Wi-Fi Share
Change-Id: Ie1ab0f3f3f12583fc0b0c6eea9880e24364660de
2024-04-09 17:20:41 +08:00
Joseph Vincent
0fee5fa0b0 Revert^2 "Add waiting screen before PS setup completion"
This reverts commit d2c91b587e.

Reason for revert: Landing the original cl as the test passes locally with changes and failed test looks to be flaky and not related to the change.

Failure is not seen in the ABTD test run results with this CL  b/331935387#comment10

Change-Id: I744e11a04b70e265c5dcfe5aa8db7237561f3a08
2024-04-03 16:36:21 +00:00
Joshua McCloskey
a811dd67bd UDFPS Enrollment refactor (2/N)
This commit is focused on UI. The guided enrollment, lottie, text
and progress bar should all be working according to the previous
experience.

Test: atest
Bug: 297082837
Change-Id: I9b414053f5eaf7b2bc164dacdddc96ed44fec6cb
2024-03-28 18:55:32 +00:00
Becca Hughes
7da4f9e527 Merge "Adjust left margin on button" into main 2024-03-27 19:44:33 +00:00
Joshua Mccloskey
72abca0a95 Merge "UDFPS Enrollment Refactor (1/N)" into main 2024-03-27 19:07:34 +00:00
Josh Hou
544fed5291 Merge "Aggregation checkbox and locale text" into main 2024-03-27 09:20:05 +00:00
Becca Hughes
63df5fd306 Adjust left margin on button
The left margin on the button is not quite
aligned with the text so this adjusts it so
it is aligned.

https://screenshot.googleplex.com/Bxjuc3LHCTw7TYD

Bug: 327491503
Change-Id: I16e9ddfa3b2b0648a4dc04a2bbfdf164d6c30a33
Test: flash bluejay
2024-03-26 20:55:07 +00:00
Marcus Ge
660defe7a6 Merge changes I60d2b23a,I7cb15a46 into main
* changes:
  [Accessibility] Color Contrast address talkback bugs
  [Accessibility] Color Contrast address UX bugs
2024-03-26 20:26:10 +00:00
marcusge
9ec6673b3f [Accessibility] Color Contrast address talkback bugs
Test: local raven device
Bug: 329352987
Bug: 329192396
Bug: 329187057
Flag: aconfig
com.android.settings.accessibility.enable_color_contrast_control

Change-Id: I60d2b23acb2e406db15f348ba7881577e55a8868
2024-03-26 19:08:42 +00:00
Joshua McCloskey
199d75b332 UDFPS Enrollment Refactor (1/N)
This CL creates a few necessary components that are needed to create the
UI

Test: adb shell device_config put biometrics_framework com.android.settings.flags.fingerprint_v2_enrollment true
Bug: 297082837

Change-Id: I17c4f65fdeac4ebf3c19ba69f5928787b5ace52e
2024-03-26 18:13:54 +00:00
Angela Wang
85f933f056 Fix button insufficient contrast ratio problem
Apply textColorSecondary as the tint color for the arrow icon to prevent
insufficient contrast ration problem under light theme.

Bug: 331139289
Test: manually check the UI
Change-Id: I010a6129cdd7bf11840421abc5f53156433b6708
2024-03-26 13:23:10 +00:00
Chaohui Wang
ecd71a6300 APN label for radio button
Fix: 330808298
Test: manual - with APNs
Change-Id: Ic5b8d7cb1369deda0ec5f89b621c972c97819664
2024-03-26 13:34:30 +08:00
Josh Hou
3c38a12347 Aggregation checkbox and locale text
Refer to other settings with the checkbox to read the checkbox and corresponding text together, such as "Erase SIMs" or "Show password" in WiFi settings.

Bug: 288223637
Bug: 317927064
Test: Perform some accessibility test like TalkBack and Select to Speak
Change-Id: I571fe3f2f8d7b6b4f4c7b5804d0217a2a2b97757
2024-03-26 03:19:19 +00:00
Angela Wang
53985e6307 Merge "Enable the hyphenation in pin confirm dialog" into main 2024-03-26 00:57:21 +00:00
marcusge
05f42b52da [Accessibility] Color Contrast address UX bugs
Reformatted xml files and added constraints to make sure texts do not go
out of bound.

Test: local raven device
Screenshot: attached on bug
Bug: 329176991, 329169251
Flag: aconfig
com.android.settings.accessibility.enable_color_contrast_control

Change-Id: I7cb15a46557f54833c77fe41928fb6e98d5ec519
2024-03-25 17:57:28 +00:00
Chaohui Wang
1ea5a786e2 Set Default APN radio button's size to 48dp
Which is the minimum tap size.

Also set ApnPreference not selectable, since itspPrimary target and
radio button could be selectable, but entire preference itself is not
selectable.

Fix: 330812055
Fix: 330290274
Test: manual - with APNs
Change-Id: I651642e8a275932be6b8bcb365198e5dc1ad92f8
2024-03-25 12:23:33 +00:00
Ze Li
ac55929205 [PairDevicePage] Add content description so that the loading icon will be announced.
Test: manual test
Bug: 318785556
Change-Id: I2f2c584c7e54a3603925a9def55e9bb976b2f36c
2024-03-22 17:38:10 +08:00
Angela Wang
dc50a50d6e Enable the hyphenation in pin confirm dialog
Bug: 328520865
Test: manually check the UI element
Change-Id: I8e4f08126f53e35aee5fd7a5ada9fcdb63a39bed
2024-03-22 09:35:05 +00:00