diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2012-09-28 16:51:53 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2012-09-28 17:04:14 -0700 |
commit | 46824214bbe75d7e7e50cb15e3293c703d597a5f (patch) | |
tree | 8a0d665ebada50de0fe22cb41b662fc3e35637ae /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 925a659d824089d2977b44a6740f793ae65f809a (diff) |
Sending interaction end event at the end of a drag.
1. In explore-by-touch when the user slides two fingers in the same
direction we consider it a drag gesture. We merge the pointers into
one and deliver a touch event. When one of the pointers goes up
we were transitioning into touch exploring state. This means that
were transitioning to another state in the middle of a gesture which
creates complications and leads for interaction end event not being
sent.
This change transitions out of dragging state when all pointers go up
- simple and all events are properly sent. Consequentially, staring a
drag the user has to lift all pointers to touch explore. Since usually
users either drags or touch explores this seems the simplest and
*least risky* fix.
bug:7253731
Change-Id: Ie8588fbe9b26cb81312bd7fd377c94732e41e3f8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions