Commit Graph

10299 Commits

Author SHA1 Message Date
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
TreeHugger Robot
59b27c9f8d Merge "Update the show wallet settings description label." 2022-02-16 23:00:06 +00:00
Silin Huang
40af6d61fd Update the show wallet settings description label.
Bug: 219635505
Test: manual
Change-Id: I65704c196066df3b3a8bd348a81726c559bdae93
2022-02-16 12:19:08 -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
Lucas Silva
c0ff1c1ff8 Merge changes I49f4b5d6,I8eb5047d
* changes:
  Add accessibility annotations to dream settings.
  Update dream settings strings to match latest UX mocks
2022-02-16 15:15:18 +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
Wesley Wang
b254c62506 Merge "Use compact battery status string if available (1/3)" 2022-02-16 06:17:05 +00:00
Menghan Li
3e32ee9b55 Merge "Show different tooltips for QS features auto-added and non-auto-added" 2022-02-15 21:38:44 +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
039868e454 Update dream settings strings to match latest UX mocks
Bug: 213906361
Test: locally on device
Change-Id: I8eb5047d1aeb74c1e2da60d730e94ba732367846
2022-02-15 18:03:35 +00:00
Lucas Silva
1bce5eb511 Add default placeholder when a dream doesn't provide a preview image.
Bug: 213887094
Test: locally on device
Change-Id: Ie4b96eadb0889a5216cda1cfe1cf0cc17a2ad652
2022-02-15 17:34:42 +00:00
Lucas Silva
00f80d8cef Update default dream settings dimens for phones.
We will upscale the dimens in tablet overlay.

Bug: 217555053
Test: locally on device
Change-Id: I61c2810dc794636bd7d69d318547d101e5f161a0
2022-02-15 17:33:46 +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
TreeHugger Robot
382cebc187 Merge "Refine NFC settings UX" 2022-02-15 14:45:04 +00:00
Wesley Wang
1d649951f9 Use compact battery status string if available (1/3)
- Add a config to switch the battery status string logic

Bug: 219650786
Test: make SettingsRoboTests
Change-Id: I5939cdc2e4e90466539f342d6d2030c1de1a94c3
2022-02-15 18:50:04 +08:00
menghanli
01d02d3d8e Show different tooltips for QS features auto-added and non-auto-added
There are 2 different kinds of auto-added / non-auto-added subtext in QS tooltips for framework features. Show animation in the settings page for full flow for non-framework services.

Bug: 218968108
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityQuickSettingsTooltipWindowTest AccessibilityShortcutPreferenceFragmentTest
Change-Id: I462cfcece959df8b9d97fab8e28337bceca9e25e
2022-02-15 16:09:30 +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
Neil Fuller
9377681a5f Merge "Switch "UTC time" to "Unix epoch time"" 2022-02-14 12:33:52 +00:00
Menghan Li
093a24c3eb Merge "Polish humanize strings for magnification page" 2022-02-14 05:39:00 +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
cfc5554068 [Panlingual] Add device default language to suggested group
- Add default language preference
 - Polish unit test
 - Fix unsupported locale show on suggested group

Bug: 209728327
Test: local test
Test: atest pass

Change-Id: I69778cb8d69b21314c75689f0d61c25294c7f9d2
2022-02-14 11:30:30 +08:00
Menghan Li
d46e6e18b7 Merge "Polish humanize strings for color inversion page" 2022-02-14 03:28:10 +00:00
Peter_Liang
19631ec1b1 New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (19/n).
- Rename the strings related to "text and display" to "color and motion" to avoid misunderstanding.

Bug: 211503117
Test: manual test
Change-Id: Icdca5ee03fb95a8531406a0f6ab07799a9dfb17c
2022-02-14 11:06:22 +08:00
PETER LIANG
97382b3eda Merge "Polish and humanize the summary for the High Contrast Text." 2022-02-14 02:47:17 +00:00
menghanli
0a85c12fca Polish humanize strings for magnification page
- Add intro for purpose or behavior
- Update footer description on usage, availability, or limitations

Bug: 218409016
Test: Manual testing
Change-Id: I1259fc330caab304cc4ec22778e6a3e3ae13f269
2022-02-14 10:30:14 +08:00
Menghan Li
b63a356430 Merge "Polish humanize strings for extra dim page" 2022-02-14 02:11:27 +00:00
menghanli
27e442ded7 Polish humanize strings for color correction page
- Add intro for purpose or behavior
- Remove correction mode category title
- Reformat deuteranomaly, protanomaly, and tritanomaly title and summary

Bug: 218408547
Test: Manual testing
Change-Id: I0cca0c063ab15b4065c0e3a277181a8cf44a70ce
2022-02-14 10:00:30 +08:00
menghanli
4af8439e66 Polish humanize strings for extra dim page
- Add intro for purpose or behavior
- Update footer description on usage, availability, or limitations

