summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-04-27 14:51:31 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-04-27 17:32:15 +0000
commitae77af78badbdf4625ac412bc91199df65e28c70 (patch)
tree50eade24d42c579adfe47ee9b1fd197004df77bd /libs/androidfw/StringPool.cpp
parent9e4a0c1ac320340ce13772a43038f66266b60eb2 (diff)
Support multi-window handwriting without focus requirement on down
Previously, the handwriting window was only initialized over the focused window, and re-initialized only when the IME was bound. This meant that in multi-window modes where the input method client changes without the IME being re-bound, handwriting would only work on one of the apps. Here, we initialize the handwriting window over the entire display so that handwriting can be started over any app. To ensure that handwriting only starts if the stylus stroke starts within the bounds of the app, we do a hit test with the start of the stroke before starting handwriting. Bug: 230381729 Test: manual: test handwriting in split screen Change-Id: I9296d35e29387ea54afbdeabe2baa26bf6ccbc71
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions