Commit Graph

22 Commits

Author SHA1 Message Date
Kartikaya Gupta
5ba8c32366 Bug 1180295 - Ensure we don't scroll past the end of the page. r=rbarker
--HG--
extra : commitid : 1y6f6Li4Zl4
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
6cf72f3a6f Bug 1180295 - Remove the unneeded margin code from JavaPanZoomController and Axis. r=rbarker
--HG--
extra : commitid : Bfkmg6iXCsr
2015-08-18 14:27:19 -04:00
Prabhjyot Singh Sodhi
cbc7410b0e Bug 1100315 - Implemented fling curving by mapping physical velocity to a value using the bezier curve. r=kats 2015-01-12 11:27:41 -05:00
Prabhjyot Singh Sodhi
ff2a77f518 Bug 721421 - Accelerated speed of scrolling by multiplying with constant factors in case of quick successive flings;r=kats 2014-12-25 15:51:22 -05:00
Chris Kitching
6bbf98c9e4 Bug 1081406: Remove unnecessary numeric casts. r=rnewman 2014-10-11 00:42:36 +01:00
Chris Kitching
214c5a4c82 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
Richard Newman
24a3a1b4db Bug 975774 - Part 5: clean up imports in Axis. r=trivial 2014-02-22 19:52:55 -08:00
Wes Johnston
5edd4c1dab Bug 918079 - Show highlight when overscrolling. r=kats 2013-09-26 22:57:57 -07:00
Wes Johnston
4dc4c594f2 Bug 705246 - Disable overscroll when panning. r=kats 2013-09-23 11:46:50 -07:00
Nathan Froyd
68cdae3b1c Bug 906088 - part 1 - pass String[] to PrefsHelper.getPrefs wherever possible; r=blassey
We want JSONArray to go away, since we're going to be transferring strings via JNI.
2013-09-04 09:56:27 -04:00
Kartikaya Gupta
9b3ca00d14 Bug 913228 - Fix floating point math to not round to zero accidentally. r=autra 2013-09-06 12:43:06 -04:00
Augustin Trancart
f504611545 Bug 711959 - Make FlingRenderTask time-based. r=kats 2013-09-04 14:07:12 -04:00
Nathan Froyd
7ec6b9edf1 Bug 908919 - Backout 1117002f074f:c03239a1493a (bug 906088) for causing Ts regressions; r=performance-is-job-1 2013-08-26 14:07:34 -04:00
Nathan Froyd
5111d25648 Bug 906088 - part 1 - pass String[] to PrefsHelper.getPrefs wherever possible; r=blassey 2013-08-16 10:39:02 -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
Kartikaya Gupta
947c87a01f Bug 815862 - Bump up max allowed scrolling acceleration to deal with high-dpi devices. r=Cwiiis 2013-03-15 23:21:03 +01:00
Kartikaya Gupta
1d927865e6 Bug 805479 - When calculating the initial fling velocity use an average of recent velocities to work around bad input events. r=Cwiiis 2013-03-12 11:16:28 +00:00
Ryan VanderMeulen
35fc52b0e7 Backed out 2 changesets (bug 815862, bug 805479) for making bug 768459 nearly perma-fail on Android 2.2 opt. 2013-03-12 11:05:03 -04:00
Kartikaya Gupta
01a5ffd9b3 Bug 815862 - Bump up max allowed scrolling acceleration to deal with high-dpi devices. r=Cwiiis 2013-03-12 11:18:12 +00:00
Kartikaya Gupta
8311385a1e Bug 805479 - When calculating the initial fling velocity use an average of recent velocities to work around bad input events. r=Cwiiis 2013-03-12 11:16:28 +00:00
Kartikaya Gupta
4224112190 Bug 831781 - Add support for ouya gamepad joystick-based scrolling. r=Cwiiis 2013-03-01 22:50:48 -05: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