summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/accessibility/MagnificationModePreferenceController.java
Commit message (Collapse)AuthorAgeFilesLines
* Move DialogEumn into AccessibilityDialogUtilsmenghanli2021-06-071-4/+4
| | | | | | Bug: 190022774 Test: Manual testing Change-Id: I391089b675b415c26bbacd028caf1d1ab617e707
* Move Magnification Mode Settings to the main pageryanlwlin2021-04-291-9/+28
| | | | | | | | | | | | | | | We move the mode settings because currently there is only one item in the settings page. To fully test all logic, we don't use fragament anymore in the controllerTest, and test the interaction between the controller and the fragment in the test of these two fragments. Bug: 182992338 Test: atest ToggleScreenMagnificationPreferenceFragmentTest atest MagnificationModePreferenceControllerTest atest MagnificationSettingsFragmentTest manually test Change-Id: Ia6b0ea4f116f3215407637d7aeaddb8d8196d8fb
* Extract the logic of MagnificationMode to the controllerryanlwlin2021-04-151-3/+243
| | | | | | | | | | | | | To move the preference to the upper layer, we extract all logics to its controller. We move all tests to the test files and add server tests to verify the behaviour of edit shortcut dialog. Bug: 182992338 Test: atest MagnificationModePreferenceControllerTest Change-Id: I34c4361e2e116a22c3e34bd35c8ac8cac752ab96
* Extract magnification capabilities from MagnificationSettingsFragment into a ↵jasonwshsu2020-12-301-2/+2
| | | | | | | | | | new class. * To increase single responsibility of MagnificationSettingsFragment Bug: 168567356 Test: atest MagnificationCapabilitiesTest Change-Id: Ic5e8a556858ac2b6ab9929b1bbdc373ce320c270
* Create settings for window magnification (2/n)menghanli2019-12-191-0/+41
Provide a setting for new Magnify area feature and joystick controller Bug: 146019459 Bug: 146473544 Test: make RunSettingsRoboTests ROBOTEST_FILTER=MagnificationModePreferenceControllerTest Test: make RunSettingsRoboTests ROBOTEST_FILTER=MagnificationWindowControlPreferenceControllerTest Test: make RunSettingsRoboTests2 Change-Id: Ia32fa073c59ad304e9ef9eb530ba37dd24c2f2f6