Kartikaya Gupta
c299178f3c
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Chris Peterson
7afa70c90a
Bug 877503 - Add MOZ_FINAL to some Android classes to fix gcc 4.7 warnings-as-errors. blanket-r=ehsan rs=tbsaunde
2013-05-30 11:26:02 -07:00
Kartikaya Gupta
f2b05dd3c0
Bug 797615 - Guard against isBrowserContentDocumentDisplayed returning true prematurely. r=Cwiiis
...
Prior to this change, isBrowserContentDocumentDisplayed returned false
from the time that the isFirstPaint flag was set in layout to the time
that layout handed off the rendered document to the compositor. However
the way the function is used meant that it needs to return false until
the compositor actually composites the "first-paint" rendering,
otherwise other events can sneak in and run before the compositor. This
patch moves the tracking for the flag into GeckoLayerClient so that it
can be queried and modified synchronously from both the Gecko thread in
browser.js and the compositor thread in setFirstPaintViewport.
2013-05-30 09:55:23 -04:00
David Zbarsky
a2fe5c8cd6
Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger
2013-05-17 13:17:53 -07:00
Kartikaya Gupta
af0345221a
Bug 866184 - Update SyncViewportInfo and SyncFrameMetrics to take a gfx::Point instead of floats. r=BenWa
2013-05-01 14:12:08 -04:00
Kartikaya Gupta
f466b9eb6e
Bug 839641 - Add a syncFrameMetrics code path to push viewport changes from APZC to Java. r=Cwiiis, BenWa
2013-04-26 13:26:39 -04:00
Kartikaya Gupta
fde769f293
Bug 839641 - Send touch events and prevent-default notifications to APZC. r=Cwiiis
2013-04-26 13:24:28 -04:00
Chris Lord
ed41276fbb
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Ryan VanderMeulen
e376b2bb54
Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
...
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
ac2dc65ab2
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Kartikaya Gupta
30b0f9b26e
Bug 860940 - Add static factory-style methods to create AndroidGeckoEvent instances in widget code. r=cpeterson
2013-04-17 17:39:12 -04:00
Kartikaya Gupta
9551d0aa6b
Bug 859951 - Split MotionEvent's action into mask and index in Java rather than in JNI code. r=wesj
2013-04-17 17:39:11 -04:00
Kartikaya Gupta
42ac3dde0c
Bug 859951 - Refactor the code to convert MOTION_EVENT GeckoEvents to nsTouchEvent instances. r=wesj
2013-04-17 17:39:10 -04:00
Chris Peterson
e11f4a26f5
Bug 852704 - Part 2: Fix JNI crash caused by DomKeyLocation's change from int to enum. r=blassey
2013-04-09 15:56:03 -07:00
1c54d0083f
Bug 852704: Created Java enums to encapsulate data formerly stored in int constants. r=cpeterson
2013-04-08 13:21:52 -07:00
Jim Chen
8df7bdae47
Bug 842013 - Buffer IME key events and dispatch them at once; r=cpeterson
2013-03-29 10:54:01 -04:00
Jim Chen
59d280fc84
Bug 842013 - Don't add extra modifiers to key press events; r=cpeterson
2013-03-29 10:54:01 -04:00
Kartikaya Gupta
1fc0d9bfd9
Bug 853366 - Clean up activity/app lifecycle events. r=mfinkle,cpeterson
2013-03-26 14:05:10 -04:00
Chris Lord
eb2dba59d4
Bug 852526 - Make sure the compositor starts unpaused and with a size. r=kats
...
This changes compositor creation so that we can specify an initial size and
makes sure the local variable in nsWindow reflects that the compositor starts
unpaused.
2013-03-20 22:45:07 +00:00
Kartikaya Gupta
f79be84fd2
Bug 851180 - Ensure AndroidGeckoEvent::mAckNeeded is always initialized. r=gbrown
2013-03-14 21:19:24 +01:00
Kartikaya Gupta
e8238c7e73
Bug 846774 - Replace the sync event with an ack flag on events. r=cpeterson
2013-03-10 22:43:30 +00:00
Chris Lord
6184953e9e
Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
...
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
076a4bfaee
Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE.
2013-03-06 16:11:05 -05:00
Chris Lord
5647557b0c
Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
...
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-06 16:55:59 +00:00
Ed Morley
42e8716b41
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00
Anthony Jones
1ebb331c24
Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones
2013-03-04 13:25:26 +13:00
Ryan VanderMeulen
a9311d990d
Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE.
2013-03-01 16:09:59 -05:00
Chris Lord
9292e6cf3c
Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
...
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-01 15:46:33 +00:00
Kartikaya Gupta
e52476a95d
Bug 841503 - Delete a bunch of non-OMTC android codepaths. r=BenWa,snorp
2013-02-19 12:35:38 -05:00
Kartikaya Gupta
a0fc935672
Bug 817134 - Remove the low-res screenshotting code. r=blassey
2012-12-15 10:43:52 -05:00
Jim Chen
6f1b286cd0
Bug 818501 - Get composition styles from styles returned by the system; r=cpeterson
2012-12-06 14:35:59 -05:00
Jim Chen
324dab8526
Bug 811755 - Buffer and coalesce IME selection and text changes; r=cpeterson
2012-12-05 11:09:56 -05:00
Chris Lord
b93a4eb638
Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
...
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 22:34:19 +00:00
Ehsan Akhgari
1f225691bd
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
b826ead679
Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
...
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 19:16:52 +00:00
Brad Lassey
1bb9d7af04
bug 812594 - PushLocalFrame in AutoLocalJNIFrame::Push taking more than 100ms when called from AndroidGeckoLayerClient::ProgressiveUpdateCallback on a Samsung Galaxy Q r=kats
2012-11-16 12:13:57 -08:00
Kartikaya Gupta
c737531a99
Bug 810933 - Fix regression in bug 809199 caused by incorrect order of parameters. r=Cwiiis
2012-11-12 18:44:59 -08:00
Kartikaya Gupta
059b7b4378
Bug 809199 - Update the getDisplayPort JNI-called function to take an ImmutableViewportMetrics. r=Cwiiis
2012-11-07 11:47:08 -05:00
Jim Chen
ba0cf3c429
Bug 805162 - b. Redefine Java to Gecko IME events to align with Android IME design; r=blassey
2012-11-01 16:11:02 -04:00
Ed Morley
e878f44e88
Backout 533faa3c50ed, 718abc1bd4ad, af2d5272c06b, ad5554e1345d, c9ef1b41b829, d3a825311d11, 0a51bcb3eb9e, a01a327e8ec4, 973b0ed30b8b, 39851bbcfaa1 & a92d2d2a3b0e (bug 805162), d4884aab5ce6, 06fcbaf40cb4, daccc3fe7c70, 881eb2a2906e, 76232441ae06, 01ae34fa1b3f & 5f405fc4e323 (bug 783092), a03d8d4db1c2, 49beb3801192, 174634554a97, 0bd27e755a83, 19e8f151ca67, a6604e038bc0, ed3b8237e76e & 082cf8d72554 (bug 785945) for bustage or conflicting with backout of said bustage on a CLOSED TREE
2012-11-01 00:16:35 +00:00
Jim Chen
88ee5fa064
Bug 805162 - b. Redefine Java to Gecko IME events to align with Android IME design; r=blassey
2012-10-31 17:35:31 -04:00
Chris Lord
21206f0dbd
Bug 749063 - Replace shouldAbort with generic callback for progressive updates. r=bgirard
...
Replace ShouldAbortProgressiveUpdate with ProgressiveUpdateCallback, that
provides more contextual information about how the update will get used.
2012-10-15 09:33:34 +01:00
Chris Lord
b340e19da3
Bug 794130 - Fix intermittent crash in AndroidBridge::ShouldAbortProgressiveUpdate. r=blassey
...
I messed up the JNI code in AndroidJavaWrappers for this function. It was
always returning false and sometimes crashing.
2012-10-05 15:41:03 +01:00
Chris Lord
4831ec5cb7
Bug 794130 - Abort drawing if appropriate when using progressive tile updates. r=bgirard,blassey
...
Add a function to BasicLayerManager to check if it's appropriate to abort an
ongoing progressive update, and add an Android-specific implementation in
mobile/android/base/gfx/GeckoLayerClient.java.
2012-10-04 14:45:16 -04:00
Wes Johnston
7f5ef1bd9e
Bug 784887 - Use Native Gesture detector for MozGesture events. r=blassey
2012-10-02 13:18:21 -07:00
Benoit Girard
789871769f
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Brad Lassey
75c91e8bb9
bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle
2012-09-12 23:47:08 +02:00
Chris Peterson
d7d7599683
Bug 778980 - Part 3: Fix gcc -Wconversion-null warnings in widget/android. r=blassey
2012-09-14 12:02:51 -07:00
Christian Vielma
7adb86db5a
Bug 756504 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson
2012-09-12 17:48:29 -07:00
Chris Peterson
9942228d6a
Backout 3875fa9aaec1 (changeset author is Christian Vielma, not Chris Peterson). a=oops
2012-09-12 17:40:41 -07:00