diff options
| author | 2023-03-14 12:58:13 +0000 | |
|---|---|---|
| committer | 2023-03-24 07:11:27 +0000 | |
| commit | 2abf4feda8436229ad12743889234ba34e38e1ce (patch) | |
| tree | c2d7c2feb7ad1f6573bcb35b80b8215bce86ebe7 /api/api_test.go | |
| parent | 672511cf419561bffc3a56197ddf49c75c867648 (diff) | |
feat(#MagSettingsPanel)!: support WindowMagnificationSettings for fullscreen magnifier
We adjust the MagnificationModeSwitch onSwitch callback to onClick. When tapping on MagnificationModeSwitch, we changed to open WindowMagnificationSettings. Originally it would just transit to window mode directly.
According to the adjustment, we can open settings panel for fullscreen mode. We can still transit to window mode by clicking the panel size buttons. Also, we can directly change the fullscreen magnifier scale with the panel scale seek bar.
Bug: 271127581
Test: manually
atest MagnificationModeSwitchTest
atest ModeSwitchesControllerTest
atest WindowMagnificationTest
atest WindowMagnificationSettingsTest
atest MagnificationControllerTest
Change-Id: Ibd1f914f5ba08939280be3cf9c33554ea4d520ca
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions