summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.cpp
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2017-06-02 17:31:22 -0700
committerEvan Rosky <erosky@google.com>2017-11-06 13:11:18 -0800
commit5e29c076cb0210b8698fdced8e985327bf2d75dd (patch)
tree06b5c32e8d0fd7d3aa7dfea0f40e1779a5552d73 /tools/aapt2/Debug.cpp
parent181799bc53c45282ffa50669430a5cb41f5c194d (diff)
Add "KeyFallback" handling ability to Views
This gives any view the ability to receive unhandled KeyEvents. The order of Views receiving fallback key events is inverse drawing order: this means higher views will receive fallback events first. FallbackHandlers can be added to any view via addKeyFallbackListener. Within a view, listeners are tapped in reverse order (such that more-recently added listeners will receive the event first). Bug: 32722450 Test: Added a CTS test ViewTest#testKeyFallback Change-Id: Ibfff4db70de8fb98db0035e5aeb09271be1574c6
Diffstat (limited to 'tools/aapt2/Debug.cpp')
0 files changed, 0 insertions, 0 deletions