diff options
| author | Daniel Hsieh <pengjuhsieh@google.com> | 2021-11-23 07:07:28 +0000 |
|---|---|---|
| committer | Daniel Hsieh <pengjuhsieh@google.com> | 2021-11-26 09:26:04 +0000 |
| commit | 6618b7f58af4252a5ae1965e775abd6d4f7ff100 (patch) | |
| tree | 4cbd73ebb048376acfc29980bd995ad264b4d23b /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 7918a89b24c6ee711e6f3a1b6d58c8babf182034 (diff) | |
Support triple-tap and hold for window magnification.
1. Detect triple-tap and hold gesture.
2. Magnify the content at a user's tap location.
3. Offset the frame to the top-left position about a half of frame size
4. The definition and the implementation of
WindowMagnificationController's getCenterX and getCenterY are different
due to these patches. We need to correct them. (ref: b/207812394)
Bug: 202465806
Test: atest IWindowMagnificationConnectionTest
atest MagnificationControllerTest
atest WindowMagnificationAnimationControllerTest (@Ignore)
atest WindowMagnificationConnectionWrapperTest
atest WindowMagnificationControllerTest
atest WindowMagnificationGestureHandlerTest
atest WindowMagnificationManagerTest
Change-Id: I59bf8a3e35e42c963de1698bec915a4a590e5c5f
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
