Wes Kocher
f12076ac2e
Backed out 5 changesets (bug 1209574) for android tpn bustage
...
Backed out changeset fb1f06793a67 (bug 1209574)
Backed out changeset 5f0b32b1acc4 (bug 1209574)
Backed out changeset 657332ea4f59 (bug 1209574)
Backed out changeset 9d2c7ed9cd87 (bug 1209574)
Backed out changeset 8376124b6a0c (bug 1209574)
2015-10-07 09:04:39 -07:00
Jim Chen
d514a62034
Bug 1209574 - Move InputConnectionHandler out of gfx package; r=esawin
...
InputConnectionHandler really doesn't belong in the gfx package, and
the code to call key event handlers really doesn't belong in LayerView.
This patch refactors things, so that InputConnectionHandler is renamed
to org.mozilla.gecko.InputConnectionListener, and the interface is now
used by GeckoView instead of by LayerView.
2015-10-07 08:57:30 -04:00
Kartikaya Gupta
427e64138f
Bug 1201076 - Don't clobber the page rect update if one comes in while in the middle of a bounce animation. r=snorp
...
--HG--
extra : commitid : BgVD6DON2mj
2015-09-28 11:06:37 -04:00
Kartikaya Gupta
711b35cb56
Bug 1201581 - Hook up the syncFrameMetrics call to sync metrics info from the compositor to Java-land on each composite. r=rbarker
...
--HG--
extra : commitid : JByEVaIboTo
2015-09-11 21:58:16 -04:00
Kartikaya Gupta
e45e2f99e5
Bug 1151102 - Add some diagnostic logging. r=snorp
...
--HG--
extra : commitid : HGgmg6anUOh
2015-09-09 23:22:19 -04:00
Kartikaya Gupta
411981b8eb
Bug 1197824 - Stop propagating the default zoom around unnecessarily. r=snorp
...
The default zoom value is only used on the Java side to clamp the min/max zoom
values in the case where zooming is disabled. We can do this much earlier in
the flow, when we are computing the metadata, and reduce the amount of
redundant information being passed around.
--HG--
extra : commitid : AdyBXqXiIaW
2015-09-03 10:30:40 -04:00
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
587a360099
Bug 1197811 - Extract a wrapper for setting the background color on the SurfaceView. r=rbarker
...
--HG--
extra : commitid : 5ZFBWj7Lofh
2015-08-28 17:22:17 -04:00
Kartikaya Gupta
89a588ea02
Bug 1197811 - Extract a wrapper for getting/setting the translation on the LayerView. r=rbarker
...
--HG--
extra : commitid : 4TUIGjEccG0
2015-08-28 17:22:17 -04:00
Kartikaya Gupta
7ec5cb2fcf
Bug 1197233 - When fullscreening a video make sure we don't show garbage in the toolbar area. r=rbarker
...
--HG--
extra : commitid : FC0cW3NkINy
2015-08-21 13:21:58 -04:00
Kartikaya Gupta
34c641eba8
Bug 1197176 - Ensure we actually do a composite after resuming the compositor. r=snorp
...
--HG--
extra : commitid : Lgm6qtNog8l
2015-08-21 10:44:23 -04:00
Kartikaya Gupta
9585cdafe9
Bug 1196594 - Complete the toolbar transition as soon as the finger is lifted rather than waiting for the pan/zoom animation to stop. r=rbarker
...
--HG--
extra : commitid : 2FzAgvGDMeD
2015-08-20 16:29:01 -04:00
Kartikaya Gupta
d54ad14fa5
Bug 1180295 - Remove the margins information from ImmutableViewportMetrics. r=rbarker
...
--HG--
extra : commitid : 5VpOP33T9F4
2015-08-18 14:27:20 -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
Kartikaya Gupta
cf36c6c82f
Bug 1180295 - Update the ZoomedView calculations to account for the new dynamic toolbar model. r=rbarker
...
--HG--
extra : commitid : 4yQBBsXcnqs
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
1db1586922
Bug 1180295 - Implement seamless snapping to the stable state. r=rbarker
...
--HG--
extra : commitid : BCRW1BHPhL8
2015-08-18 14:27:20 -04:00
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
9e624195ef
Bug 1180295 - Ensure short pages are dealt with appropriately, so that the toolbar can be made visible but not hidden. r=rbarker
...
--HG--
extra : commitid : Cz2DgpkiEyI
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
c557d5abdd
Bug 1180295 - Ensure that on rotation/resize the CSS viewport is resized to the right size. r=rbarker
...
--HG--
extra : commitid : F2yim0rSeSP
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
5642873d53
Bug 1180295 - Delete the LayerMarginsAnimator class and its dangling entrails. r=rbarker
...
--HG--
extra : commitid : FCBYUNOO8Yr
2015-08-18 14:27:19 -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
Kartikaya Gupta
9881f8e7c2
Bug 1180295 - Stop exposing the old LayerMarginsAnimator from LayerView. r=rbarker
...
--HG--
extra : commitid : gylO6cArx3
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
a526fb3a7c
Bug 1180295 - Hook up the fixed-position layer margins to the DynamicToolbarAnimator. r=rbarker
...
--HG--
extra : commitid : FXNKkhZ5VHl
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
29e63f503a
Bug 1180295 - Store the viewport width and height as integers instead of floats in ImmutableViewportMetrics. r=rbarker
...
--HG--
extra : commitid : 8UdQhaVHspN
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
33054ab6d5
Bug 1180295 - Hook up toolbar show/hide animations to the DynamicToolbarAnimator. r=rbarker
...
--HG--
extra : commitid : FVdyCAO3PMH
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
40983eccc4
Bug 1180295 - Disconnect scrolling notifications going to LayerMarginsAnimator. r=rbarker
...
--HG--
extra : commitid : FegoJSTWCqP
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
3251587c6a
Bug 1180295 - Hook up touch-based scrolling to the new DynamicToolbarAnimator. r=rbarker
...
--HG--
extra : commitid : 426t4Z4evey
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
5408448758
Bug 1180295 - Introduce the skeleton of a DynamicToolbarAnimator class alongside LayerMarginsAnimator. r=rbarker
...
--HG--
extra : commitid : DYB3bubPCEK
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
b4105053c9
Bug 1180295 - Rip out the Fennec code to set the screen render offset. r=rbarker
...
--HG--
extra : commitid : 3e4iu6iVnfs
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
056c55b10f
Bug 1180295 - Rip out call to setContentDocumentFixedPositionMargins. r=rbarker
...
--HG--
extra : commitid : 7uU6xgPVZom
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
a7be4db877
Bug 1180295 - Rip out the FixedMarginsChanged message and all the code that depends on it. r=rbarker
...
--HG--
extra : commitid : 1vLu1rInNDs
2015-08-18 14:27:17 -04:00
Jim Chen
3c57710825
Bug 1191083 - Rename and expand GeckoThread.LaunchState; r=snorp
...
GeckoThread.LaunchState now covers the entire GeckoThread lifetime and
not just launch, so it's renamed to GeckoThread.State. More utility
methods are added to check for the current state.
2015-08-13 00:53:38 -04:00
Mark Capella
b865699f7f
Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen
...
--HG--
rename : mobile/android/base/mozglue/JNITarget.java => mobile/android/base/annotation/JNITarget.java
rename : mobile/android/base/mozglue/RobocopTarget.java => mobile/android/base/annotation/RobocopTarget.java
rename : mobile/android/base/mozglue/WebRTCJNITarget.java => mobile/android/base/annotation/WebRTCJNITarget.java
2015-08-10 19:19:51 -04:00
Mark Capella
f3a5fca399
Bug 1191161 - p3 - Rename / Shorten WrapElementForJNI to WrapForJNI, r=jchen
...
--HG--
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/annotation/WrapForJNI.java
2015-08-07 02:09:08 -04:00
Mark Capella
a715087aff
Bug 1191161 - p1 - Merge WrapEntireClassForJNI into WrapElementForJNI, r=jchen
2015-08-06 01:55:29 -04:00
Kartikaya Gupta
61494b26bd
Bug 1189921 - Get rid of the overscroll color in LayerRenderer. r=mfinkle
2015-08-01 00:03:22 -04:00
Robert O'Callahan
84a1b0dd5a
Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
...
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.
This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.
The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.
--HG--
extra : commitid : 3t3xqRdZs24
extra : rebase_source : b23749613663ca805484776ccf5e36b4ff00e3fe
2015-06-12 03:20:04 +12:00
Michael Comella
3ee4b689fe
Bug 1172831 - Use static scrollbar resource reference. r=liuche
...
--HG--
extra : commitid : 4mF9yK0Uxs
extra : rebase_source : 7f9977bc2f1df9e0ceeb73759f9bc3270cc1e86c
2015-06-23 17:17:02 -07:00
Michael Comella
fa6470ad8a
Bug 864958 - Replace private toolbar background with tabs_tray_grey_pressed. r=mhaigh
...
--HG--
extra : commitid : 5x5BoZ3jjHF
extra : rebase_source : 0e84dcd889e273edc28d910439e6ce8ad8548517
2015-04-23 18:01:23 -07:00
Michael Comella
211b2b667a
Bug 1168497 - Only run LayerMarginsAnimationTask when there is work to do. r?snorp
...
Before, we'd run this animate the dynamic toolbar over a specified duration
even if the dynamic toolbar was not actually animating anywhere. Thus, this
patch reduces excess work when the dynamic toolbar is not scrolled out of
place (e.g. onPanZoomStopped, onLocationChange, onTabChanged). This reduced
work includes allocating the RenderTask only when we need it.
--HG--
extra : commitid : 3tswkPeE27
extra : rebase_source : e0ffbbfdb8f60e80ef96372d71693aa2ee0490bc
2015-06-09 16:15:28 -07:00
Michael Comella
9852029db4
Bug 1168497 - Change scrollbar fade to be time-based (250ms). r?snorp
...
This should hopefully improve power consumption and make us act closer to the
system scrollbars.
--HG--
extra : commitid : HibXXfEknav
extra : rebase_source : 6b4df1252df1c4e7fe4fb718214565289c001657
2015-06-08 12:12:43 -07:00
Jim Chen
eda68cee3d
Bug 1166309 - Make GeckoJarReader load mozglue if necessary; r=mfinkle r=rnewman
2015-06-10 00:25:01 -04:00
Jim Chen
3e4d973c83
Bug 1166309 - Move gfx mozglue dependency to after Gecko starts; r=snorp
2015-06-10 00:25:01 -04:00
Sebastian Kaspari
5aa15ff7bc
Bug 1169427 - Replace FloatMath.*() calls with calls to Math.*(). r=snorp
...
--HG--
extra : transplant_source : %2B%1A%92%92%CC%D3%9AN%92v%EAr%E2%12%F4I%14%90s%E6
2015-06-02 18:53:59 -07:00
Eitan Isaacson
2d65260813
Bug 879791 - Don't send touchscreen hover events to gecko when accessibility is disabled. r=kats
2015-06-03 13:00:34 -07:00
James Willcox
71ff4eb983
Bug 1163841 - Always call eglInitialize(), but kill the preloading hack (which was crashing before) r=nchen
2015-05-14 14:52:10 -05:00
Danilo Cesar Lemes de Paula
7e66ac4a43
Bug 1162701 - Fix panning on Fennec built with C++ APZ. r=kats
2015-05-11 05:22:00 +02:00
Jim Chen
6c508727e2
Bug 1160349 - Fix NPE due to no selected tab; r=kats
2015-05-05 14:24:09 -04:00
Kartikaya Gupta
ae39f62bce
Bug 1158617
- Don't dispatch a long-press after multiple fingers are down, even if their prevent-default status hasn't been resolved yet. r=bnicholson
2015-04-30 14:45:50 -04:00
James Willcox
6c0557f329
Bug 1159262 - Don't do EGL preloading hack on ICS and higher r=jchen
2015-04-29 10:38:06 -05:00