Commit Graph

42 Commits

Author SHA1 Message Date
Michael Comella
5e7d503b79 Bug 999750 - Recycle MotionEvents. r=kats 2014-04-23 18:04:51 -07:00
Wes Johnston
0d4543faff Bug 960146. r=kats 2014-03-07 08:32:22 -08:00
Chris Lord
a2533e8f75 Bug 960146. r=kats,wesj 2014-02-20 09:36:48 -05:00
Brian Nicholson
4e62725134 Backout ab25dcdc319b (bug 960146) for touch event regressions 2014-02-28 13:26:08 -08:00
Kartikaya Gupta
208f24056e Bug 960146. r=kats,wesj 2014-02-20 09:36:48 -05:00
Brian Nicholson
5daf8ed11b Bug 845618 - Remove unused imports. r=kats 2013-02-26 21:50:25 -08:00
Brian Nicholson
1c31a98bcf Bug 845612 - Add @Override annotations for implemented interfaces. r=kats 2013-02-26 21:48:00 -08:00
Kartikaya Gupta
5010bd9809 Bug 777468 - Move ownership of TouchEventHandler from LayerView to JavaPanZoomController. r=Cwiiis
This patch has a bunch of semi-independent changes that unfortunately
couldn't be split apart without introducing hacks to make stuff build
on the intermediate patches. The main changes are:
- Moving TouchEventHandler from LayerView to JavaPanZoomController
- Registering the touch interceptor on the LayerView rather than the
  TouchEventHandler
- Moving the Tab:HasTouchListener handler from GeckoApp to JPZC

The net effect of all of this is that the TouchEventHandler is hidden
behind the PanZoomController interface and not accessible to GeckoApp
or GeckoAppShell.

Additionally, some of the JPZC methods were renamed from onXXX to
handleXXX to maintain the convention that onXXX methods are "interface"
methods (i.e. exposed to arbitrary other code) whereas handleXXX
methods are private/package and should only be called in very specific
ways.
2013-02-08 09:13:09 -05:00
Kartikaya Gupta
c0bf330235 Bug 777468 - Rename PanZoomController to JavaPanZoomController and extract a new PanZoomController interface. r=Cwiiis 2013-02-08 09:12:59 -05:00
Kartikaya Gupta
6386270447 Bug 777468 - Move mobile/android/base/ui/* to mobile/android/base/gfx/. r=Cwiiis 2013-02-08 09:11:43 -05:00
Kartikaya Gupta
716c096295 Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Phil Ringnalda
769a24c038 Back out 5a56a56a6481:a5969a01955b (bug 834414) to investigate whether it caused reftest-4 failures
CLOSED TREE
2013-01-25 20:03:50 -08:00
Kartikaya Gupta
c2b27f393e Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Greg Roodt
e045ea4e99 Bug 686228 - Add simple mouse scrolling support. r=kats 2013-01-06 22:35:01 +00:00
Kartikaya Gupta
b4053cdc06 Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
5f157ae75d Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Chris Peterson
885e571e16 Bug 778472 - Part 3: Standardize order of import statements: org.mozilla, com, net, org, android, java. r=mfinkle 2012-07-27 17:53:54 -07:00
Ed Morley
7bc62ef0ac Backout d2ee4c12c0b3 (bug 777351), 5aa6f94160dd (bug 777351), b47c470168fc (bug 777351), 5fb303ba52f7 (bug 777351), be81e4c3d928 (bug 777351), abc5b9a922dc (bug 777075), 8f1fc980f1f1 (bug 777075), 0b194a7f47d4 (bug 777075), d10df9bfef60 (bug 777075), 65393fe32cce (bug 777075), b52dc1df2fde (bug 777075), 8aeda525c094 (bug 777075) for Android native R1 failures on a CLOSED TREE 2012-08-01 18:42:05 +01:00
Kartikaya Gupta
6c278fc3c5 Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
939749fbdc Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Matt Brubeck
6882291b75 Bug 766858 - When tab menu is open, intercept all touch events on about:home or web content [r=kats] 2012-07-20 10:06:01 -07:00
Chris Peterson
a953be5776 Backout 844444ca8feb (Bug 709230) r=bustage 2012-07-17 17:54:54 -07:00
Chris Peterson
6cb6900e58 Bug 709230 - Part 4: Remove unused imports. r=blassey 2012-07-15 13:20:43 -07:00
Chris Peterson
0f30d9cedd Bug 709230 - Part 3: Mark classes final and reduce class visibility public->package->private to aid ProGuard optimizations. r=blassey 2012-07-15 13:20:43 -07:00
Kartikaya Gupta
4ca0f0dca3 Bug 771757 - Fix subdocument scrolling so that it works again. r=wesj 2012-07-10 12:46:49 -04:00
Matt Brubeck
fb49f6c63c Bug 756474 - Harden the SimpleScaleGestureDectector against missed events [r=kats] 2012-06-19 12:01:44 -07:00
Matt Brubeck
8b59fee159 Bug 765407 - Don't setOnDoubleTapListener(null); fixes crash in GestureDetector [r=kats] 2012-06-18 09:54:48 -07:00
Eitan Isaacson
bf4f9fbcb6 Bug 763613 - Make hover events mousemove events. r=wesj 2012-06-15 15:34:22 -07:00
Wes Johnston
6e9b8bf24a Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle 2012-06-11 15:18:40 -07:00
Wes Johnston
7ad2b50dec backout 2d1268c57588 2012-06-12 09:53:44 -07:00
Wes Johnston
2de880c55e Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle 2012-06-11 15:18:40 -07:00
Kartikaya Gupta
28cda3e4d9 Bug 745250 - Prevent crash from NPE in TouchEventHandler. r=wesj 2012-06-06 13:50:01 -04:00
Matt Brubeck
2f117f77b6 Bug 707571 (part 3) - Disable double-tap listener on pages with user-scalable=no [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck
d42cbce6be Back out bug 707571 because of reftest failures 2012-05-18 09:31:27 -07:00
Matt Brubeck
4749d862d3 Bug 707571 (part 3) - Disable double-tap listener on pages with user-scalable=no [r=kats] 2012-05-18 08:24:27 -07:00
Kartikaya Gupta
8c66bab45f Bug 749384 - Notify PZC of some events before the touchevent listeners deal with it so that we remain responsive. r=wesj 2012-05-15 13:22:26 -04:00
Kartikaya Gupta
e65db30f7b Bug 749384 - Store the PZC instead of the LayerController. r=wesj 2012-05-15 13:21:53 -04:00
Kartikaya Gupta
65b3336667 Bug 749384 - Hardcode the touch event timeout to 200ms. r=wesj 2012-05-15 13:21:14 -04:00
Wes Johnston
0df7a7e915 Bug 746679 - Reset touch event dispatch state on each touch down. r=kats, a=blocking-fennec 2012-04-20 08:40:41 -07:00
Wes Johnston
90d6b1acf4 Backed out changeset a43a33ddd2b3 2012-04-17 09:29:18 -07:00
Kartikaya Gupta
454d9a4c53 Bug 745381 - Don't call GetFrameFromPoint for non touchstart touch events. r=smaug 2012-04-17 09:28:10 -07:00
Kartikaya Gupta
bc371e9e38 Bug 742019 - Rewrite how we handle touch events so we don't break panning, and don't introduce unnecessary latency. r=wesj 2012-04-07 03:09:26 -04:00