Bug: 218408553
Test: Manual testing
Change-Id: I3951959263e30e7525a44950c38374366eaf69c7
2022-02-14 09:44:39 +08:00
menghanli
e1cc9e438b Polish humanize strings for color inversion page
- Add intro for purpose or behavior
- Update footer description on usage, availability, or limitations

Bug: 218408568
Test: Manual testing
Change-Id: Iceb35f2673ca5cd69093811a8ecc7c28579281f1
2022-02-14 09:41:22 +08:00
Menghan Li
2434138762 Merge "Polish humanize strings for Accessibility autoclick page" 2022-02-14 01:35:58 +00:00
menghanli
85420f3cab Polish humanize strings for Accessibility autoclick page
- Add intro for purpose or behavior
- Update footer description on usage, availability, or limitations
- Remove the divider below illustration
- Remove custom divider

Bug: 218409017
Test: Manual testing
Change-Id: I45ab1d06bf4f49ab48a820aedfc89eafc24b17fe
2022-02-14 09:33:04 +08:00
Menghan Li
fb85807046 Merge "Polish humanize strings for Accessibility timeout page" 2022-02-14 01:31:36 +00:00
menghanli
84771e9801 Polish humanize strings for Accessibility timeout page
- Add intro for purpose or behavior
- Update footer description on usage, availability, or limitations
- Remove the divider below illustration

Bug: 218408807
Test: Manual testing
Change-Id: Ibb19da2624c1d5cc8073df4fefb902c2c20a3d72
2022-02-14 09:27:27 +08:00
Peter_Liang
0f384398b4 Polish and humanize the summary for the High Contrast Text.
- Add new summary string.

Bug: 219163254
Test: manual test
Change-Id: I4902452b1c0f53e8e6a74b8529139a2d7c1cdeaf
2022-02-13 15:56:24 +08:00
Peter_Liang
61264d046d Polish and humanize the title for the entry of Text and Reading Options in SuW.
Bug: 219163254
Test: manual test
Change-Id: Ic908918a1b4978dd10e42e13c619bb8d0a697467
2022-02-12 17:38:41 +08:00
Peter_Liang
8f38c46c51 Polish and humanize the title for Text and Reading Options.
Bug: 219163254
Test: manual test
Change-Id: Iefa3ec8455f36338a0bf067b5ae2122afb80b64b
2022-02-12 17:09:56 +08:00
Menghan Li
d920ad507c Merge "Polish humanize strings for Caption preferences page" 2022-02-11 22:10:14 +00:00
Menghan Li
caeccebb5c Merge "Polish humanize strings for Accessibility button & gesture page" 2022-02-11 22:06:52 +00:00
menghanli
f6040e12bc Polish humanize strings for Caption preferences page
- Add intro for usage
- Update footer description on limitations
- Update the default caption size to medium
- Update the caption size and style dynamically

Bug: 218409087
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=CaptionAppearancePreferenceControllerTest

Change-Id: I6526250894cc6a3fd02e3d8c675280855b307a68
2022-02-11 23:02:57 +08:00
menghanli
a69d69e01c Polish humanize strings for Accessibility button & gesture page
Bug: 218409088
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=AccessibilityButtonFooterPreferenceControllerTest

Change-Id: I9fde58d0a438aae68f0c8457f894e6b06ef97f3b
2022-02-11 22:34:42 +08:00
PETER LIANG
f676ff2b74 Merge changes I502e52f6,Iabf58566,Ida773967,Ic6c48861,If9e5cc6e, ...
* changes:
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (15/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (14/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (13/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (12/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (11/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (10/n).
2022-02-11 13:42:55 +00:00
Neil Fuller
5f03fad2d3 Switch "UTC time" to "Unix epoch time"
This is more correct. Android devices, even under ideal conditions,
don't track UTC (which contains leap seconds and uses the SI definition
of a second) but use a clock based on Unix epoch time (no leap seconds,
but clocks may skip/stop or smear around leap seconds to ensure a fixed
number of second increments per calendar day when leap seconds are
applied to UTC).

Bug: 218802673
Test: Compile only
Change-Id: I4c5435bdb3bb124d4cb465a966bd43d58b640421
2022-02-11 11:40:08 +00:00
Menghan Li
78ba8d0bb4 Merge "Update Accessibility quick setting tooltip strings subtext" 2022-02-11 05:55:06 +00:00
Qi Cao
68d6c80a12 Merge "Made following changes to Settings:" 2022-02-10 22:52:53 +00:00
Peter_Liang
f71050b515 New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (13/n).
- Add the ResetPreference for controlling all preferences state in the text and reading options page.
1) Create a new interface ResetStateListener for the other preferences.

- Link-up between the reset, font size, and display size preferences.

Bug: 211503117
Test: make RunSettingsRoboTests ROBOTEST_FILTER=PreviewSizeSeekBarControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=TextReadingResetControllerTest
Change-Id: Ida773967834e32737b1daac885a2dd71189d32c8
2022-02-10 20:59:48 +08:00
Kaiqiang Wang
92827d0066 Merge "Add switch preference for Audio Description." 2022-02-10 07:17:49 +00:00