Tony Wickham 61fa23ab3a Don't reset GestureState when touching outside of swipe region
We were setting mGestureState = DEFAULT_STATE when touching outside
of the swipe region. Instead, we should only set mGestureState when
starting a new gesture, and only set it to DEFAULT_STATE on reset.

This also makes it clearer that mGestureState always refers to the
current gesture state, rather than sometimes being the current
gesture and sometimes being the previous gesture depending on
where it was used. Now previousGestureState is passed when needed.

Bug: 159494933
Change-Id: Ib62278b7c591ca4c6b99b26e058a34772e6cec2a
2020-06-20 12:04:12 -05:00
2020-06-19 12:47:54 -07:00
2020-02-21 14:56:40 -08:00
2019-05-17 23:19:58 -07:00
2020-01-17 11:24:43 -08:00
2019-12-05 11:18:52 +00:00
2020-02-24 15:35:49 -08:00
2020-01-17 11:24:43 -08:00
Description
No description provided
816 MiB
Languages
Java 73.1%
Kotlin 26.5%
AIDL 0.3%
Python 0.1%