summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author arthurhung <arthurhung@google.com> 2020-12-30 16:19:01 +0800
committer Arthur Hung <arthurhung@google.com> 2021-03-11 02:31:42 +0000
commitb89ccb0e3e412f65f512bb5f3ebcd93de696b8a9 (patch)
tree7f968c0f6d5399c428384ce5864e79d3cf115195 /libs/gui/BLASTBufferQueue.cpp
parent5c2a67856070668b9f886a5e1fef7694444b8a1f (diff)
Move drag event to InputDispatcher (3/n)
This CL re-implements the drag hover detecting in InputDispatcher, moving it away from DragState. Currently, any window or windowless surface could receive drag event if it is visible and touch-deliverable. But it's hard to tell if a surface could receive this drag event in WM side because we didn't know the final touch region of the surface that could be cropped by others. The new expected behaviors are: - DragAndDropController will transfer touch to drag window when perform drag, and InputDispatcher will store drag window when transfer touch focus. - InputDispatcher will start detecting drag hover window by pointer. - Send drag exit if drag pointer leave the window. - Send drag event to the target window during moving. Bug: 158242495 Test: atest inputflinger_test Change-Id: I0266f81afd4fb60280ae7694dd7241500cf9cb18
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions