Commit Graph

62 Commits

Author SHA1 Message Date
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
Kartikaya Gupta
67005d3ebd Bug 839641 - Implement the RequestContentRepaint callback for APZC in AndroidBridge. r=Cwiiis 2013-04-26 13:26:46 -04:00
Chris Lord
ed41276fbb Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Ryan VanderMeulen
e376b2bb54 Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
ac2dc65ab2 Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Justin Busby
84554ff57d Bug 755240 - Allow Fennec axis locking behaviour to be controlled by a pref. r=kats 2013-04-14 14:27:02 +01:00
Chris Peterson
e4b56d7c7f Bug 859229 - Part 3: Fix order of Java imports. r=kats 2013-04-08 00:51:56 -07:00
Kartikaya Gupta
516828689a Bug 857217 - Don't move focus to the layerview if joystick input events are in the dead zones. r=Cwiiis 2013-04-03 11:58:59 -04:00
Kartikaya Gupta
07138ded4a Bug 856039 - (Cleanup) Extract magic number. r=Cwiiis 2013-04-01 10:16:00 -04:00
Kartikaya Gupta
3fee154413 Bug 855783 - Map the gamepad second joystick's y-axis to zooming. r=Cwiiis 2013-03-28 17:31:09 -04:00
Kartikaya Gupta
28977477c9 Bug 855783 - Rename autoscroll to autonav so that we can lump autozooming in there too. r=Cwiiis 2013-03-28 17:31:05 -04:00
Kartikaya Gupta
e3ba395974 Bug 802130 - Add a ThreadUtils.isOnUiThread helper function. r=mfinkle 2013-03-15 11:52:53 +01:00
Brian Nicholson
278a2f521d Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
Chris Lord
8bce053427 Bug 716403 - Resize viewport dynamically on Android. r=kats,mfinkle
This causes the viewport size to differ, depending on the length of the page.
This has the effect of pages that size themselves to the size of the window
always having the toolbar visible, making sites like Google Maps more usable.
2013-03-07 10:17:33 +00:00
Chris Lord
2f91bdcb3e Bug 716403 - Make the top of the page accessible with the toolbar visible. r=kats
This makes it possible to scroll to the top of the page with the toolbar visible
in Firefox for Android. It also causes JavaScript scrolling to position 0 to
expose the toolbar.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
076a4bfaee Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE. 2013-03-06 16:11:05 -05:00