diff options
author | arthurhung <arthurhung@google.com> | 2021-01-25 20:17:21 +0800 |
---|---|---|
committer | arthurhung <arthurhung@google.com> | 2021-02-24 23:30:46 +0800 |
commit | fb89d5688958209f13135b947fbfda392a790f0e (patch) | |
tree | efe7945126041156e10e0dbdf3d76d7586c7a9af /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | f6ed5fc57c0955bf040438abd8bde6457c124a91 (diff) |
Add keycombination and double tap key commands
This will provide a convenient way to test combination key and single
key gesture without connecting a physical keyboard.
New commands:
'keycombination' : press multiple keys at same time.
'keyevent --doubletap' : double click with the same key.
Also fix the command 'keyevent --longpress' to let it waiting until long
press timeout instead passing the FLAG_LONG_PRESS flag, it's due to some
behaviors may check the event time.
Test: adb shell input keycombination keycode1 keycode2
Test: adb shell input keyevent --doubletap keycode
Test: adb shell input keyevent --longpress keycode
Bug: 162194917
Bug: 162194389
Change-Id: Ibe4d941ebe53cc5738db3ba9b59dffeeb31a7308
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions