Commit Graph

5295 Commits

Author SHA1 Message Date
Alan Huang
f1ecb4fb48 Add setting page for the Spatial audio
The Spatial audio settings page control the state for the phone speaker
and the wired headphones

Test: make RunSettingsRoboTests

Bug: 220811398
Change-Id: I49e3fab48186d09357a8481652bdccb4aa5d044a
2022-03-08 02:06:09 +00:00
Stanley Wang
9fe433e219 Merge "Fix the problem that the autofill could be searched." into tm-dev am: 96d82e3d05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17043948

Change-Id: I164e93b8d1db1ce5032ac83fb6ff6ea59bf9c3dd
2022-03-07 06:28:28 +00:00
Stanley Wang
96d82e3d05 Merge "Fix the problem that the autofill could be searched." into tm-dev 2022-03-07 06:11:52 +00:00
PETER LIANG
7e8bb4619b Merge "Move the "Dark theme" preference into the "Color and Motion" page." into tm-dev am: a92e6d8987
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17050402

Change-Id: I15c8fc71a54898a0ee8207f910d24fa088df605a
2022-03-06 16:46:47 +00:00
PETER LIANG
a92e6d8987 Merge "Move the "Dark theme" preference into the "Color and Motion" page." into tm-dev 2022-03-06 16:23:08 +00:00
Taran Singh
2c52b9d3de Merge "Introduce developer option for Stylus handwriting" into tm-dev am: a10dc5280d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16972176

Change-Id: I7ee37918aa8ae20fd7ba5520a522b569e0f43d2c
2022-03-04 18:32:17 +00:00
Taran Singh
a10dc5280d Merge "Introduce developer option for Stylus handwriting" into tm-dev 2022-03-04 18:21:20 +00:00
Amy Hsu
27ad4dcf23 Merge "Add ScreenResolutionController to Settings app" into tm-dev 2022-03-04 01:08:00 +00:00
Menghan Li
bdacad3a52 Merge "Polish humanize strings for one-handed mode page" into tm-dev am: c5e6cfdc17
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16932279

Change-Id: If29016634c4bc0169a92c03db5a21c334185b42f
2022-03-03 22:16:41 +00:00
Menghan Li
c5e6cfdc17 Merge "Polish humanize strings for one-handed mode page" into tm-dev 2022-03-03 21:25:02 +00:00
Ricky Wai
2c01ba574b Merge "Apply restricted settings to notification access." 2022-03-03 17:47:02 +00:00
PETER LIANG
5d210e13b6 Merge "Polish and humanize the summaries for "Remove animations" and "Large mouse pointer"." into tm-dev am: eb0a69cfcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17050387

Change-Id: Ieeeeba6e07bd1641ec6cb0a05bf6fcb31e6b2fb1
2022-03-03 15:47:50 +00:00
PETER LIANG
eb0a69cfcc Merge "Polish and humanize the summaries for "Remove animations" and "Large mouse pointer"." into tm-dev 2022-03-03 15:25:44 +00:00
Ricky Wai
a137158f2c Apply restricted settings to notification access.
Bug: 202130031
Test: Able to boot without error
Test: When app is installed by PackageInstaller app, notification
access is being restricted. The restriction is being removed after
turing it restricted settings off for that app.

Change-Id: I9c1fbc80dd2ca4cc483a60dfa9d043aaa99cde87
2022-03-03 11:20:21 +00:00
Amy Hsu
0dea418d57 Add ScreenResolutionController to Settings app
Settings for resolution switch

Bug: b/199559703
Test: Check resolution switch UI in Settings app
      atest SettingsUnitTests:ScreenResolutionControllerTest
      atest SettingsUnitTests:ScreenResolutionFragmentTest

Change-Id: I46d3be3b82ca512b8672efaa489df2cdaab26d6d
Merged-In: I46d3be3b82ca512b8672efaa489df2cdaab26d6d
2022-03-03 07:23:10 +00:00
Amy Hsu
7399a1f0f5 Merge "Add ScreenResolutionController to Settings app" 2022-03-03 07:01:40 +00:00
Peter_Liang
566ba7c3c3 Move the "Dark theme" preference into the "Color and Motion" page.
Bug: 221168615
Test: manual test
Change-Id: Ia2d88c0ee03fed97843fef39c92fe22367c67e71
2022-03-03 11:17:34 +08:00
Amy Hsu
b7b6ed91cf Add ScreenResolutionController to Settings app
Settings for resolution switch

Bug: b/199559703
Test: Check resolution switch UI in Settings app
      atest SettingsUnitTests:ScreenResolutionControllerTest
      atest SettingsUnitTests:ScreenResolutionFragmentTest

Change-Id: I46d3be3b82ca512b8672efaa489df2cdaab26d6d
2022-03-03 01:56:00 +08:00
Beverly Tai
690bce0c9a Merge "Don't show the "When to show" PreferenceCategory" into tm-dev am: b2baaebb8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17045663

Change-Id: I6f00e55fadccf302a3a9893ed6bf5e3a12b62bea
2022-03-02 13:38:32 +00:00
Peter_Liang
51f1225954 Polish and humanize the summaries for "Remove animations" and "Large mouse pointer".
Fix: 221167118
Test: manual test
Change-Id: If5ba34ddcfed4d2b7b9166381f928f5943a5d22e
2022-03-02 08:25:14 +00:00
Stanley Wang
e11d9e9ef3 Fix the problem that the autofill could be searched.
PreferenceCategory will not be indexed by default. The auto fill
category use the AutofillPreferenceCategory class in the xml so
it will be indexed.
The solution is to create a controller to replace AutofillPreferenceCategory.

Fix: 185914894
Test: manual adb test to see the log
Change-Id: Id0e3bcc33a3132434a6bd1fe91e1c6915116d06d
2022-03-02 14:02:56 +08:00
Beverly
81da0689ec Don't show the "When to show" PreferenceCategory
If the ambient display isn't available. This includes
AOD wakeup gestures.

Test: manual
Fixes: 195413949
Change-Id: Ief1876e231288274a35db2fb185ac92864450d48
2022-03-01 14:50:07 +00:00
Evan Laird
38770319fd Merge "Add setting for showing the vibrate icon in status bar" into tm-dev am: 969625bc8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986239

Change-Id: I6b8767252a2de9a3b07bac16ea1b18379fd01eb4
2022-02-28 15:35:39 +00:00
Evan Laird
969625bc8e Merge "Add setting for showing the vibrate icon in status bar" into tm-dev 2022-02-28 15:10:23 +00:00
Taran Singh
5a30a80824 Introduce developer option for Stylus handwriting
Introduce a new developer option for Input Method:
Stylus handwriting: when this setting is enabled, currently selected
input method receives stylus events after focus on editor.

Bug: 219777744
Test: atest StylusHandwritingPreferenceControllerTest
Change-Id: Ia6335df60aae56973ed54bec1a243ea1de3aa6ad
2022-02-25 17:26:26 +00:00
menghanli
bc67cf5102 Polish humanize strings for one-handed mode page
- Add an intro for purpose or behavior
- Update footer description on usage, availability, or limitations

Bug: 218408813
Test: manual testing
Change-Id: I1712a3dcc08bf71ca8caf4097a23d465156bec22
2022-02-24 16:44:32 +08:00
Aaron Liu
e0f4e795ce Home Controls: Add Device Controls settings
Add a setting that would not require authorization for device controls.

Fixes: 216102581
Test: manual
Change-Id: I1fd98a2fbc1cea44d0b2c3612dd1616a053af394
2022-02-23 21:13:06 +00:00
Aaron Liu
aace0391a0 Merge "Home Controls: Add Device Controls settings" 2022-02-23 21:12:26 +00:00
Christian Göllner
918ff26ece Merge "Add support for device state based auto-rotation preferences in Settings." into tm-dev am: 1a160636b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16967923

Change-Id: Ic82fbebfa269be55037553ae911198794f9dd81a
2022-02-23 18:55:33 +00:00
Aaron Liu
78cae7f28e Home Controls: Add Device Controls settings
Add a setting that would not require authorization for device controls.

Fixes: 216102581
Test: manual
Change-Id: I1fd98a2fbc1cea44d0b2c3612dd1616a053af394
2022-02-23 18:18:54 +00:00
Evan Laird
4871b2cf6a Add setting for showing the vibrate icon in status bar
Test: manual
Bug: 220144337
Change-Id: I2d389d71dd9402353b058039464495a1d33ef0e9
2022-02-23 15:42:57 +00:00
Christian Göllner
ff9065ac95 Add support for device state based auto-rotation preferences in Settings.
- Creates new preferences that are shown when device-state rotation
  is supported.
- Hides standard preferences when device-state rotation is supported.
- Controllers/Preferences for individual folded/unfolded rotation
  settings are created and added programatically based on the settable
  device states available.

Test: Manually + Unit tests
Bug: 195757480
Change-Id: I16f50fd3664756b363c7eb79e5c35eb0d3b6df17
2022-02-21 17:18:04 +01:00
Stanley Wang
80bcb82fde Merge "Update the illustration of Double-tap to check phone page." 2022-02-18 03:09:10 +00:00
TreeHugger Robot
906221071d Merge "Implement Spatial Audio and Head Tracking option in bluetooth settings" 2022-02-18 01:35:08 +00:00
Hugh Chen
bc2f30ca67 Implement Spatial Audio and Head Tracking option in bluetooth settings
Implemented the Spatial Audio and Head Tracking options, make these
features could be controlled in bluetooth detail settings.

Bug: 218960300
Test: make -j64 RunSettingsRoboTests
Change-Id: I880cc7a10fc5e2fa5d1052fff5a7b589a4ff60df
2022-02-17 09:26:06 +00:00
Stanley Wang
38d48cfba3 Update the illustration of Double-tap to check phone page.
Fix: 220076709
Test: manual test and see the UI.
Change-Id: Ib1d106ab3443ab9287929a158cbf67fd9a5a5f58
2022-02-17 16:40:38 +08:00
Christian Göllner
3c65556ceb Merge "Revert "Add support for device state based auto-rotation prefere..."" 2022-02-16 17:27:53 +00:00
Christian Göllner
a663f10c4e Revert "Add support for device state based auto-rotation prefere..."
Revert submission 16745827-device-state-auto-rotation-preferences-aops

Reason for revert: Checking if reason for test failures
Reverted Changes:
I77ed93f04:Add support for device state based auto-rotation p...
I5b2791f54:Add support for device state based auto-rotation p...
If254220ca:Add support for device state based auto-rotation p...
If254220ca:Add support for device state based auto-rotation p...

Fix: 219652963
Change-Id: Id95d5d7bb18a28403a6d3199945044e6617e0772
2022-02-16 13:31:16 +00:00
PETER LIANG
f92f3c359f Merge changes from topic "a11y_text_reading_22"
* changes:
  Add keywords into Font Size, Display Size preferences.
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (22/n).
2022-02-16 00:55:08 +00:00
Peter_Liang
74468a94cc Add keywords into Font Size, Display Size preferences.
Bug: 211503117
Test: manual test
Change-Id: I52de77a3af689a336bf8f40c668711a48b9bbc42
2022-02-16 00:54:25 +00:00
Lucas Silva
5e1fc317aa Merge changes from topics "dreams-phone", "dreams-preview-placeholder"
* changes:
  Add default placeholder when a dream doesn't provide a preview image.
  Update default dream settings dimens for phones.
  Update dream settings UX to match latest mocks.
2022-02-15 20:00:13 +00:00
Lucas Silva
75c44cd02b Update dream settings UX to match latest mocks.
Updates:
- removed individual complication toggle
- added single toggle which enables/disables all supported complications
- updated colors to match mocks
- updated grid padding in order to line up with existing content. Note:
  this required more complex padding logic, using an item decorator to
  apply the padding only to inner grid elements.
- updated preview image, removing view nesting to make better use of
  ConstraintLayout
- Updated some strings to match mocks

Test: locally on device
Bug: 217555053
Change-Id: I573e5f4ed807cbe2ae9e00f183d402e6e3339590
2022-02-15 17:32:01 +00:00
Peter_Liang
5c106bab04 New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (22/n).
- Replace "Font size", "Display size" with "Text and Reading Options" in the Display Settings

Bug: 211503117
Test: manual test
Change-Id: I5d8027628dcf06d99274a6a7a781218d146519eb
2022-02-15 15:45:45 +08:00
PETER LIANG
c915910f53 Merge changes from topics "a11y_text_reading_18", "a11y_text_reading_19"
* changes:
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (20/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (19/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (18/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (17/n).
2022-02-15 05:45:54 +00:00
TreeHugger Robot
afdd629808 Merge "Add support for device state based auto-rotation preferences in Settings." 2022-02-15 02:55:55 +00:00
Christian Göllner
78a0e714c4 Add support for device state based auto-rotation preferences in Settings.
- Creates new preferences that are shown when device-state rotation
  is supported.
- Hides standard preferences when device-state rotation is supported.
- Controllers/Preferences for individual folded/unfolded rotation
  settings are created and added programatically based on the settable
  device states available.

Test: Manually + Unit tests
Bug: 195757480
Change-Id: If254220ca3018bc6ec1c4e3947375733f6816f92
2022-02-14 18:51:54 +01:00
Tom Hsu
9513d51ad9 Merge "[Panlingual] Remove Icon of system language" 2022-02-14 06:23:59 +00:00
Menghan Li
df13fb1d1e Merge "Polish humanize strings for color correction page" 2022-02-14 05:33:55 +00:00
TreeHugger Robot
582e270281 Merge "[Panlingual] Add device default language to suggested group" 2022-02-14 04:58:35 +00:00
tom hsu
4ca57b3c4e [Panlingual] Remove Icon of system language
Bug: 219384592
Test: local
Change-Id: Ib28461752150a66ab0edd0a3c2d631a6d600075c
2022-02-14 12:39:19 +08:00