summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.cpp
diff options
context:
space:
mode:
author Chen Bai <chenbai@google.com> 2023-10-25 18:02:04 -0700
committer Chen Bai <chenbai@google.com> 2023-11-08 07:41:27 +0000
commit2d1a1415493896f4ad8e51abdb7efe9019fe136f (patch)
treeac15c2d1fb3f34b1c0ead5b43ddd69e0e1b1f032 /libs/hwui/Properties.cpp
parentf4356a7a1a642a8cb4c30cc79e95ade9a0f2d96e (diff)
clobber wom: implement onKeyUp for StemPrimaryKeyRule
- Apply the callback for stem primary key. This is helpful for devices that wish to trigger stem primary key press behavior without waiting for the delay needed to check for consecutive presses. - Added a new config, `config_shortPressEarlyOnStemPrimary` to guard StemPrimary key's usage of this callback. If this config is enabled, the single press behavior for stem primary key will run in response to the first key up event, instead of using the `onPress` callback. Test: atest WmTests:SingleKeyGestureTests BUG: 297121934 Change-Id: I7ab3ebf2a79b74fb47fb74da80cb6e8d9c04dc87
Diffstat (limited to 'libs/hwui/Properties.cpp')
0 files changed, 0 insertions, 0 deletions