Add a setting that would not require authorization for device controls.
Fixes: 216102581
Test: manual
Change-Id: I1fd98a2fbc1cea44d0b2c3612dd1616a053af394
- 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
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
* changes:
Add keywords into Font Size, Display Size preferences.
New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (22/n).
* 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.
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
- Replace "Font size", "Display size" with "Text and Reading Options" in the Display Settings
Bug: 211503117
Test: manual test
Change-Id: I5d8027628dcf06d99274a6a7a781218d146519eb
* 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).
- 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
- 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
- Remove bold text, high contrast text, display size, and font size
preferences in the color and motion layout.
Bug: 211503117
Test: manual test
Change-Id: I0d12bb65871fafc8901d3d1993e9fa85014ed645
- Rename the strings related to "text and display" to "color and motion" to avoid misunderstanding.
Bug: 211503117
Test: manual test
Change-Id: Icdca5ee03fb95a8531406a0f6ab07799a9dfb17c
- 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
- Update the visibility of Text and Reading Options in the Accessibility Settings
Bug: 211503117
Test: manual test
Change-Id: Icacdc64bc41a47653a1cc13333ea17a9872dabf2
- Update the visibility of entries in the Vision Settings
1) Change the visibility Text and Reading Options preference as visible
2) Remove Font and Display size preferences
Bug: 211503117
Test: manual test
Change-Id: I9c12eaf4d35f98763c165e1d8ad232b378e044e7
- 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
* 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).
- Link-up between the ResetPreference and the HighTextContrastPreference.
Bug: 211503117
Test: atest HighTextContrastPreferenceControllerTest
Change-Id: I502e52f6a14243c19a707c91b0b5ab5dd163433a
- Link-up between the ResetPreference and the FontWeightAdjustmentPreference.
Bug: 211503117
Test: atest FontWeightAdjustmentPreferenceControllerTest
Change-Id: Iabf585660ff2c67f063198391bd68724190ba54d
- 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
- Link-up between the preview, font size, and display size preferences.
- Add the preview preference and entry.
Bug: 211503117
Test: make RunSettingsRoboTests ROBOTEST_FILTER=TextReadingPreviewControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=TextReadingPreviewPreferenceTest
Change-Id: Ic6c48861a0051670fd78b13dca5488711de30cb8
- Create the display size LabeledSeekBarPreference and add the entry
1) It's integrated with the system display density configurations.
2) Create the new DisplaySizeData component to store the configurations related to the display size features.
Bug: 211503117
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DisplaySizeDataTest
Change-Id: If9e5cc6e2ff2c4f530634e39eb3cddd9e275bc03
- Create the font size LabeledSeekBarPreference and add the entry
1) It's integrated with the system font scale configurations.
2) Create the new PreviewSizeSeekBarController component for controlling the LabeledSeekBarPreference of the display/font size.
3) Create the new PreviewSizeData component to store the configurations related to the display/font size features.
Bug: 211503117
Test: make RunSettingsRoboTests ROBOTEST_FILTER=FontSizeDataTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=PreviewSizeSeekBarControllerTest
Change-Id: I0c1cf6d0425c5c8b61cc8ed0c9fedadf7a65bd27
- Moved the Voice Input setting from Digital assistant app to Languages & input.
- Bundled Voice Input and Text-to-speech settings together under Speech
category.
Bug: 218609449
Test: refactoring CL. Existing unit tests still pass.
Change-Id: I3107a410ed35685f5f1081cbe448b105b5c79c24
Preview: https://screenshot.googleplex.com/AXMFpGPPGPPBzXG
Bug: 214634651i
Test: Local flash and test
Test: atest SettingsRoboTests:AudioDescriptionPreferenceControllerTest
Change-Id: Ice2e2bc8ec4e77aba0cd486f854254009b91e541