summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorArthur Hung <arthurhung@google.com>2019-11-06 19:42:44 +0800
committerArthur Hung <arthurhung@google.com>2020-02-19 15:01:13 +0000
commit5d0197890b9fd0d0310b3de7a042eedcef8f1d09 (patch)
tree7a593118fff8004619479a6847ae3b395e9cc579 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent10cab9d8df12e9a19550784fc42414be429836c3 (diff)
Allow unbuffered MotionEvent dispatch for View (1/2)
MotionEvents sent from InputDispather would be buffered and dispatched align the vsync by default. And it would provides many of benifits. But for a high quality gaming experience, low latency input is critical when we use analogs inputs (e.g mouse or joystick, etc.). So It's important for gaming applications to process these input events in a raw way, without them being coalesced on each frame. - Add new api View.requestUnbufferedDispatch(source) to control which input source classes could be unbuffered while handled by the view. Bug: 135740001 Bug: 136277595 Test: atest ViewUnbufferedTest Change-Id: If65ed1906f59947dcd1e5062519b643a17d0e8e5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions