summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorDaniel Hsieh <pengjuhsieh@google.com>2021-12-08 15:18:37 +0000
committerDaniel Hsieh <pengjuhsieh@google.com>2021-12-13 16:39:50 +0000
commit21a62f3c8791dc2788f62f8a641c30929be8845f (patch)
tree926274c1df443166d3751acffcec66f0c0dc5df2 /core/java/android/inputmethodservice/InputMethodService.java
parent0ee1df684ee5c9c6c4d00b26a2c8acc895308b06 (diff)
Support following typing foucs in window mode [1/n].
There are 2 milestones in this feature. 1. Refactor the callbacks for Accessibility in WindowManagerInternal. 2. Implement this feature in such new architecture. This CL is for the 1st milestone. The goal of refactor: When the window manager invokes callbacks which are related to contextual changes affecting the screen magnification feature, it will be handle by the MagnificationController first now. Then, it will dispatch the events to the activated magnification controller such as FullScreenMagnificationController or WindowMagnificationManager. We use delegate design pattern to make MagnificationController as proxy. It will assign a specific delegate when the activated controller is changed. Then, it will dispatch the events from window manager to activated magnification controller. Therefore, the activated magnification controller will handle this event. For now, we introduce WindowManagerEventDispatcher in AccessibilityControllerInternalImpl to pass the callback events to MagnificationController. However, AccessibilityControllerInternalImpl would be refactored since it should have no nested class relation with AccessibilityController. Bug: 194668976 Test: atest FullScreenMagnificationControllerTest atest WindowMagnificationManagerTest atest MagnificationControllerTest atest CtsAccessibilityServiceTestCases Change-Id: Ic4d87c48a15b9179afeda48132635adc8e86107c
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions