Commit Graph

209 Commits

Author SHA1 Message Date
Benoit Girard
661f79cd84 Bug 802400 - Restore pan timer to 60 Hz because of trobopan regression. r=kats 2012-10-18 13:56:47 -04:00
Kartikaya Gupta
5165931e71 Bug 775511 - Disable panning and showing of scrollbars when in full-screen mode. r=Cwiiis 2012-11-24 17:32:09 -05:00
Kartikaya Gupta
2bfe609466 Bug 775511 - Move full screen state variable from GeckoApp to LayerView. r=Cwiiis 2012-11-24 17:32:08 -05:00
Kartikaya Gupta
ffcbfdadda Bug 813311 - Hide Axis so that it is not unnecessarily exposed to the world. r=Cwiiis 2012-11-20 13:38:47 -05:00
Morrison Cole
c6ce5da67a Bug 810278 - Improved background/toolbar visual cohesion. r=wjohnston 2012-11-16 13:43:33 -08:00
Scott Johnson
fb58fcba20 Bug 809565: Skip onScale and onScaleEnd events if onScaleBegin returned false to make reflow-on-zoom assumptions on order of these events remain valid. [r=kats] 2012-11-14 15:58:12 -08:00
Kartikaya Gupta
3c21360542 Bug 809199 - Update offsetViewportBy to take dx/dy instead of PointF. r=Cwiiis 2012-11-07 11:47:17 -05:00
Kartikaya Gupta
7d92cc7bef Bug 809199 - Eliminate use of ViewportMetrics from PanZoomController. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
46d17b95d2 Bug 809199 - Add an offsetViewportBy function to ImmutableViewportMetrics. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
ad50848c59 Bug 809199 - Modify methods in PanZoomTarget to take ImmutableViewportMetrics instead of ViewportMetrics. r=Cwiiis 2012-11-07 11:47:07 -05:00
Kartikaya Gupta
05fa391d0c Bug 809199 - Move the interpolate function from ViewportMetrics to ImmutableViewportMetrics. r=Cwiiis 2012-11-07 11:47:07 -05:00
Scott Johnson
98dca1be83 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
d5e1965529 Bug 798539 - Run the animation timer faster to improve panning smoothness. r=blassey,kats 2012-10-11 12:58:53 -04:00
Wes Johnston
e15c46b32f Bug 784887 - Use Native Gesture detector for MozGesture events. r=blassey 2012-10-02 13:18:21 -07:00
Kartikaya Gupta
23d5f0299c 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
d9cfff8b87 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
b08d16766d Bug 783553 - Disable overscroll in webapps. r=kats 2012-09-12 13:36:36 -07:00
Kartikaya Gupta
ae8cc5442f 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
502ec20777 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
82553df11c 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
c5e2d55e84 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
ca1c3e7c71 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
016a7e0aeb Bug 777075 - Add a getMutableMetrics helper. r=mbrubeck 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
02cb9a10d2 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
d1785a10e7 Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
81b7f838d9 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
ac74fe9dd6 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
8297193b5c 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
393e18eb9b Bug 779366 - Part 2b: Remove ViewportMetrics' dependency on GeckoApp by passing DisplayMetrics. r=sriram 2012-08-01 14:51:28 -07:00
Chris Peterson
ceaa1e5e80 Backout bcb8b2b5a310 (bug 779366 - Part 2). r=me 2012-08-01 14:42:11 -07:00
Chris Peterson
84fdc2c235 Bug 779366 - Part 2: Move DisplayMetrics to ConfigurationUtils. r=sriram 2012-07-30 16:05:44 -07:00
Chris Peterson
4251f0fb5a 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
f554e798e4 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
535a8bc1c3 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
f24402c6c9 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
7eaf38a762 Bug 777075 - Add a getMutableMetrics helper. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
4099824309 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
8a269c8752 Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
fd0f91ea80 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
072cb58af2 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
2bd15c9b96 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
4ef2de7d64 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
b49a00bc3e 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
658886ce9b Bug 703279 - Cancel panning when a context menu is shown. r=kats 2012-07-18 17:58:56 -07:00
Chris Peterson
0ae5b05768 Backout 844444ca8feb (Bug 709230) r=bustage 2012-07-17 17:54:54 -07:00
Chris Peterson
7cc0a9ac2f Bug 709230 - Part 4: Remove unused imports. r=blassey 2012-07-15 13:20:43 -07:00
Chris Peterson
949e399cad 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
21e056832b 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
6bb3d29a22 Bug 771757 - Fix subdocument scrolling so that it works again. r=wesj 2012-07-10 12:46:49 -04:00
Kartikaya Gupta
96a842a585 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