diff options
| author | Vadim Tryshev <vadimt@google.com> | 2015-07-20 17:01:50 -0700 |
|---|---|---|
| committer | Vadim Tryshev <vadimt@google.com> | 2015-07-21 10:53:53 -0700 |
| commit | 1a68dc9bf44be86e1dc34d9a016b1bcfccd58db6 (patch) | |
| tree | d76ee5635250e83bb4d3146039b166d1dcb72aac /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | c9275e764de52ff5e59f02469ee95dbdc7928c95 (diff) | |
Fixing non-delivering of DRAG_START event to each view
The problem was that GroupView.dispatchDragEvent didn’t send ACTION_DRAG_STARTED
to GroupView itself in case when there is a child that is interested
in this drag.
Now, delivering DRAG_STARTED to all children and to GroupView itself.
Also corrected delivery of DRAG_ENDED to match docs: it will be delivered
only to the views that returned true from DRAG_STARTED.
Same story with Enter, Exit and Location notifications: they are delivered
only to children that returned true from DRAG_START.
Delivery to
the ViewGroup itself never depends on a child’s return value.
Bug: 22028725
Change-Id: I44495d6da8423c9cc012f029233f4604cb60c74b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
