summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorVladislav Kaznacheev <kaznacheev@google.com>2016-12-21 10:36:35 -0800
committerVladislav Kaznacheev <kaznacheev@google.com>2017-01-25 13:13:45 -0800
commit3787de16d24001eeb452e1c711d4290a396e67c9 (patch)
tree33bb0ba8cc2f3a3f7210562f640701156e6dbfd7 /tools/aapt2/diff/Diff.cpp
parent73c945de336c104304c147d182f0fcb31fe8cd50 (diff)
Implement pointer capture API
When in pointer capture mode, mouse pointer disappears and further mouse events are dispatched to the focused view in the window which has requested capture. The captured events have the source SOURCE_MOUSE_RELATIVE belonging to SOURCE_CLASS_TRACKBALL. They are dispatched through dispatchCapturedPointerEvent / onCapturedPointerEvent. There is also a new listener. Pointer capture mode may only be granted to a currently focused window, and will be canceled upon a window focus change. Test: cts-tradefed ... --test android.view.cts.PointerCaptureTest Bug: 30897034 Change-Id: I6e5934aa415ac2b6dda1cee173d0f23e5021af84
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions