Commit Graph

7 Commits

Author SHA1 Message Date
Kartikaya Gupta
42112ad989 Bug 1197811 - Turn the LayerView into a ScrollView that scrolls to shift the surface rather than using setTranslation. r=rbarker
On Gingerbread devices (Android API 9 or 10) the ViewHelper.setTranslationY code
doesn't work to move the SurfaceView. In order to acheive that effect I turned
LayerView into a ScrollView with a dummy element at the top, and allow it to
scroll. This allows the SurfaceView to move as desired. A few places in the code
were assuming that the LayerView and SurfaceView were always at the same screen
location (which was true before but not any more) and so those sites needed
some updating as well.

--HG--
extra : commitid : Jpr1k74MOAD
2015-08-28 17:22:17 -04:00
Kartikaya Gupta
2cb02dbf56 Bug 1180295 - Fix up the overscroll edge effect. r=rbarker
--HG--
extra : commitid : IA0frj2geUU
2015-08-18 14:27:20 -04:00
James Willcox
b1eba43c9b Bug 1098096 - Add a hack to make overscroll effect work on Android 5.0 r=lucasr 2014-11-20 10:40:50 -06:00
Chris Kitching
1edb57572c Bug 1081388: Add missing @Override annotations. r=rnewman
* * *
Bug 1081388: Add missing @Override annotations. r=rnewman
* * *
Bug 1081388: Add missing @Override annotations. r=rnewman
2014-10-10 23:58:19 +01:00
Richard Newman
c1f48dce0b Bug 1042383 - Part 2: use optimizable build-time flags for SDK-dependent code. r=mfinkle 2014-07-30 08:19:35 -07:00
Brad Lassey
0f8d21e4e6 bug 930059 - Overscroll.java doesn't need to use compatibility libraries, follow up to not use invalidateAfterAnnimation on ICS r=wesj 2013-11-20 14:35:10 -08:00
Brad Lassey
79ded462ff bug 930059 - Overscroll.java doesn't need to use compatibility libraries r=wesj
--HG--
rename : mobile/android/base/gfx/Overscroll.java => mobile/android/base/gfx/OverscrollEdgeEffect.java
2013-10-23 18:12:28 +02:00