diff options
| author | 2024-01-22 13:45:48 +0000 | |
|---|---|---|
| committer | 2024-06-04 10:14:59 +0000 | |
| commit | d87895b961fb803ff7b8d663cd6f86a60d3bd2bd (patch) | |
| tree | 48d44e317d0c5e7a6095707476ef69cebe85febb /libs/androidfw/AssetManager.cpp | |
| parent | 9ec62d0b50fb29b6c823cb9ccfbb96879939eec6 (diff) | |
Refactor show/hide IME process
Changing the process of how the IME is shown or hidden:
- Showing or hiding the IME is driven through its requested visibility (InsetsControlTarget) via InsetsController/DisplayImeController and thus sent to the server (InsetsStateController).
- When hiding the IME, the requestedVisibleTypes are sent after the end of the animation.
- Introduced new OnImeRequestedChangedListener that is called via WindowManagerService that is called to start the show/hide IME flow in IMMS.
- When the IME becomes (un)available, its leash is (re)set.
- Show/Hide requests from InputMethodManager are redirected through InsetsController.
Test: atest CtsInputMethodTestCases
Flag: android.view.inputmethod.Flags.refactorInsetsController
Bug: 298172246
Change-Id: I8e3a74ee579f085cb582040fdba725e7a63d6b85
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions