diff options
| author | 2022-09-18 21:43:17 +0800 | |
|---|---|---|
| committer | 2023-01-07 08:10:48 +0000 | |
| commit | 4c1ffefb6a5a9f450eb22011566818a15b3e01b6 (patch) | |
| tree | 66cf40807e1a0383b53eacf5f9a530aea9529f3e /libs/input/PointerController.cpp | |
| parent | 8f0fc74948ac0b7304474d654b4c8642f35c6461 (diff) | |
Introduce ImeVisibilityStateComputer
With go/new-ime-visibility-control-u, this CL introduced following
classes to aim to improve our IME visiblity control protocal with
per-window state tracking:
- ImeVisibilityStateComputer:
To compute the IME visibility state according the given WindowState
from the focused window, or the app requested IME visibility
from InputMethodManager.
- ImeVisibilityStateComputer.ImeTargetWindowState:
Represents the current state of a window that focused by
the Input Method
- ImeVisibilityStateComputer.ImeVisibilityPolicy:
To manage all IME related visibility policies or configurations.
Note that the above classes is a preperation CL with only refactoring
& moving some checking IME visibility methods logic from IMMS side to
the computer, basically it should not have any behavior change.
Bug: 246309664
Test: atest CtsInputMethodTestCases
Change-Id: Id1115ceb951e4bb0361a32b824d966cc70b7d132
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions