gecko-dev/mobile/android
Tom Klein e321ee77d6 Bug 1116415 - 6. Provide fixed TouchDelegate class. r=sebastian
The Android version of TouchDelegate never resets the value of its
mDelegateTargeted, which means that once an event is delegated, future events
can get delegated as well, regardless of whether the event occurs within the
TouchDelegate's bounds.  Because of the geometry this is more of an issue with
the (future RecyclerView version of) TabsGridLayout, but it can occur on
TabsLinearLayout as well where we use a TouchDelegate to increase the hit size
of the close button on a tab - once a close button is hit by delegation and the
tab is closed, the next time that tab is recycled it will continue to delegate
ACTION_UP events to the close button (in which case they're silently dropped)
even if the ACTION_DOWN was not in the close button's delegation area.

This commit introduces TouchDelegateWithReset, which is simply an override copy
of TouchDelegate with one extra block (commented in the new class) to reset
mDelegateTargeted on each new gesture received.

MozReview-Commit-ID: 5xrPBAdAK6D

--HG--
extra : rebase_source : d1b9c7a443b0590c63433ea6855c8a1ae0662455
extra : source : 0c267676cb0824d916f398155b0d5b7dec6f346c
2016-09-21 17:49:06 -05:00
..
app Bug 1309821 - Enable VectorDrawable support r=nalexander, sebastian 2016-10-07 15:59:11 +02:00
base Bug 1116415 - 6. Provide fixed TouchDelegate class. r=sebastian 2016-09-21 17:49:06 -05:00
bouncer Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
branding Bug 1306732 - Renaming of the aurora version r=sebastian 2016-09-30 22:50:58 +02:00
build/classycle
chrome Backed out changeset 9c7364b4579d (bug 1308615) for suspicion that this caused pgo windows test crashes 2016-10-14 14:59:36 +02:00
components Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
config Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07:00
docs Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
extensions Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
fonts Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
geckoview Bug 1299201 - Add helper method for stripping the public suffix from a domain. r=Grisha 2016-10-11 12:19:45 +02:00
geckoview_example Bug 1308390 - Upgrade geckoview_example to support libraries 23.4 r=nalexander 2016-10-07 08:09:35 +02:00
gradle Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07:00
installer Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
javaaddons Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
locales Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
modules Bug 1301715 - Extract website metadata and make it available. r=ahunt 2016-09-08 10:20:24 +02:00
search Bug 1261041 - Remove feature11Plus-feature15Plus flags. r=sebastian 2016-09-22 21:20:23 +05:30
services Bug 730142 - Download batching. r=Grisha,rnewman 2016-09-30 09:33:08 -07:00
stumbler Bug 1292468 - Incorrect string comparison r=sebastian 2016-08-05 10:45:10 +02:00
tests Bug 1116415 - 2. Make the linear tabs list a RecyclerView. r=sebastian 2016-09-12 10:37:14 -05:00
themes/core Bug 1307027 - Fix vertical position for caret images. r=mtseng 2016-10-03 15:26:40 +08:00
thirdparty Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07:00
.eslintrc
app.mozbuild
build.mk Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
confvars.sh Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
debug_sign_tool.py
gradle.configure Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
LICENSE
mach_commands.py Bug 1294878 - Support 'mach android-emulator --version 6.0'; r=jmaher 2016-08-23 09:02:35 -06:00
Makefile.in
moz.build Bug 1268944 - Remove GeckoView packaging. r=chmanchester 2016-07-25 11:54:03 -07:00
moz.configure Bug 1267884 - Upgrade support libraries to 23.4 r=sebastian 2016-09-30 09:16:23 -07:00