diff options
| author | 2023-01-12 14:41:54 +0000 | |
|---|---|---|
| committer | 2023-01-31 06:57:11 +0000 | |
| commit | 9831851f89f8e752e69908e5c36b7e9d50316622 (patch) | |
| tree | f635a1d1471537ec138bf4ac4d4ee8bcf7a350f7 /libs/input/PointerController.cpp | |
| parent | 9a7f07710518ccd489d51f848eb50c53830cfdf6 (diff) | |
feat(#AlwaysOnMagnifier)!: Supports activated field in MagnificationConfig
After supporting magnification zooming to 100%, we can not identify whether
the controlling magnifier is activated or not when we get scale = 1.0f in
MagnificationConfig instance. Therefore, we add a new field activated to help
identify the magnifier activated state.
Besides, we adjust related classes to provide or handle with correct
activated state.
Bug: 146504199
Test: atest MagnificationProcessorTest
atest MagnificationControllerTest
Change-Id: I5969e576ff7c93aa72382e6d14571659f7017106
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions