Commit Graph

16 Commits

Author SHA1 Message Date
Kartikaya Gupta
96362eb56b Bug 1046344 - Unbitrot and rearrange the old APZ glue code in Fennec. r=snorp 2014-08-08 17:42:20 -04:00
Kartikaya Gupta
161c8400d7 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
f0e2260c0b Backed out changeset 14a43400007e (bug 859683) for robocop failures. 2014-05-06 15:38:28 -04:00
Kartikaya Gupta
a0e4ae7476 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
Chris Lord
45202a4dfb Bug 960146. r=kats,wesj 2014-02-20 09:36:48 -05:00
Brian Nicholson
e5fcb133eb Backout ab25dcdc319b (bug 960146) for touch event regressions 2014-02-28 13:26:08 -08:00
Kartikaya Gupta
10c6a0d4ee Bug 960146. r=kats,wesj 2014-02-20 09:36:48 -05:00
Augustin Trancart
1d8dcbd4e7 Bug 711959 - Adapt JavaPanZoomController to use the RenderTask mechanism. r=Cwiiis, kats 2013-09-04 14:07:11 -04:00
Kartikaya Gupta
67889faa26 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
Chris Lord
4a19924c66 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
c4ff270851 Bug 839641 - Implement the PostDelayedTask callback for APZC in AndroidBridge. r=Cwiiis, blassey 2013-04-26 13:26:46 -04:00
Kartikaya Gupta
084c16d781 Bug 839641 - Implement the RequestContentRepaint callback for APZC in AndroidBridge. r=Cwiiis 2013-04-26 13:26:46 -04:00
Chris Lord
cb9c55afb6 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
4b7c54d033 Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
5671b1d883 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
Kartikaya Gupta
b632aa53c4 Bug 777468 - Move mobile/android/base/ui/* to mobile/android/base/gfx/. r=Cwiiis
--HG--
rename : mobile/android/base/ui/Axis.java => mobile/android/base/gfx/Axis.java
rename : mobile/android/base/ui/PanZoomController.java => mobile/android/base/gfx/PanZoomController.java
rename : mobile/android/base/ui/PanZoomTarget.java => mobile/android/base/gfx/PanZoomTarget.java
rename : mobile/android/base/ui/SimpleScaleGestureDetector.java => mobile/android/base/gfx/SimpleScaleGestureDetector.java
rename : mobile/android/base/ui/SubdocumentScrollHelper.java => mobile/android/base/gfx/SubdocumentScrollHelper.java
2013-02-08 09:11:43 -05:00