Commit Graph

703 Commits

Author SHA1 Message Date
Richard Newman
74b997bffe Bug 886155 - GeckoSubdocumentScrollHelper logspew. r=kats 2013-06-23 23:39:14 -07:00
Kartikaya Gupta
709894d739 Bug 882120 - Apply rounding to the layer-pixel rect in Java to fix robopan regression. r=kentuckyfriedtakahe 2013-06-18 09:27:45 -04:00
Wes Johnston
e2c420c39b Bug 874401 - Show an ongoing notification when webrtc is active. r=mfinkle 2013-06-11 12:14:43 -07:00
Kartikaya Gupta
dc77049db1 Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe 2013-06-11 09:46:51 -04:00
Kartikaya Gupta
7747c1fe52 Bug 876348 - Fix possible NPE in GLController. r=snorp 2013-06-05 12:07:04 -04:00
Kartikaya Gupta
f7d4c267eb Bug 876060 - Handle medium-length taps as clicks. r=Cwiiis 2013-06-03 10:05:59 -04:00
Kartikaya Gupta
059609fb24 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
Kartikaya Gupta
0b742ebed4 Bug 797615 - Cosmetic cleanup for the getDisplayPort JNI wrapper. r=Cwiiis 2013-05-30 09:55:08 -04:00
Chris Lord
b2f308ce7c Bug 868998 - Expose the dynamic toolbar after a certain distance. r=kats
Instead of only exposing the toolbar when scrolling from the top quarter of the
screen, always expose the toolbar, but only after a certain distance.
2013-05-30 12:53:24 +01:00
Kartikaya Gupta
245c63df69 bug 867517 - Gecko-based WebView for Android, move touch handling to LayerView r=blassey 2013-05-30 00:34:02 -04:00
Ehsan Akhgari
9b848f5568 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Chris Lord
be07b8c1ba Bug 803299 - Enable 32-bit colour on Android. r=kats
--HG--
extra : rebase_source : e494442a5ae7c906465f31924e4f54d815130972
2013-05-29 15:25:40 +01:00
Trevor Saunders
4b16c76fb3 backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord
baaafdbe93 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-28 18:50:16 +01:00
Brad Lassey
f44d8af825 bug 867517 - Gecko-based WebView for Android, refactor patch r=mfinkle 2013-05-24 12:21:01 -04:00
Chris Peterson
66bbeccb91 Bug 863154 - Part 2: Catch Bitmap OOMs when decoding resources. r=mfinkle 2013-05-07 18:30:47 -07:00
Chris Peterson
015eb3c581 Bug 863154 - Part 1: Catch Bitmap OOMs when decoding streams. r=mfinkle 2013-05-07 18:29:48 -07:00
Ryan VanderMeulen
83454cd58f Backed out changesets 0cb5418906cf and 3c366c865e73 (bug 803299) for Android bustage.
CLOSED TREE
2013-05-02 15:45:20 -04:00
Chris Lord
0cf6a2de89 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-02 18:25:16 +01:00
Margaret Leibovic
eac18525f4 Bug 867249 - Improve getDominantColor algorithm to return more accurate colors. r=bnicholson 2013-05-02 11:53:13 -07:00
Kartikaya Gupta
0ee373919f Bug 867685 - Ensure setIsRTL updates the viewport metrics atomically. r=Cwiiis 2013-05-01 15:33:49 -04:00
Kartikaya Gupta
c17af26445 Bug 867685 - Use getLock() instead of this when modifying the viewport metrics for clarity. r=Cwiiis 2013-05-01 15:33:48 -04:00
Chris Lord
67370dd0ec Bug 850783 - Fix the dynamic toolbar causing clipping of the scrollbar. r=kats 2013-04-29 15:18:23 +01:00
Chris Lord
1667cc97ca Bug 865298 - Don't allow margins to scroll on small pages. r=kats
Bug 858969 regressed this behaviour. Margins that are smaller than the screen
size should have pinned margins.
2013-04-29 15:18:23 +01:00
Chris Lord
dfd089e364 Bug 865298 - Add an 'active area' for margin exposing. r=kats
This stops margins from being exposed unless the drag was started in an area
of the viewport that's near said margin. The margins will always be exposed
when reaching the edge of the page.
2013-04-29 15:18:23 +01:00
Chris Lord
a2672e22b1 Bug 865298 - Allow multiple touch interceptors on LayerView. r=kats 2013-04-29 15:18:23 +01:00
Kartikaya Gupta
c4ff270851 Bug 839641 - Implement the PostDelayedTask callback for APZC in AndroidBridge. r=Cwiiis, blassey 2013-04-26 13:26:46 -04:00
Kartikaya Gupta
084c16d781 Bug 839641 - Implement the RequestContentRepaint callback for APZC in AndroidBridge. r=Cwiiis 2013-04-26 13:26:46 -04:00
Kartikaya Gupta
5d262f9292 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
64acbc32d5 Bug 839641 - Send touch events and prevent-default notifications to APZC. r=Cwiiis 2013-04-26 13:24:28 -04:00
Kartikaya Gupta
909ef092fe Bug 839641 - Add a stub NativePanZoomController class to start Java bindings to APZC. r=Cwiiis 2013-04-26 13:24:28 -04:00
Chris Lord
cb9c55afb6 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
Chris Peterson
df48e96785 Bug 863288 - Add sanity checks and error logging for bitmap decoding. r=mfinkle 2013-04-22 18:03:01 -07:00
Ryan VanderMeulen
4b7c54d033 Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
5671b1d883 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
Phil Ringnalda
3ca1d22661 Back out e64522db8661 (bug 863288) for robocop-1 hangs 2013-04-23 20:52:59 -07:00
Chris Peterson
865aa5b101 Bug 863288 - Add sanity checks and error logging for bitmap decoding. r=mfinkle 2013-04-22 18:03:01 -07:00
Brian Nicholson
830f0c9453 Bug 838793 - Part 1: Convert AboutHomeContent to a Fragment. r=lucasr 2013-04-16 14:34:46 -07:00
Justin Busby
52b6c3eadd Bug 755240 - Allow Fennec axis locking behaviour to be controlled by a pref. r=kats 2013-04-14 14:27:02 +01:00
Chris Peterson
e2995e53e3 Bug 859229 - Part 3: Fix order of Java imports. r=kats 2013-04-08 00:51:56 -07:00
Chris Lord
a0307d1e46 Bug 856497 - Fix dynamic viewport sizing for margin changes. r=kats
The viewport wasn't being recalculated when the viewport margins changed, and
was also subject to some rounding errors. Round off the values before
comparing them (as they're screen pixels), and make sure to update the viewport
when the margins change. Margins were also not correctly being altered when
in overscroll, which could cause bottom-aligned fixed position content to be
incorrectly offset.
2013-04-08 16:35:00 +01:00
Chris Lord
a6862288fd Bug 822810 - Enable low precision rendering in more scenarios. r=kats
This patch matches previous behaviour, but adds the following scenarios:
- When rendering is aborted due to the viewport falling out of the displayport,
  enable low precision rendering.
- When the viewport falls out of the displayport during low precision rendering,
  low precision rendering will be enabled on the next frame.
2013-04-04 18:51:14 +01:00
Kartikaya Gupta
222af36914 Bug 857217 - Don't move focus to the layerview if joystick input events are in the dead zones. r=Cwiiis 2013-04-03 11:58:59 -04:00
Kartikaya Gupta
477e87d8ab Bug 856039 - Default to keeping the fixed layer margins in setViewportMetrics. r=Cwiiis 2013-04-01 10:17:38 -04:00
Kartikaya Gupta
38664365cb Bug 856039 - Guard against viewport size changes getting clobbered by animations. r=Cwiiis 2013-04-01 10:17:03 -04:00
Kartikaya Gupta
3983b46b9c Bug 856039 - (Cleanup) Extract magic number. r=Cwiiis 2013-04-01 10:16:00 -04:00
Chris Lord
9b2ec9f6dc Bug 854289 - Fix offsetting of viewport with dynamic toolbar. r=kats
Make sure to offset the viewport *after* setting the Gecko viewport on
setFirstPaintViewport callbacks, so that we don't store an incorrect viewport
origin and end up offsetting events incorrectly.

Similarly, on page size updates, the Java-side viewport metrics are used to
update the Gecko metrics, so make sure they're clamped so that they aren't
incorrect during overscroll.
2013-04-01 10:33:19 +01:00
Kartikaya Gupta
6db63a6dca Bug 855783 - Map the gamepad second joystick's y-axis to zooming. r=Cwiiis 2013-03-28 17:31:09 -04:00
Kartikaya Gupta
cab82e7cf8 Bug 855783 - Rename autoscroll to autonav so that we can lump autozooming in there too. r=Cwiiis 2013-03-28 17:31:05 -04:00
Kartikaya Gupta
dc20788173 Bug 855471 - Rename OnInterceptTouchListener to TouchEventInterceptor. r=mfinkle
--HG--
rename : mobile/android/base/OnInterceptTouchListener.java => mobile/android/base/TouchEventInterceptor.java
2013-03-28 12:40:06 -04:00