Commit Graph

167 Commits

Author SHA1 Message Date
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
Matt Brubeck
719d2fb98e Bug 756474 - Harden the SimpleScaleGestureDectector against missed events [r=kats] 2012-06-19 12:01:44 -07:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Kartikaya Gupta
5854c5df8f Bug 734504 - Allow flinging to reduce the amount of overscroll. r=Cwiiis 2012-06-07 10:09:30 -04:00
Benoit Girard
645dbfffb2 Bug 759933 - Remove excessive logging in PanZoomController. r=kats
--HG--
extra : rebase_source : 14d28e7400df1e81c02618e8e20825b7fda44099
2012-05-31 15:27:45 -04:00
Kartikaya Gupta
78fc09d742 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
Kartikaya Gupta
0f2c633486 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
42c7a60dd5 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
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
447fca3d1d Bug 707571 (part 4) - Use mininum-scale and maximum-scale from <meta name="viewport"> [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck
cca10cf5df 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
d3c53ac15c Bug 707571 (part 2) - Disable zooming for pages with user-scalable=no [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck
bea1efeb46 Back out bug 707571 because of reftest failures 2012-05-18 09:31:27 -07:00
Matt Brubeck
4266b47e4a Bug 707571 (part 4) - Use mininum-scale and maximum-scale from <meta name="viewport"> [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck
8c8aa45c09 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
ef76f07912 Bug 707571 (part 2) - Disable zooming for pages with user-scalable=no [r=kats] 2012-05-18 08:24:27 -07:00
Kartikaya Gupta
f596b8de96 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
Margaret Leibovic
7f2339b775 Bug 752759 - Get rid of excessive mFormAssistPopup.hide() calls in PanZoomController. r=kats 2012-05-10 12:09:00 -07:00
Kartikaya Gupta
802a8d64dd Bug 751479 - Guard against the scale gesture detector receiving move events without corresponding down events. r=Cwiiis 2012-05-03 22:24:05 -04:00
Wes Johnston
9df39f47a7 Bug 744518 - Use touch events to trigger tap highlight. r=kats. a=mobile-only 2012-05-02 11:55:37 -07:00
Kartikaya Gupta
9f9c98d2d0 Bug 732364 - Apply axis locking to subdocument scrolling as well. r=Cwiiis a=android-only 2012-05-02 13:18:36 -04:00
Kartikaya Gupta
0695992576 Bug 722657 - Fix glaring bug in subdocument scrolling where scroll amounts got discarded. r=Cwiiis 2012-05-02 13:12:46 -04:00
James Willcox
4b0d6b0c67 Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey 2012-04-27 16:04:47 -04:00
Joe Drew
6885673109 Bug 744939 - Make animatedZoomTo operate in CSS pixels instead of device pixels. r=kats a=blocking-fennec 2012-04-14 13:18:10 -04:00
Kartikaya Gupta
fcca05c33c Bug 741693 - Cleanup; change instance variable to private. r=cpeterson 2012-04-17 11:34:13 -04:00
Kartikaya Gupta
6756e736ea Bug 741693 - Move the Axis prefs from GeckoLayerClient into PanZoomController. r=Cwiiis 2012-04-17 11:33:42 -04:00
Kartikaya Gupta
606c739bdf Bug 741693 - Make the zoom animation frames preffable. r=Cwiiis 2012-04-17 11:33:19 -04:00
Kartikaya Gupta
2bb28155e7 Bug 742115 - Make the java panning constants preffable; original patch stolen from :joe. r=Cwiiis 2012-04-13 10:29:14 -04:00
Kartikaya Gupta
e64d4f50d1 Bug 718463 - Force redraw when an animation is interrupted by user touch. r=Cwiiis 2012-04-11 15:46:02 -05:00
Kartikaya Gupta
dec4c11b3e 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
Kartikaya Gupta
4074333e81 Bug 737577 - Set the display port before bouncing rather than after. r=Cwiiis 2012-04-02 17:14:33 -04:00
Kartikaya Gupta
8d0a98cf47 Bug 730899 - Drop sending of scroll events where we don't actually scroll. r=Cwiiis 2012-04-01 02:42:35 -04:00
Kartikaya Gupta
0d6885cc9e Bug 729528 - Add an alternate code path (selected at compile-time) to render low-res content while panning. r=Cwiiis 2012-03-26 13:15:50 -04:00
Kartikaya Gupta
a184a0c289 Bug 735612 - Add missing synchronization around viewport manipulation. r=Cwiiis 2012-03-15 10:40:55 -04:00
Kartikaya Gupta
17908435d6 Back out 89833e1b3016 (bug 707571) as it is broken with the new maple rewrite. r=backout 2012-03-13 17:11:28 -04:00
Kartikaya Gupta
86677b4af0 Bug 735248 - Add a BOUNCE state to track bounce animations, and disable redraws while we are in a bounce. r=Cwiiis 2012-03-13 12:14:28 -04:00
Kartikaya Gupta
f247ed9193 Bug 732564 - Back out part of e48d0ef50574 (bug 728614) as we need to clamp the viewport when animations are aborted. r=Cwiiis 2012-03-12 12:03:38 -04:00
Benoit Girard
83961041e7 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Benoit Girard
0fda9f736a Merge heads 2012-03-07 11:11:20 -05:00
Benoit Girard
479f0b2fb1 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Benoit Girard
921124c30e Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Jeff Muizelaar
3e461e7948 Bug 732576. make getViewTransform fast. r=kats
This removes the logging, locking and allocations from getViewTransform.

This reduces the time spent from an median of 6.3ms to 0.061ms

We use a new scheme where the view transform is immutable and the member
variable containing it is atomically overwritten. So we may get a slightly old
view transform but this won't be a problem.
2012-03-02 14:31:27 -05:00