Commit Graph

197 Commits

Author SHA1 Message Date
Kartikaya Gupta
54c1024407 Bug 1151102 - Add some diagnostic logging. r=snorp 2015-09-09 23:22:19 -04:00
Kartikaya Gupta
f01f76c98f 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.
2015-08-28 17:22:17 -04:00
Kartikaya Gupta
4eff4b6bd7 Bug 1197811 - Extract a wrapper for setting the background color on the SurfaceView. r=rbarker 2015-08-28 17:22:17 -04:00
Kartikaya Gupta
1cab41b6dd Bug 1197811 - Extract a wrapper for getting/setting the translation on the LayerView. r=rbarker 2015-08-28 17:22:17 -04:00
Kartikaya Gupta
5d356ef82e Bug 1180295 - Update the ZoomedView calculations to account for the new dynamic toolbar model. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
67894e890b Bug 1180295 - Ensure short pages are dealt with appropriately, so that the toolbar can be made visible but not hidden. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
b296cc12ff Bug 1180295 - Stop exposing the old LayerMarginsAnimator from LayerView. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
ed9de4a558 Bug 1180295 - Hook up toolbar show/hide animations to the DynamicToolbarAnimator. r=rbarker 2015-08-18 14:27:18 -04:00
Kartikaya Gupta
fe907f6db7 Bug 1180295 - Hook up touch-based scrolling to the new DynamicToolbarAnimator. r=rbarker 2015-08-18 14:27:18 -04:00
Kartikaya Gupta
d290ae8625 Bug 1180295 - Introduce the skeleton of a DynamicToolbarAnimator class alongside LayerMarginsAnimator. r=rbarker 2015-08-18 14:27:18 -04:00
Mark Capella
7800d0949d Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen 2015-08-10 19:19:51 -04:00
Mark Capella
68e521a7af Bug 1191161 - p3 - Rename / Shorten WrapElementForJNI to WrapForJNI, r=jchen 2015-08-07 02:09:08 -04:00
Michael Comella
c7f2dbdc68 Bug 1172831 - Use static scrollbar resource reference. r=liuche 2015-06-23 17:17:02 -07:00
Eitan Isaacson
06f4eba6a4 Bug 879791 - Don't send touchscreen hover events to gecko when accessibility is disabled. r=kats 2015-06-03 13:00:34 -07:00
dominique vincent
8ae7eb9fdc Bug 1127909 - Nits in ZoomedView code r=kats 2015-02-01 12:19:48 +01:00
dominique vincent
40e211f525 Bug 663803 - Zoomed view implementation using render document r=mcomella,snorp 2015-01-21 05:59:23 +01:00
Mark Capella
1e39e389c4 Bug 851861 - v2 - Intermittent testFlingCorrectness, etc al. dragSync() consumers 2015-01-21 19:23:49 -05:00
Jim Chen
35e2ad27cd Bug 1078304 - Call GeckoAppShell.setLayerView early; r=snorp a=topcrasher,tracking-firefox35 2014-10-22 12:51:43 -04:00
Chris Kitching
7c226a2c6e Bug 1107398: Stop lying about Robocop and Reflection. r=wesj 2014-12-03 21:58:39 -08:00
Kartikaya Gupta
22b1a2cea1 Bug 1030523 - Back out cset 038356d89dc2 so we properly initialize the compositor when we get a surface. r=snorp 2014-10-14 14:52:05 -04: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
Frédéric Wang
bc8f17b3e7 Bug 1042257 - Part 2: Listen when the user enables/disables accessibility. r=mfinkle 2014-08-20 17:37:32 -07:00
Kartikaya Gupta
89327b19c5 Bug 1049136 - Stop using the TouchEventInterceptor interface in LayerView as it introduces an unnecessary layer of abstraction. r=wesj
This makes it clearer what the implications of returning true from
PanZoomController.onTouchEvent are. Rather than having arbitrary
TouchEventInterceptor implementations stop receiving events, this makes
it clear that the only thing that stops is the events getting delivered
to Gecko.
2014-08-08 18:15:36 -04:00
Chris Kitching
f8a90e1478 Bug 1047971: Delete even more redundant field initialisers r=rnewman 2014-08-03 02:21:42 -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
Richard Newman
df6da231b9 Bug 1017242 - Part 3: remove API 8 code from gfx. r=kats 2014-07-18 16:47:08 -07: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
Ted Mielczarek
8115881654 bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Kartikaya Gupta
446fee130d Bug 995316 - Make GeckoLayerClient package-scoped. r=snorp 2014-04-11 20:49:46 -04:00
Kartikaya Gupta
bbc29c5e9e Bug 995316 - Expose the OnMetricsChangedListener via LayerView instead of GeckoLayerClient. r=snorp 2014-04-11 20:49:44 -04:00
Mark Capella
4107dabc82 Bug 895463 - (p2) Expose DrawListener in LayerView, r=kats 2014-04-11 10:38:14 -04:00
Alexandru Chiriac
b0d19548a2 Bug 897515 - Remove unneeded pixel format set on the LayerView surface holder. r=kats 2014-04-09 08:55:00 +02:00
Wes Johnston
c89afdba0a Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats 2014-02-11 09:16:00 -08:00
Kartikaya Gupta
195b0f54ed Bug 936008 - Avoid NPE when getting a zoom constraints update before the LayerView is fully initialized. r=wesj 2014-01-16 16:14:08 -05:00
Richard Newman
d47d369f71 Bug 952878 - Eliminate shadow layer. r=kats 2013-12-26 00:39:23 -08:00
Brad Lassey
6738a640be bug 944104 - support creating a GeckoView programmatically, follow up to have just one LayerView constructor r=mfinkle 2013-12-11 21:03:56 -05:00
Brad Lassey
2b320172f6 bug 944104 - support creating a GeckoView programmatically r=mfinkle 2013-11-27 17:58:41 -05:00
Michael Comella
00e1b2cff0 Bug 938827 - Part 10: Remove remaining reflection from FennecNativeActions. r=rnewman 2013-12-06 11:43:12 -08:00
Michael Comella
27535fefd2 Bug 938827 - Part 1: Get LayerView in getSurfaceView. r=rnewman 2013-12-06 11:43:10 -08:00
Taylor Skidmore
2ab2cf0dff Bug 941795 - Simple rename of LayerView.show/hide to LayerView.showSurface/hideSurface. r=mcomella 2013-11-21 14:18:40 -05:00
Chris Kitching
36b664650d Bug 913985: Part 1 - Introduce a nicer annotation API for the generator, and migrate all existing annotations to it. r=kats 2013-11-12 10:40:59 -08:00
Carsten "Tomcat" Book
7ec66eb7fc merge fx-team to mozilla-central 2013-11-21 14:32:10 +01:00
Benoit Jacob
9c8955e568 Bug 834243 - avoid calling serverSurfaceChanged before the compositor is created - r=vladv 2013-11-20 17:50:54 -05:00
Brad Lassey
d42732a592 bug 930059 - Overscroll.java doesn't need to use compatibility libraries r=wesj 2013-10-23 18:12:28 +02:00
Ryan VanderMeulen
4501219603 Backed out 7 changesets (bug 913985) for intermittent Android crashes.
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
2013-11-19 10:56:09 -05:00
Chris Kitching
8564411bbc Bug 913985 - Part 1: introduce a nicer annotation API for the generator, and migrate all existing annotations to it. r=kats 2013-11-12 10:40:59 -08:00
Benoit Jacob
7218724189 Bug 834243 - back out part 8/8 of bug 925608 on suspiscion that it may be causing EGLSurface creation failures causing crashes on bug 834243 - no review, backing out recent change 2013-11-18 17:57:59 -05:00
Benoit Jacob
02eff6fdee Bug 925608 - 8/8: remove mServerSurfaceValid - r=kats 2013-11-15 11:29:01 -05:00