diff options
author | Matthew Ng <ngmatthew@google.com> | 2018-03-07 14:23:04 -0800 |
---|---|---|
committer | Matthew Ng <ngmatthew@google.com> | 2018-03-13 17:21:22 -0700 |
commit | b06ae3bf131b0bd0ded398d3a06974a6a9d78a50 (patch) | |
tree | 0a7b9458a2c19db73fee29b2cfdb38ba7b88981a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f78767d2f9ec81e454baa0c637ebe0ad19ca1cf3 (diff) |
Centralized quick step/scrub/switch logic (1/2)
Moved all the logic for quick step/scrub/switch to QuickStepController
so touch events can be used for deciding which gesture is used. Once a
gesture is decided, the rest will not handle the other gestures.
Quickstep will trigger when passing a touch slop on navigation bar. The
event onQuickStep (with a motion event) will be sent to launcher when
this occurs telling it that systemui is not handling anymore motion
events. During quickstep motion events will still be proxied.
Used raw X and Y motion events for Opalayout and KeyButtonView so that
the moving over the touch slop can be detected to ignore button (long)
press state.
Fixes: 73971902
Fixes: 74456391
Test: swipe up
Change-Id: I40b931aa0a9f123b810ff9206c9b1ce040a68a56
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions