- 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