diff options
| author | 2022-10-14 11:07:17 -0700 | |
|---|---|---|
| committer | 2022-10-14 11:10:02 -0700 | |
| commit | 92c48e3e03c9947342fa3af31be2090f7346c95c (patch) | |
| tree | 40f6afb6d135b5236ba5c409313870cdb7055ff5 /libs/androidfw/StringPool.cpp | |
| parent | 7fcb9a6c8fcde99f9c9463e68e54d76de8ba6254 (diff) | |
Suppress scrolling when handwriting initiator requests focus
When stylus handwriting is started on an unfocused view which is
partially scrolled off screen, the handwriting initiator will request
focus on the view, which can cause the scroll position to jump to move
the view to the visible area. This is particularly problematic if
performing a rich gesture (such as circling to select some text), since
the position of the gesture relative to the view is important.
View#setRevealOnFocusHint is used to suppress the scroll. This setting
is currently respected by ScrollView and HorizontalScrollView.
Bug: 250920261
Test: Manually tested
Change-Id: I0da67f48876ab52e92a463992e8075c983e71819
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions