Commit Graph

77 Commits

Author SHA1 Message Date
Kartikaya Gupta
f9d9f2ce77 Bug 1201076 - Don't clobber the page rect update if one comes in while in the middle of a bounce animation. r=snorp 2015-09-28 11:06:37 -04:00
Kartikaya Gupta
756ac44b1b Bug 1197824 - Stop propagating the default zoom around unnecessarily. r=snorp
The default zoom value is only used on the Java side to clamp the min/max zoom
values in the case where zooming is disabled. We can do this much earlier in
the flow, when we are computing the metadata, and reduce the amount of
redundant information being passed around.
2015-09-03 10:30:40 -04:00
Kartikaya Gupta
3aa2e96ea3 Bug 1180295 - Remove the margins information from ImmutableViewportMetrics. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
7dc2112503 Bug 1180295 - Ensure we don't scroll past the end of the page. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
11c03accca Bug 1180295 - Remove the unneeded margin code from JavaPanZoomController and Axis. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
5e02f68e18 Bug 1180295 - Disconnect scrolling notifications going to LayerMarginsAnimator. r=rbarker 2015-08-18 14:27:18 -04:00
Sebastian Kaspari
42bfe648fb Bug 1169427 - Replace FloatMath.*() calls with calls to Math.*(). r=snorp 2015-06-02 18:53:59 -07:00
Kartikaya Gupta
04d85fc193 Bug 1158617 - Don't dispatch a long-press after multiple fingers are down, even if their prevent-default status hasn't been resolved yet. r=bnicholson 2015-04-30 14:45:50 -04:00
Miles Rakestraw
0ea180cae3 Bug 1126290 - Removed PAN_THRESHOLD from JavaPanZoomController, replaced with PanZoomController.PAN_THRESHOLD. r=kats 2015-02-18 13:19:34 -08:00
Mark Capella
1e39e389c4 Bug 851861 - v2 - Intermittent testFlingCorrectness, etc al. dragSync() consumers 2015-01-21 19:23:49 -05:00
Kartikaya Gupta
75d1b5a523 Bug 1116048 - Don't send to SingleTap gesture events if the double-tap-zoom flag changes during the tap. r=bnicholson 2014-12-29 11:11:55 -05:00
Eugen Sawin
b884efc4cb Bug 942736 - Account for hidden margins when validating viewport metrics. r=kats 2014-10-29 14:06:55 +01:00
Chris Kitching
791227aa4f Bug 1081582: Fix spelling. r=rnewman 2014-10-12 00:28:29 +01:00
Chris Kitching
74d2f1eb58 Bug 1081406: Remove unnecessary numeric casts. r=rnewman 2014-10-11 00:42:36 +01:00
Chris Kitching
5d126e171c Bug 1081397: Finalise large numbers of fields. r=rnewman
* * *
Bug 1081397: Finalise large numbers of fields. r=rnewman
2014-10-11 00:17:01 +01:00
Carsten "Tomcat" Book
bf64baf8a1 merge fx-team to mozilla-central a=merge 2014-09-30 15:10:47 +02:00
Mark Finkle
0ba29ffe90 Bug 1074413 - Add null check for Tab when handling potentially stale messages in JavaPanZoomController r=kats 2014-09-29 23:39:34 -04:00
Kartikaya Gupta
0912ad90ad Bug 1071758 - Don't send two click events when doing a medium length tap. r=bnicholson 2014-09-29 15:32:44 -04:00
Mark Capella
dfb228ca0c Bug 1021804 - Long press on news story links invoke context menu, r=kats, wesj 2014-08-29 17:32:40 -04:00
Chris Kitching
4ec9a79856 Bug 1047971: Delete redundant initialisers-to-default-values from constructors r=rnewman 2014-08-03 21:06:05 -07:00
Richard Newman
5042e5ec9c Bug 1042383 - Part 2: use optimizable build-time flags for SDK-dependent code. r=mfinkle 2014-07-30 08:19:35 -07:00
Awad Mackie
16a47627ba Bug 807990 - Scroll reader mode page by one page on double tap. r=lucasr,cwiiis 2014-07-02 16:13:00 +02:00
Kartikaya Gupta
8944849735 Bug 859683 - Allow scrolling in full-screen mode if and only if the full-screen element is the document element. r=wesj 2014-05-07 15:22:14 -04:00
Ryan VanderMeulen
4802c512f2 Backed out changeset 14a43400007e (bug 859683) for robocop failures. 2014-05-06 15:38:28 -04:00
Kartikaya Gupta
8701d11f66 Bug 859683 - Allow scrolling in full-screen mode if and only if the full-screen element is the document element. r=wesj 2014-05-06 13:33:13 -04:00
Jim Chen
e4d1c9a6fc Bug 1004073 - Refactor EventDispatcher usages; r=fennec-team 2014-05-02 14:34:40 -04:00
Wes Johnston
5a6dd9991e backout 8f33ef762433 (Bug 985967) for regressions. r=backout 2014-04-21 08:49:33 -07:00
Wes Johnston
4ae2e3bc09 Bug 985867 - Ensure click events are fired after touch events. r=kats 2014-04-11 14:19:13 -07: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
d9b73322d0 Bug 941995 - Disable double-tapping and click delay on pages that are device-width or narrower. r=mbrubeck,wesj 2014-02-24 19:21:02 -05:00
Kartikaya Gupta
208f24056e Bug 960146. r=kats,wesj 2014-02-20 09:36:48 -05:00
Wes Johnston
c89afdba0a Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats 2014-02-11 09:16:00 -08:00
Brad Lassey
b6c73069fb bug 868341 - pinch to zoom jumps all over page randomly r=mfinkle,kats 2013-12-12 01:43:44 -05:00
Carsten "Tomcat" Book
9fd8972b64 Backed out changeset b84baa03b9d1 (bug 868341) for mochitest -4 and bc testfailures 2013-12-20 12:42:16 +01:00
Brad Lassey
b33421e62d bug 868341 - pinch to zoom jumps all over page randomly r=mfinkle,kats 2013-12-12 01:43:44 -05:00
Kartikaya Gupta
cadff49718 Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis 2013-12-16 12:04:46 -05:00
Kartikaya Gupta
e8d55fb2bf Bug 948953 - Allow panning subdocuments in full-screen mode. r=Cwiiis 2013-12-12 17:13:55 -05:00
Wes Johnston
9564dea11f Bug 918079 - Show highlight when overscrolling. r=kats 2013-09-26 22:57:57 -07:00
Wes Johnston
4b30dcd514 Bug 918086 - Disable overscroll when pinch zooming. r=kats 2013-09-23 11:47:05 -07:00
Wes Johnston
efc7ef7ecb Bug 705246 - Disable overscroll when panning. r=kats 2013-09-23 11:46:50 -07:00
Kartikaya Gupta
3e52e9ecce Bug 911510 - Add a pref to override the dead zone threshold. r=bnicholson 2013-09-04 21:58:40 -04:00
Augustin Trancart
63225faa38 Bug 711959 - Make FlingRenderTask time-based. r=kats 2013-09-04 14:07:12 -04:00
Augustin Trancart
cec0057ccf Bug 711959 - Making BounceRenderTask time-based. r=kats 2013-09-04 14:07:12 -04:00
Augustin Trancart
e1f9ff99c0 Bug 711959 - Adapt JavaPanZoomController to use the RenderTask mechanism. r=Cwiiis, kats 2013-09-04 14:07:11 -04:00
Dennis
df143365a5 Bug 845747 - Add the pref "ui.scrolling.negate_wheel_scrollY" to mobile.js so that "scrollY" can be negated in JavaPanZoomController.java to allow a mouse scroll wheel to scroll the screen in the direction of choice depending on the true/false state of "mNegateWheelScrollY". r=kats 2013-08-27 21:01:40 -04:00
Kartikaya Gupta
6db7f3623b Bug 898877 - Prevent pages from getting stuck without the dynamic toolbar. r=Cwiiis
The problematic scenario is when the page is exactly the height of the screen
(with dynamic toolbar not visible). In this case, the scrollable() function in
Axis.java returns false on the vertical axis, and so the JavaPanZoomController
never does any scrolling. This in turns means that the scrollBy code in
LayerMarginsAnimator never gets to run, so you can never drag the toolbar back
into being visible. The patch ensures that scrollable() returns true when some
or all of the margins are not visible, ensuring that in these scenarios the
user can still scroll the toolbar back onto the screen. This patch also adds
some comments/asserts to verify the new code is threadsafe.
2013-08-16 08:42:23 -04:00
Botond Ballo
f86aff9b42 Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats 2013-07-22 22:33:05 -04:00
Chris Lord
fc99017549 Bug 892246 - Allow subdocument scrolling to reveal margins. r=kats
This adds a notification callback to PanZoomTarget that the PanZoomController
can call to notify GeckoLayerClient that a subdocument is being scrolled. This
allows GeckoLayerClient to call LayerMarginsAnimator and alter the margins
accordingly, stopping a page from trapping the toolbar on/off the screen with
a screen-covering subframe.
2013-07-15 17:03:24 +01:00
Kartikaya Gupta
fecc0e72bc Bug 876060 - Handle medium-length taps as clicks. r=Cwiiis 2013-06-03 10:05:59 -04:00