Commit Graph

5318 Commits

Author SHA1 Message Date
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
Zoey Chen
997cd29458 [Settings] Add a flag to control show new System language picker UI or not
Bug: 394542699
Test: manual
Test: atest SettingsRoboTests:com.android.settings.localepicker.LocaleListEditorTest
Flag: EXEMPT refactor
Change-Id: I694e92cb7f61d208c36cb4b40aa3182cd838d5bb
2025-02-13 01:38:12 +00:00
Riley Jones
30e63f6178 Left & Right buttons for Display size & text preview
Test: manually open page and verify buttons work
Bug: 386906497
Flag: EXEMPT small internal change dependant on xml
Change-Id: I49ecf2940be897725a0864cf898655837a3e2399
2025-02-11 23:45:08 +00:00
Andreea Costinas
2c916f11e2 Merge "Ensure certificate alias is always visible" into main 2025-02-10 23:43:16 -08:00
shaoweishen
449531c696 [Physical Keyboard] update mouse key images color
replace drawable color with tokenzied color

Bug:389665773
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: Ib24add0a12ab21d5e6c4b88e5f2ba4bb584f0c3f
2025-02-09 18:56:07 -08:00
Yuhan Yang
b968400c13 Merge "Add Autoclick cursor area size settings dialog" into main 2025-02-07 14:12:58 -08:00
Yuhan Yang
7630d396a6 Add Autoclick cursor area size settings dialog
Replace Autoclick sliderbar with an alert dialog
and radio group to match the new UI requirement.

Screenshot:
 - Click area column:
   go/screenshot-5AfdF7FGghsdiXk
 - Alert dialog:
   go/screenshot-4dgtojcc6lvjtyy

Bug: 390460480
Test: ToggleAutoclickCustomSeekbarControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: Ic79f8833e69dde8d8eb3e945e5acd551d2ee9ff5
2025-02-07 19:58:53 +00:00
Andreea Costinas
a185b43616 Ensure certificate alias is always visible
If the user credentials dialog displays multiple elements (e.g. if the
certificate is used by a wifi configuration), the content size exceedes
the available space.

Currently, the alias text view is the only element which declares a
`layout_weight`. The LinearLayout failes to distribute the space
correctly, pushing it beyond the bounds.

Bug: 287533409
Flag: EXEMPT bugfix
Test: manual
Change-Id: Ieff1b3011080dabf823c7689a3781c6e52b9791d
2025-02-07 13:46:57 +00:00
shaoweishen
538cc35aed [Physical Keyboard] Fix bugs for input keys dialog
set content description on custom radio button and seekbar.
fix typo

Bug: 374229004
Bug: 374229189
Bug: 374229597
Bug: 389973787
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: I3df4b1558c2bad73d9411a0160725d7a35590cc3
2025-02-06 02:21:06 -08:00
YK Hung
436cce3aaf Merge "[Expressive Battery] Update screen on time text preference style." into main 2025-02-06 01:07:40 -08:00
mxyyiyi
45ac3f280d [Expressive Battery] Update screen on time text preference style.
For expressive style:
- Update the enlarge font size
- Remove the background

Bug: 349652542
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: If85d2903eec6d1f7c3b58e71daef2409325ac83d
2025-02-06 16:00:10 +08:00
Chelsea Hao
88548e94cb Merge "Update audio sharing dialog text." into main 2025-02-05 23:18:14 -08:00
Treehugger Robot
60dd62bbc1 Merge "Fix crash due to over limited length." into main 2025-02-05 23:09:41 -08:00
chelseahao
e7ccbf436e Update audio sharing dialog text.
Also add a radius to the qr code image.

Test: atest
Bug: 381775542
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I6b06b02f63bc46ec20b7a9e0aa236f2547a5f612
2025-02-05 22:08:59 -08:00
tom hsu
a66f9dc362 Fix crash due to over limited length.
Flag: EXEMPT bug fix
Bug: b/388404115
Test: Manual test
Change-Id: I5c72c3c9ca9cb2e4058959abc5a0b4fdd60907bf
2025-02-05 18:17:41 -08:00
Shaowei Shen
fd57eb5bb3 Merge "[Physical Keybaord] Fix Mouse key image truncate" into main 2025-02-04 19:17:34 -08:00
shaoweishen
50ea6b06d5 [Physical Keybaord] Fix Mouse key image truncate
Seperate Images in Mouse Key page to apply scaling.

