Commit Graph

5347 Commits

Author SHA1 Message Date
Angela Wang
faebda0cda Merge "Add background to ambient volume control icons" into main 2025-03-13 12:49:10 -07:00
Treehugger Robot
91056fc841 Merge "Fixed accessibility issues in Wi-Fi password view for SUW" into main 2025-03-13 06:40:20 -07:00
Angela Wang
c47713d66f Add background to ambient volume control icons
Enhance the visibility and discoverability of ambient volume control
icons by adding backgrounds.

Flag: EXEMPT bugfix
Bug: 398962101
Test: manual check the result and screenshots attached on bug
Change-Id: Ice467191235df63f258bbca4e085fbf8a7f3c555
2025-03-13 10:01:02 +00:00
Weng Su
351e6a94e0 Fixed accessibility issues in Wi-Fi password view for SUW
- Keep the Save button enabled at all times

- Show "*required" or "The password is invalid" to remind the user

Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
  atest WifiConfigControllerTest
Change-Id: I442d2f958efd85f3c92309d0bed7cd3aa9ec9876
2025-03-13 15:40:12 +08:00
shaoweishen
b547394a56 [Physical Keyboard] Update seekbars
Update seekbars color and style.

Bug: 374030364
Bug: 399285693
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest
packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/

Change-Id: I251a7241b614114a5bb9d5090fcd22cb873ebc51
2025-03-12 00:50:15 -07:00
Ze Li
35b5d88170 Merge "[Bluetooth Pairing] Change allow phone book permission Switch to Material3 style." into main 2025-03-11 07:29:29 -07:00
Ze Li
6e0bbb6259 [Bluetooth Pairing] Change allow phone book permission Switch to Material3 style.
Test: manual test
Bug: 318785412
Flag: EXEMPT bug fix
Change-Id: I5546cb504a6db939a4ab62264d496adcf93aa0e2
2025-03-11 19:18:01 +08:00
Haijie Hong
2b47ca1608 Merge "Reimplement device details UI without ComposePreference" into main 2025-03-11 01:29:30 -07:00
Haijie Hong
02bd645834 Reimplement device details UI without ComposePreference
Replace ComposePreference with androidx.preference.Preference.

ANC toggle will still use Compose until SegmentedButtonPreference is ready.

BUG: 402036473
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I5114af8f2d679d695b3c5ef4d7be2874245c435e
2025-03-11 14:51:30 +08:00
Weng Su
e82b0b2eea Update the required or optional styles of EditText in VPN settings
- Follow the Required text indicator in the Google Material 3 guidelines

Bug: 401956268
Flag: EXEMPT refactor
Test: Manual testing
Change-Id: Ifeb1b882b34151ebef18edc32e7f2a3c116921c2
2025-03-10 15:32:42 +08:00
Treehugger Robot
17151798b3 Merge "Cursor colour Settings VisD update" into main 2025-03-07 08:29:18 -08:00
yyalan
3e62540560 Cursor colour Settings VisD update
Fixes: 400303794
Flag: NONE bug fix
Test: screenshot in comment
Change-Id: Ic9ddce25627c021f46de301af5e2fd22a74719e0
2025-03-07 15:12:41 +00:00
Weng Su
de56c24ac0 Fixed the color issue of Wi-Fi password EditText
- Use Material3 theme preset colors

Bug: 397878305
Flag: EXEMPT resource file only update
Test: Manual testing
Change-Id: I196db3c50a6f5edd8556073e12f4d3f6790f3bff
2025-03-07 16:01:47 +08:00
Treehugger Robot
dde80ef88b Merge "Fixed accessibility issues in VPN Settings" into main 2025-03-06 01:35:45 -08:00
Weng Su
3cdc1a58a7 Fixed accessibility issues in VPN Settings
- Show "(required)" and errors in required fields to alert users

- Show "(optional)" below each optional field

Bug: 386025633
Flag: EXEMPT bugfix
Test: Manual testing
  atest WifiConfigController2Test
Change-Id: Iefbd68e6658af7b073db219b3e04e94805092759
2025-03-06 16:19:47 +08:00
Yongshun Liu
e5e3803470 Merge "a11y: Add cursor following mode dialog" into main 2025-03-05 18:04:17 -08:00
Treehugger Robot
170531768d Merge "Fixed EditText Talkback issue in VPN Settings" into main 2025-03-04 17:24:50 -08:00
Yongshun Liu
20d1a7d1b6 a11y: Add cursor following mode dialog
This a pure UI change that adds a new magnification cursor following
mode dialog behind a flag. The framework support will be added
separately later.

There are 3 modes as the following:
  - continuous mode
  - center mode
  - edge mode

It also renames magnification mode dialog xml file for general purpose
within accessibility.

NO_IFTTT=linter not working

Bug: b/388335935
Flag: com.android.settings.accessibility.enable_magnification_cursor_following_dialog
Test: SettingsRoboTests:com.android.settings.accessibility.ToggleScreenMagnificationPreferenceFragmentTest &&
      SettingsRoboTests:com.android.settings.accessibility.MagnificationModePreferenceControllerTest &&
      SettingsRoboTests:com.android.settings.accessibility.MagnificationCursorFollowingModePreferenceControllerTest
Change-Id: If2672186faf7443cc210d79630b1ea4f3808d7e4
2025-03-04 23:47:56 +00:00
Weng Su
a361eca799 Fixed EditText Talkback issue in VPN Settings
- Use Material3 TextInputLay & TextInputEditText to replace TextView & EditText

Bug: 386014810
Flag: EXEMPT resource file only update
Test: Manual testing
Change-Id: I19ea8f64569173367c84e39fe9e892ecebdf2e2a
2025-03-05 03:32:46 +08:00
Treehugger Robot
6288eb50da Merge "[Expressive design] Update homepage preference layout" into main 2025-03-03 02:21:05 -08:00
Riley Jones
e8a5eae1dd Merge "Left & right buttons for display size & text preview" into main 2025-02-27 11:13:55 -08:00
Treehugger Robot
577f341e0e Merge "[3F Tap] Radio Group VisD updates" into main 2025-02-26 08:46:44 -08:00
Jason Chiu
4604734d54 [Expressive design] Update homepage preference layout
Bug: 396944193
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I2dd3d984a3181d2fc49e56a26cd57332ac00bb33
2025-02-26 22:28:46 +08:00
Riley Jones
998929d688 Left & right buttons for display size & text preview
Test: manually open page and verify buttons work. Make sure to check the buttons during setup wizard.
Bug: 386906497
Flag: EXEMPT xml-dependent change
Change-Id: I488d74591d698ad918fd864cf39b2f3133abd463
2025-02-25 20:21:29 +00:00
Haijie Hong
5e79d18636 Merge "Add Nearby share entrypoint in DevicePicker" into main 2025-02-23 23:30:32 -08:00
Shaowei Shen
49859abb4b Merge "[Physical Keyboard] Update Input Setting Dialog" into main 2025-02-22 02:36:32 -08:00
yyalan
3307af4985 [3F Tap] Radio Group VisD updates
Height and font updates to align with mock

Fixes: 389062514
Flag: NONE bug fix
Test: Manual, Figma in comment
Change-Id: I60691611717f50c22789b70135e2fc3394c1dc0f
2025-02-21 16:35:54 +00:00
Haijie Hong
a9e67c0327 Add Nearby share entrypoint in DevicePicker
Bug: 381799866
Test: local build
Flag: com.android.settings.flags.enable_nearby_share_entrypoint
Change-Id: Ied79b9eebe7eaf669e45922787c5b01e504822d8
2025-02-21 17:24:10 +08:00
shaoweishen
4da457f8a9 [Physical Keyboard] Update Input Setting Dialog
1. update button style to use custom one
2. use scrollview so it won't be truncated in shorter screen

Bug:389973784
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest
packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/

Change-Id: I57765e88751b6090606d56bbe2335813ef7fd2fc
2025-02-21 07:10:40 +00:00
Riley Jones
e6b7908366 Merge "Revert "Left & Right buttons for Display size & text preview"" into main 2025-02-20 12:38:24 -08:00
Daniel Norman
b1691756e2 Revert "Left & Right buttons for Display size & text preview"
This reverts commit 30e63f6178.

Reason for revert: Can cause crash for some users?

Change-Id: I4b4e71157b668bbf4320a610ad14ddd10f2eade3
2025-02-20 11:26:35 -08:00
Treehugger Robot
22e2cd594e Merge "Fixed accessibility issues in Wi-Fi SSID view" into main 2025-02-18 22:38:53 -08:00
Weng Su
d44941bd00 Fixed accessibility issues in Wi-Fi SSID view
- Keep the Save button enabled at all times

- Show "Enter the SSID" to remind the user

Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
  atest SettingsUnitTests:AddNetworkFragmentTest
  atest WifiConfigController2Test
Change-Id: I6cc6b197864511ee2c1c92affc67698b1761f11d
2025-02-19 13:22:26 +08:00
Shaowei Shen
5703095c5c Merge "[Physical Keyboard] update color of Dialog" into main 2025-02-17 21:27:23 -08:00
shaoweishen
5daef3cfee [Physical Keyboard] update color of Dialog
1. update color of slider in dialog to increase contrast
2. not showing device name in Mouse key page if there's only one device
   connected
Bug: 374030364
Bug: 377464791
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest
packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/

Change-Id: I94d7859ba1dfdad7fdca2ee750a5afeb881756f4
2025-02-18 03:47:41 +00:00
Shaowei Shen
f9cf2b0aa9 Merge "[Physical Keyboard] update mouse key images color" into main 2025-02-17 19:22:27 -08:00
Garvita Jain
ba7233ad09 Merge "[Expressive Design] Migrate Storage settings pages" into main 2025-02-17 03:32:52 -08:00
Matthew DeVore
ce85d2ea04 Merge "Show topology pane detached from mirror toggle" into main 2025-02-14 13:50:21 -08:00
Matthew DeVore
e3dc23f767 Show topology pane detached from mirror toggle
Remove the extra blue border from the topology pane and give the toggle
below it its own rounded corners.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: screenshots
Test: verify display blocks are still clipped to the topology holder view
Bug: b/396116157
Change-Id: I3c0f826db24e5c599c6b51f71d099976fb04cbf0
2025-02-14 13:52:28 -06:00
Treehugger Robot
0a02f71b2b Merge "Styling seekbar color for Accessibility" into main 2025-02-14 11:46:01 -08:00
Mill Chen
8485f0e8f2 Styling seekbar color for Accessibility
Bug: 317163103
Test: visual test
Flag: EXEMPT style update
Change-Id: I5fc685d8bf5f7e67f6f1876db2f8885e5f2151c7
2025-02-14 18:38:50 +00:00
Daniel Norman
afb62eba9c Merge "Left & Right buttons for Display size & text preview" into main 2025-02-13 12:53:05 -08:00
Garvita Jain
ff5b7ae421 [Expressive Design] Migrate Storage settings pages
This change includes -
* Using SettingsLib.CardPreferenceWidget in storage dashboard
* Using material theme color for progress bar

Test: manual
BUG: 349670985
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: Ib86ec9d1713316dd3dd3067c2cce87c89e15d9e0
2025-02-13 10:17:35 +00:00
Xinyi Mao
a000daad53 Merge changes from topic "improve_battery_usage" into main
* changes:
  [Expressive Battery] Implement the expressive style for anomaly hint chip
  [Expressive Battery] Refactor pref with anomaly hint.
2025-02-13 00:32:59 -08:00
Treehugger Robot
29a46cef81 Merge "Customize the color of seekbar" into main 2025-02-13 00:26:03 -08:00
Zoey Chen
23885c6351 Merge "[Settings] Add a flag to control show new System language picker UI or not" into main 2025-02-12 22:31:27 -08:00
mxyyiyi
4f9e8cb751 [Expressive Battery] Implement the expressive style for anomaly hint chip
For expressive style:
- Update the padding start & end of pref with anomaly hint
- Add the new background res to update anomaly hint style to outlined
- Reduce the vertical space between pref text and anomaly hint.

Bug: 349652542
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: Iec9240d2edba5042c5a1f740b662db75bea41d0e
2025-02-13 13:18:23 +08:00
mxyyiyi
a2bdafaf5e [Expressive Battery] Refactor pref with anomaly hint.
- WarningFramePreference & warning_frame_preference.xml is a battery customized layout which looks like a standard Preference layout with an optional app icon & warning chip.
- PowerGaugePreference extends the WarningFramePreference to display the app Preference with optional warning chip in Battery > Battery Usage.
- PowerUsageTimePreference extends the WarningFramePreference to display the usage time with optional warning chip in Battery > Battery Usage > App battery usage.

Bug: 349652542
Test: atest BatteryUsageBreakdownControllerTest PowerGaugePreferenceTest PowerUsageTimeControllerTest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I5d22703ccc487c54a2bbbc1d9737b92a2de54ba5
2025-02-13 13:16:10 +08:00
Treehugger Robot
793a6802ac Merge "Fix accessibility issues in Private DNS Settings" into main 2025-02-12 21:08:22 -08:00
Weng Su
b3938a0244 Fix accessibility issues in Private DNS Settings
- Keep the Save button enabled at all times

- Show error in the Hostname view to remind the user
  - "The field is required" error
  - "The hostname you typed isn't valid" error

Bug: 386323822
Flag: EXEMPT bugfix
Test: Manual testing
atest -c PrivateDnsModeDialogPreferenceTest \
         PrivateDnsPreferenceControllerTest

Change-Id: I63973bd5001b838d7f27827e6a6d4ac96ac78ca9
2025-02-13 12:05:25 +08:00