Commit Graph

203 Commits

Author SHA1 Message Date
Kartikaya Gupta
076143068a Bug 809199 - Update offsetViewportBy to take dx/dy instead of PointF. r=Cwiiis 2012-11-07 11:47:17 -05:00
Kartikaya Gupta
b1896320f7 Bug 809199 - Eliminate use of ViewportMetrics from PanZoomController. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
cbd04811c2 Bug 809199 - Add an offsetViewportBy function to ImmutableViewportMetrics. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
d1bf65d2b9 Bug 809199 - Modify methods in PanZoomTarget to take ImmutableViewportMetrics instead of ViewportMetrics. r=Cwiiis 2012-11-07 11:47:07 -05:00
Kartikaya Gupta
a3140f12d3 Bug 809199 - Move the interpolate function from ViewportMetrics to ImmutableViewportMetrics. r=Cwiiis 2012-11-07 11:47:07 -05:00
Scott Johnson
022fea381d Bug 797705: Check for null pointers and return early from java event handling if Gecko hasn't started to prevent crashes. [r=kats] 2012-10-31 11:39:44 -05:00
Benoit Girard
d0b978325b Bug 798539 - Run the animation timer faster to improve panning smoothness. r=blassey,kats 2012-10-11 12:58:53 -04:00
Wes Johnston
eb45f03470 Bug 784887 - Use Native Gesture detector for MozGesture events. r=blassey 2012-10-02 13:18:21 -07:00
Kartikaya Gupta
dd11c94c55 Bug 753312 - Extract a PrefsHelper class that manages getting/setting of gecko prefs, and updated existing code to use it. r=cpeterson 2012-09-17 14:22:28 -04:00
AlexHagerman
eb2876e0f6 Bug 769391 - Prevent axis locking when on a page that fits the user's screen vertically or horizontally. r=kats 2012-09-17 10:55:58 -04:00
Wes Johnston
33b6a66339 Bug 783553 - Disable overscroll in webapps. r=kats 2012-09-12 13:36:36 -07:00
Kartikaya Gupta
cbbe098780 Bug 788379 - Cancel the tap highlight if a touch event block is prevent-defaulted. r=wesj 2012-09-11 13:36:32 -04:00
Kartikaya Gupta
b4f2fcef66 Bug 734496 - Don't apply resistance to pinch zoom unless an axis is in overscroll on both sides. r=Cwiiis 2012-08-11 13:32:04 -04:00
Chris Peterson
214dbdb6fc Bug 778468 - Part 9: Use EventDispatcher to remove ui dependency on GeckoAppShell event registration. r=blassey 2012-08-04 00:33:07 -07:00
Chris Peterson
12be5c166f Bug 778468 - Part 7: Move GeckoEventListener to org.mozilla.gecko.util package. r=blassey
--HG--
extra : rebase_source : d0b2982b64126c046c5c974c7ec014992bef63b7
2012-08-02 17:13:40 -07:00
Kartikaya Gupta
3350e05928 Bug 777075 - Remove notifyLayerClientOfGeometryChange from the PanZoomTarget interface by baking it into setViewportMetrics and setForceRedraw. r=mbrubeck 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
ac83271939 Bug 777075 - Add a getMutableMetrics helper. r=mbrubeck 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
4fdffd71e8 Bug 777075 - Trim the PanZoomState interface by moving some LayerController functions into PanZoomController. r=mbrubeck 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
4b24887a6e Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
d3a77d21bc Bug 777075 - Eliminate the getViewport and getZoomFactor methods in LayerController to further reduce exposed surface area. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
d6ad560bb7 Bug 777075 - Extract a ZoomConstraints class to carry around the pieces of data that are otherwise floating around Tab and LayerController. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
decd347956 Bug 777075 - Refactor PanZoomController to consolidate code that gets the viewport metrics from the LayerController. r=mbrubeck 2012-08-07 10:39:03 -04:00
Chris Peterson
41b6ea6b1b Bug 779366 - Part 2b: Remove ViewportMetrics' dependency on GeckoApp by passing DisplayMetrics. r=sriram 2012-08-01 14:51:28 -07:00
Chris Peterson
0056fba509 Backout bcb8b2b5a310 (bug 779366 - Part 2). r=me 2012-08-01 14:42:11 -07:00
Chris Peterson
2f9b95cde3 Bug 779366 - Part 2: Move DisplayMetrics to ConfigurationUtils. r=sriram 2012-07-30 16:05:44 -07:00
Chris Peterson
f5549b06dc Bug 779366 - Part 1: Move FloatUtils to org.mozilla.gecko.util package. r=kats
--HG--
rename : mobile/android/base/FloatUtils.java => mobile/android/base/util/FloatUtils.java
2012-07-27 21:57:47 -07: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
9637f91654 Bug 777075 - Remove notifyLayerClientOfGeometryChange from the PanZoomTarget interface by baking it into setViewportMetrics and setForceRedraw. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
d21d9fe1d7 Bug 777075 - Add a getMutableMetrics helper. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
7de6d09010 Bug 777075 - Trim the PanZoomState interface by moving some LayerController functions into PanZoomController. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
48920d20cf Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
dbe1c47d30 Bug 777075 - Eliminate the getViewport and getZoomFactor methods in LayerController to further reduce exposed surface area. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
48c5cd570b Bug 777075 - Extract a ZoomConstraints class to carry around the pieces of data that are otherwise floating around Tab and LayerController. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
e0c7659f57 Bug 777075 - Refactor PanZoomController to consolidate code that gets the viewport metrics from the LayerController. r=mbrubeck 2012-08-01 10:38:29 -04:00
Kartikaya Gupta
40cd94a03a Bug 775951 - Remove some redundant state transitions since PanZoomController.bounce() sets the state unconditionally. r=wesj 2012-07-23 09:58:11 -04:00
Kartikaya Gupta
a1464b167b Bug 775951 - Introduce a setState function to capture all the PanZoomController state changes. r=wesj 2012-07-23 09:57:46 -04:00
Wes Johnston
cde7645635 Bug 703279 - Cancel panning when a context menu is shown. r=kats 2012-07-18 17:58:56 -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
23aa8796f7 Bug 769269 - Update a bunch of fields in GeckoApp to not be static any more. r=mfinkle 2012-07-13 10:17:03 -04:00
Kartikaya Gupta
0edbe5c01f Bug 771757 - Fix subdocument scrolling so that it works again. r=wesj 2012-07-10 12:46:49 -04:00
Kartikaya Gupta
e09449048e Bug 768798 - Return false from onSingleTapUp, so that the PanZoomController still gets an ACTION_UP event. r=mbrubeck 2012-07-03 10:04:10 -04:00
Matt Brubeck
aa807b4225 Bug 756474 - Harden the SimpleScaleGestureDectector against missed events [r=kats] 2012-06-19 12:01:44 -07:00
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Kartikaya Gupta
987625db72 Bug 734504 - Allow flinging to reduce the amount of overscroll. r=Cwiiis 2012-06-07 10:09:30 -04:00
Benoit Girard
ed740fb95a Bug 759933 - Remove excessive logging in PanZoomController. r=kats
--HG--
extra : rebase_source : 14d28e7400df1e81c02618e8e20825b7fda44099
2012-05-31 15:27:45 -04:00
Kartikaya Gupta
84ade9c45e Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis 2012-05-23 10:49:52 -04:00