diff options
| author | 2025-02-10 18:29:31 +0100 | |
|---|---|---|
| committer | 2025-02-11 16:57:47 +0100 | |
| commit | 3158d15934d04df521358318a2121958ff57351b (patch) | |
| tree | 0c1cc9d842b5ebafee41fceefc553e4633c43f9f /libs/androidfw/FileStream.cpp | |
| parent | ad7eeefc652c6b8a3734cc2626c5405c7e49f9d1 (diff) | |
Refactor SimpleKeyboard into SimpleKeyboardView
This modifies SimpleKeyboard to extend FrameLayout (and consequently
removes the now redundant input_view layout). Also removes the strong
dependency on SimpleInputMethodService by introducing KeyPressListener.
Renames some fields and methods to better reflect what they represent.
Modifies SimpleInputMethodService to only inflate the views once in
onCreateInputView, rather than re-inflate every time onStartInputView is
called. Lastly optimized KeyCodeConstats to have a static switch
statement rather than initialize a HashMap.
Flag: EXEMPT testfix
Bug: 394328311
Test: atest InputMethodServiceTest
Change-Id: I14c3ad5d7f800e421fd4377c9ded5bf3d0af232f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions