Commit Graph

180 Commits

Author SHA1 Message Date
Chris Peterson
ff5ec3b0d4 Bug 742036 - Part 2: Add AndroidGeckoEvent::RepeatCount() for KeyEvents. r=masayuki,blassey a=blocking-fennec 2012-04-19 09:56:04 -07:00
Chris Peterson
f8f8a51ad8 Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec 2012-04-18 10:15:15 -07:00
Brad Lassey
a6b7243d70 bug 721654 - Crash in mozilla::AndroidBridge::HandleGeckoMessage, follow up to require a JNI env for nsJNIString constructor r=kats 2012-04-16 18:31:05 -04:00
Ali Juma
ee6e4e172a Bug 735230 - Part 2: Add compositor pause/resume events to Gecko. r=kats 2012-03-28 18:00:32 -04:00
Doug Turner
892c3949f1 Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm 2012-03-20 23:36:17 -07:00
Doug Turner
652e44a263 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm
2012-03-20 23:36:17 -07:00
Matt Brubeck
7c4b6228e2 Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec 2012-03-20 16:59:24 -07:00
Doug Turner
38399075c7 No Bug - Build bustage due to merge of bug 734854. Resync GeckoEvent and AndroidJavaWrappers. r=mbrubeck 2012-03-20 15:26:19 -07:00
Doug Turner
ab37b5fe7e Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm 2012-03-20 14:51:06 -07:00
Doug Turner
763d8ec79d Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm
2012-03-20 14:46:14 -07:00
Mounir Lamouri
de96081e47 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Kartikaya Gupta
3f7e787fc5 Bug 731603 - Save the display port and resolution in the VirtualLayer's mPosition and mResolution fields. r=Cwiiis 2012-03-20 00:07:42 -04:00
Kartikaya Gupta
add569747b Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma 2012-03-20 00:06:56 -04:00
Kartikaya Gupta
05b0f73e37 Bug 731603 - Propagate the resolution of the painted content into syncViewportInfo as well. r=Cwiiis 2012-03-20 00:05:45 -04:00
Mark Finkle
335c2f59ce Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
6ae5197cf9 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Chris Lord
d84dae1cac Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Ryan VanderMeulen
485a3a7c47 Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests. 2012-03-16 17:17:22 -04:00
Chris Lord
f8d4e5d838 Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-16 16:30:23 +00:00
Kartikaya Gupta
8b3253f630 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Kartikaya Gupta
a47d6f09d0 Bug 725095 - Address review comments in the widget code. r=blassey
- Rip out a lot of unused code in AndroidFlexViewWrapper.*
- Simplify the GetViewTransform JNI code
- Move the references to CompositorParent and CompositorThread from AndroidBridge to nsWindow
- Remove a bunch of logging and add some assertions and comments
2012-03-14 00:15:11 -04:00
Kartikaya Gupta
89fb8ab1c5 Bug 733896 - Together with 580381e2805c, this completely backs out b520f34d78f1 and 4f5bd60be09e. r=ehsan 2012-03-12 14:42:37 -04:00
Kartikaya Gupta
7e287d9a19 Bug 732091 - Part 4: Add JNI-exposed functions on GeckoLayerClient to allow the compositor to update various properties. r=Cwiiis 2012-03-12 11:50:21 -04:00
Kartikaya Gupta
f63794afa3 Take out the code that allows Java to further clip the invalid rect based on visible area.
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603)
2012-02-26 10:47:45 -05:00
Kartikaya Gupta
eb0c3d23f3 Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta
4352728c3b Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Kartikaya Gupta
cb302a5c1b Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta
2e203803af Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Ehsan Akhgari
07d06ffe91 Backout changeset b520f34d78f1 but keep the callback parts because they may be useful for other things 2012-02-22 11:35:25 -05:00
Brad Lassey
27683976ba bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
c66e212179 Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Brad Lassey
2b2152d3a4 Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari
f5fd405a30 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Brad Lassey
0db634c763 [mq]: meta_viewport_query 2012-02-18 18:32:50 -05:00
Brad Lassey
8ded1f80e4 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
593992e903 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton
640e642b7d Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Kartikaya Gupta
d82e6e4e91 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta
6154f5beb3 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Doug Turner
33f900dc57 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Brad Lassey
cff653877d bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Patrick Walton
aba8a71e48 Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations 2012-02-13 20:20:38 -08:00
Patrick Walton
926bd1675b Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Patrick Walton
8c95b641e1 Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
a986e4bb7a Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Benoit Girard
db6e6f7a54 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Patrick Walton
99dac3d363 Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Patrick Walton
26896c5103 Add a virtual layer and GL layer client implementation 2012-02-03 15:48:26 -08:00
Patrick Walton
39225caccc Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Patrick Walton
9b354ce67e Pull parts of GeckoSoftwareLayerClient that will be used for GL layers into a generic GeckoLayerClient class 2012-02-02 22:07:05 -08:00