diff options
author | arthurhung <arthurhung@google.com> | 2020-12-30 17:20:08 +0800 |
---|---|---|
committer | arthurhung <arthurhung@google.com> | 2021-03-09 21:07:32 +0800 |
commit | 98fc6a134b24551da9f2fea99942d32adfce4c44 (patch) | |
tree | 65a975b0efd0ac47b7346fd14cb96a6d933590dc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | cfde2362817d3ba29cff9b9f818ad76b487d735b (diff) |
Move drag event to InputDispatcher (4/n)
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.
- add isDragDrop to transferTouchFocus, true when called from drag/drop.
- ACTION_DRAG_EXITED/ACTION_DRAG_LOCATION will be sent from
InputDispatcher to InputEventReceiver.
Bug: 158242495
Test: atest CrossAppDragAndDropTests DragDropTest
Test: atest WmTests:DragDropControllerTests
Change-Id: I111b6dbb6826fc77749fa2250ff4daced98979d2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions