Commit Graph

37 Commits

Author SHA1 Message Date
Brian Nicholson
eae7e0275a Bug 845618 - Remove unused imports. r=kats 2013-02-26 21:50:25 -08:00
Brian Nicholson
09bb93a1e8 Bug 845612 - Add @Override annotations for implemented interfaces. r=kats 2013-02-26 21:48:00 -08:00
Kartikaya Gupta
88dcc6657a 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
1a5dcc2958 Bug 777468 - Rename PanZoomController to JavaPanZoomController and extract a new PanZoomController interface. r=Cwiiis
--HG--
rename : mobile/android/base/gfx/PanZoomController.java => mobile/android/base/gfx/JavaPanZoomController.java
2013-02-08 09:12:59 -05:00
Kartikaya Gupta
4dcacbb416 Bug 777468 - Move mobile/android/base/ui/* to mobile/android/base/gfx/. r=Cwiiis
--HG--
rename : mobile/android/base/ui/Axis.java => mobile/android/base/gfx/Axis.java
rename : mobile/android/base/ui/PanZoomController.java => mobile/android/base/gfx/PanZoomController.java
rename : mobile/android/base/ui/PanZoomTarget.java => mobile/android/base/gfx/PanZoomTarget.java
rename : mobile/android/base/ui/SimpleScaleGestureDetector.java => mobile/android/base/gfx/SimpleScaleGestureDetector.java
rename : mobile/android/base/ui/SubdocumentScrollHelper.java => mobile/android/base/gfx/SubdocumentScrollHelper.java
2013-02-08 09:11:43 -05:00
Kartikaya Gupta
57216f4b09 Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Phil Ringnalda
b8c910183c 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
e9dd366630 Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Greg Roodt
8134e1c125 Bug 686228 - Add simple mouse scrolling support. r=kats 2013-01-06 22:35:01 +00:00
Kartikaya Gupta
7c27c82eb2 Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
0f75a70847 Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Chris Peterson
20927a2f40 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
8c798cdc3b 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
912ab62a3b Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
4df9e1758d Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Matt Brubeck
cfddc83422 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
ea5aca80f3 Backout 844444ca8feb (Bug 709230) r=bustage 2012-07-17 17:54:54 -07:00
Chris Peterson
bb71352997 Bug 709230 - Part 4: Remove unused imports. r=blassey 2012-07-15 13:20:43 -07:00
Chris Peterson
ad0d5b1167 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
0edbe5c01f Bug 771757 - Fix subdocument scrolling so that it works again. r=wesj 2012-07-10 12:46:49 -04:00
Matt Brubeck
aa807b4225 Bug 756474 - Harden the SimpleScaleGestureDectector against missed events [r=kats] 2012-06-19 12:01:44 -07:00
Matt Brubeck
8800bf1a97 Bug 765407 - Don't setOnDoubleTapListener(null); fixes crash in GestureDetector [r=kats] 2012-06-18 09:54:48 -07:00
Eitan Isaacson
1a7bf52bf4 Bug 763613 - Make hover events mousemove events. r=wesj 2012-06-15 15:34:22 -07:00
Wes Johnston
cf708e340f Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle 2012-06-11 15:18:40 -07:00
Wes Johnston
ecc29d4288 backout 2d1268c57588 2012-06-12 09:53:44 -07:00
Wes Johnston
e8dfe63037 Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle 2012-06-11 15:18:40 -07:00
Kartikaya Gupta
61e1120311 Bug 745250 - Prevent crash from NPE in TouchEventHandler. r=wesj 2012-06-06 13:50:01 -04:00
Matt Brubeck
a3928422a4 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
babf33c424 Back out bug 707571 because of reftest failures 2012-05-18 09:31:27 -07:00
Matt Brubeck
a5e1d94154 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
2bee45a402 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
7f60b33ddf Bug 749384 - Store the PZC instead of the LayerController. r=wesj 2012-05-15 13:21:53 -04:00
Kartikaya Gupta
2f9f805686 Bug 749384 - Hardcode the touch event timeout to 200ms. r=wesj 2012-05-15 13:21:14 -04:00
Wes Johnston
d1ace57baf 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
7a8951e19d Backed out changeset a43a33ddd2b3 2012-04-17 09:29:18 -07:00
Kartikaya Gupta
f59a7fd649 Bug 745381 - Don't call GetFrameFromPoint for non touchstart touch events. r=smaug 2012-04-17 09:28:10 -07:00
Kartikaya Gupta
5ed6f42383 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