diff options
| author | mincheli <mincheli@google.com> | 2021-12-15 00:50:31 +0800 |
|---|---|---|
| committer | mincheli <mincheli@google.com> | 2022-01-03 17:14:40 +0800 |
| commit | 91443b10f76957eddfba32f6566678e0c65d21bd (patch) | |
| tree | dc4b32d567365e66037718a5323f4d27c9dad762 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | a75f5a9aed511e6551c624afb0b799f9964e7ce8 (diff) | |
Adds new magnificationController API: getCurrentMagnificationRegion, resetCurrentMagnification
See go/b200769372 - the legacy public methods
The legacy magnification controller methods of a11y service,
getMagnificationRegion(),
reset(),
will keep the behavior before that control
only full-screen magnification.
To make the a11y service able to control the actiavted
magnifier on the display, the service should use the
new public APIs,
1. getCurrentMagnificationRegion(),
2. resetCurrentMagnification(),
instead of the legacy APIs.
Bug: 210069654
Test: atest AccessibilityMagnificationTest,
atest MagnificationProcessorTest,
atest AbstractAccessibilityServiceConnectionTest,
Change-Id: I76bfee43cbb76a9aeec33574a8db18430903e08c
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