Bug: 389665773
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: I207c13fb99fa5c01c08c7ca92eae2d1d5781a830
2025-02-04 08:35:11 +00:00
Sunny Shao
ea9855d17b [E2E] Update the Settings Homepage for new E2E rule
This windowOptOutEdgeToEdgeEnforcement attribute doesn't support in 25Q2.
Modify Settings Homepage to apply new rule of the Edge-to-Edge.

Test: manual test
Bug: 333998128
Flag: EXEMPT bugfix
Change-Id: Idd3bbc94813d35044814115a7ece6f1787095f67
2025-02-02 08:30:22 +00:00
Matthew DeVore
dca3f94f12 Merge "Clip display blocks in the topology pane" into main 2025-01-31 12:28:11 -08:00
Matthew DeVore
015d944238 Make topology hint readable when block is under it
Using the topology pane background color, draw a background behind the
hint text view.

Test: manual
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Change-Id: I7fcee61d53460976b7d5eb10148d79bd2f9252ad
2025-01-29 22:13:59 +00:00
Matthew DeVore
d2ed0a84dd Clip display blocks in the topology pane
Prevent display blocks from overflowing outside the pane when dragged.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Test: drag a display block so that it would overflow outside the pane
Change-Id: I326cb28f06914f71535906a0ce3e8fc04a4cb4f3
2025-01-28 14:01:29 -06:00
Mill Chen
63b80cc9c9 Customize the color of seekbar
Bug: 317163103
Test: visual test
Flag: EXEMPT style update
Change-Id: Iacfec5f1ad4a65b2d0afb75b5b28016f89a21b43
2025-01-22 20:09:53 +00:00
Julia Reynolds
f9b8f5af38 Merge "Align history styling with Settings" into main 2025-01-16 06:02:24 -08:00
Treehugger Robot
eb927665a3 Merge "24Q4: Removal of a2dp_offload_codec_extensibility_settings" into main 2025-01-15 01:05:14 -08:00
Jakub Rotkiewicz
2c869d337c 24Q4: Removal of a2dp_offload_codec_extensibility_settings
Bug: 323319530
Fix: 323319530
Flag: EXEMPT removing com.android.settings.development.a2dp_offload_codec_extensibility_settings
Test: atest SettingsRoboTests
Change-Id: If9c710c0aaed7326b32dd2e7d5f3109de4047b97
2025-01-15 07:43:45 +00:00
Julia Reynolds
e5359b283e Align history styling with Settings
Fixes: 335717550
Bug: 349652992
Test: manual- view history in all states with new styling enabled and disabled
Flag: EXEMPT bug fix
Change-Id: I8ccf5d848691f954cb1b0a79c773ad76ab6c371a
2025-01-14 16:05:25 -08:00
Shaowei Shen
43138e6671 Merge "[Physical Keyboard] Fix bugs" into main 2025-01-12 22:50:56 -08:00
Julia Reynolds
41896428ea Layout improvements for notification pages
Changes for upcoming theming changes in Settings:
- replacing some margins with padding
- merging some (switch pref + info pref) combos into a single preference.
I flagged the one that was already launched, but changed the other directly
- added some section headers (unflagged)
- moved all app wide notification settings to a single section (unflagged)
- changed two plain text prefs into TopIntroPreference, the dedicated pref
type for that sort of UI
- fixed some UI issues with 'Show more categories' appearing too often
- removed a duplicate notifcation channel label (unflagged)
- replaced a button layout preference with ButtonPreference (unflagged)

Test: manual review with is_expressive_design_enabled on and off
Test: atest com.android.settings.notification.app
Flag: EXEMPT this feature is not using aconfig for flagging
Bug: 349652992
Change-Id: I2acd7b2eb9dbcf6929143bfde99cd67163f1f95d
2025-01-09 17:07:53 -05:00
shaoweishen
d05145553b [Physical Keyboard] Fix bugs
adjust properties of dialog to match requirements

Bug: 374035349
Bug: 374030364
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I4ee77a7ea249e2bd00ef5a05270c1ab3f257f547
2025-01-09 09:07:53 +00:00
Harry Cutts
cc30711d59 Merge "Touchpad: replace references to "trackpad" with "touchpad"" into main 2025-01-08 07:39:51 -08:00