Commit Graph

947 Commits

Author SHA1 Message Date
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
Michael Comella
2e3d0f77c2 Bug 1134484 - Replace uses of @color/toolbar_grey. r=liuche
--HG--
extra : rebase_source : e7f563364d929e03957fc6da854d2f8d3ed72981
2015-03-31 16:30:24 -07:00
Michael Comella
b5802db4ec Bug 1134484 - Replaces uses of @color/private_toolbar_grey. r=liuche
--HG--
extra : rebase_source : 113bae20a2ac2fa2b9ee459488a73ff3e4b18b9b
2015-03-31 15:53:59 -07:00
Jeff Muizelaar
0f635aeb33 Bug 1136749. Remove @override to fix build bustage
CLOSED TREE
2015-04-13 12:49:44 -04:00
Jeff Muizelaar
cde4f7028e Bug 1136749. Remove TileLayer. r=kats
This doesn't do anything useful anymore.

--HG--
extra : rebase_source : 78ad15a05985844df839048998437b537618943e
2015-01-30 16:14:15 -05:00
Geoff Brown
e8a073e3c4 Bug 1151910 - Guard against ArrayIndexOutOfBoundsException in testCheck2; r=kats 2015-04-10 14:41:37 -06:00
Jeff Muizelaar
cd9fd377c5 Bug 1136726. Remove PaintMode from TileLayer. r=kats
PaintMode is never changed from the default.

--HG--
extra : rebase_source : 641328d7bcf7ca287afd343d424b2c55ec9766b5
2015-01-30 16:04:44 -05:00
Jeff Muizelaar
3c5ea93a20 Bug 1130820. Move buffered image out of TiledLayer and into ScrollbarLayer. r=kats
mImage is only used by the ScrollbarLayer
2015-01-30 16:00:51 -05:00
Ryan VanderMeulen
c966517190 Merge m-c to inbound. a=merge 2015-02-18 20:35:37 -05:00
Miles Rakestraw
a3ce538de9 Bug 1126290 - Removed PAN_THRESHOLD from JavaPanZoomController, replaced with PanZoomController.PAN_THRESHOLD. r=kats 2015-02-18 13:19:34 -08:00
Geoff Brown
811a8bd0fb Bug 982106 - Avoid intermittent NPE in Android x86 crashtests; r=kats 2015-02-18 16:16:19 -07:00
Mark Finkle
3888d12c92 Bug 1130694 - Remove DB code path from ThumbnailHelper.getAndProcessThumbnailFor and move to Tab class r=rnewman 2015-02-12 10:03:47 -05:00
Jeff Muizelaar
9e603c0955 Bug 1128045. Gut TileLayer by moving most of the functionality into ScrollbarLayer. r=kats
ScrollbarLayer is the only class using this functionality. I'll move the mImage member into ScrollbarLayer in a follow up.
2015-01-30 15:56:22 -05:00
dominique vincent
9a17661533 Bug 1127909 - Nits in ZoomedView code r=kats 2015-02-01 12:19:48 +01:00
Jeff Muizelaar
71de338bfd Bug 1127839. Inline some single use methods. r=kats
These methods are only used from the constructors.
2015-01-30 15:51:38 -05:00
Jeff Muizelaar
f234b302fe Bug 1127005. Rename CairoImage to BufferedImage. r=kats
try: -b do -p android-api-9,android-api-11,android-x86 -u all -t none

--HG--
rename : mobile/android/base/gfx/BufferedCairoImage.java => mobile/android/base/gfx/BufferedImage.java
rename : mobile/android/base/gfx/CairoGLInfo.java => mobile/android/base/gfx/BufferedImageGLInfo.java
extra : rebase_source : 4d0e70549f01af09a76ad47ebfb61970413b10f2
2015-01-28 17:04:50 -05:00
dominique vincent
c2248f4047 Bug 663803 - Comment change and move of convertedPosition in a local variable r=mcomella 2015-01-26 09:54:25 +01:00
dominique vincent
67724cb7a7 Bug 663803 - Zoomed view implementation using render document r=mcomella,snorp 2015-01-21 05:59:23 +01:00
Mark Capella
448ffa6b5d Bug 851861 - v2 - Intermittent testFlingCorrectness, etc al. dragSync() consumers 2015-01-21 19:23:49 -05:00
Kartikaya Gupta
736d16b3fc Bug 1121268 - Back out bug 1120244 for making it impossible to scroll to the bottom of some pages. r=me 2015-01-14 11:12:12 -05:00
Richard Newman
9e5c96b6fd Bug 1077590 - Part 1: make all per-profile DB access go through a profile. r=wesj
* * *
Bug 1077590 - Review comments.

--HG--
rename : mobile/android/base/TabsAccessor.java => mobile/android/base/db/LocalTabsAccessor.java
rename : mobile/android/base/db/URLMetadata.java => mobile/android/base/db/LocalURLMetadata.java
rename : mobile/android/base/TabsAccessor.java => mobile/android/base/db/TabsAccessor.java
2015-01-11 20:45:09 -08:00
Prabhjyot Singh Sodhi
cbc7410b0e Bug 1100315 - Implemented fling curving by mapping physical velocity to a value using the bezier curve. r=kats 2015-01-12 11:27:41 -05:00
Kartikaya Gupta
ecfdf96405 Bug 1120244 - Prevent viewport bounds from going outside the page bounds. r=snorp
In Fennec, we display the dynamic toolbar once we have scrolled to the bottom
of the page. In this configuration, animating in the toolbar should increase
the top margin in the ImmutableViewportMetrics without affecting the
viewportRect[Top|Bottom], because otherwise the scroll position would exceed
the maximum allowed scroll position and the bottom of the viewport would go
past the end of the page. This patch corrects the calculation used to enforce
this.
2015-01-12 11:11:22 -05:00
Carsten "Tomcat" Book
1e4b2b6bcc Backed out changeset 20a66f476346 (bug 1077590)
--HG--
rename : mobile/android/base/db/TabsAccessor.java => mobile/android/base/TabsAccessor.java
2015-01-12 12:52:27 +01:00
Richard Newman
0c15db3ab7 Bug 1077590 - Part 1: make all per-profile DB access go through a profile. r=wesj
* * *
Bug 1077590 - Review comments.

--HG--
rename : mobile/android/base/TabsAccessor.java => mobile/android/base/db/LocalTabsAccessor.java
rename : mobile/android/base/db/URLMetadata.java => mobile/android/base/db/LocalURLMetadata.java
rename : mobile/android/base/TabsAccessor.java => mobile/android/base/db/TabsAccessor.java
2015-01-11 20:45:09 -08:00
Jim Chen
3f60abecb6 Bug 1078304 - Call GeckoAppShell.setLayerView early; r=snorp a=topcrasher,tracking-firefox35 2014-10-22 12:51:43 -04:00
Kartikaya Gupta
4a7f12361f Bug 1116048 - Don't send to SingleTap gesture events if the double-tap-zoom flag changes during the tap. r=bnicholson 2014-12-29 11:11:55 -05:00
Prabhjyot Singh Sodhi
ff2a77f518 Bug 721421 - Accelerated speed of scrolling by multiplying with constant factors in case of quick successive flings;r=kats 2014-12-25 15:51:22 -05:00
Chris Kitching
fdedd36409 Bug 1107398: Stop lying about Robocop and Reflection. r=wesj 2014-12-03 21:58:39 -08:00
James Willcox
b1eba43c9b Bug 1098096 - Add a hack to make overscroll effect work on Android 5.0 r=lucasr 2014-11-20 10:40:50 -06:00
Eugen Sawin
33ce39f7b1 Bug 942736 - Account for hidden margins when validating viewport metrics. r=kats 2014-10-29 14:06:55 +01:00
Chris Kitching
2425aa80a2 Bug 1081582: Fix spelling. r=rnewman 2014-10-12 00:28:29 +01:00
Kartikaya Gupta
67021c3f8f 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
1edb57572c Bug 1081388: Add missing @Override annotations. r=rnewman
* * *
Bug 1081388: Add missing @Override annotations. r=rnewman
* * *
Bug 1081388: Add missing @Override annotations. r=rnewman
2014-10-10 23:58:19 +01:00
Chris Kitching
6bbf98c9e4 Bug 1081406: Remove unnecessary numeric casts. r=rnewman 2014-10-11 00:42:36 +01:00
Chris Kitching
214c5a4c82 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
Wes Kocher
0dadefde36 Merge inbound to m-c a=merge CLOSED TREE 2014-10-10 18:58:06 -07:00
Chris Kitching
a8c06aba32 Bug 1065485: Don't decode-to-encode default favicons. r=rnewman
--HG--
rename : mobile/android/base/resources/drawable-mdpi/bookmarkdefaults_favicon_addons.png => mobile/android/base/resources/raw/bookmarkdefaults_favicon_addons.png
rename : mobile/android/base/resources/drawable-mdpi/bookmarkdefaults_favicon_marketplace.png => mobile/android/base/resources/raw/bookmarkdefaults_favicon_marketplace.png
rename : mobile/android/base/resources/drawable-mdpi/bookmarkdefaults_favicon_support.png => mobile/android/base/resources/raw/bookmarkdefaults_favicon_support.png
2014-09-10 16:10:34 -07:00
Carsten "Tomcat" Book
b37ac43e39 merge fx-team to mozilla-central a=merge 2014-09-30 15:10:47 +02:00
Mark Finkle
348550547a Bug 1074413 - Add null check for Tab when handling potentially stale messages in JavaPanZoomController r=kats 2014-09-29 23:39:34 -04:00
Kartikaya Gupta
3f7c79fa9f Bug 1071758 - Don't send two click events when doing a medium length tap. r=bnicholson 2014-09-29 15:32:44 -04:00
Jeff Muizelaar
b7a6c9b0ba Bug 1080211. Remove a bunch of android gfx code. r=kats
This removes the mostly unused java based
frames per second layer along with related stuff.

--HG--
extra : rebase_source : 3c3ab39e605259128d695f2cac68c4010ac29bf3
2014-10-08 18:03:55 -04:00
Mark Capella
e8fa8da225 Bug 1021804 - Long press on news story links invoke context menu, r=kats, wesj 2014-08-29 17:32:40 -04:00
Chris Kitching
b37f6afd24 Bug 1057086: Improve type safety in UIAsyncTask r=nalexander
--HG--
rename : mobile/android/base/util/UiAsyncTask.java => mobile/android/base/util/UIAsyncTask.java
2014-08-20 08:50:58 -07:00
Frédéric Wang
304b1ca8d3 Bug 1042257 - Part 2: Listen when the user enables/disables accessibility. r=mfinkle 2014-08-20 17:37:32 -07:00
Kartikaya Gupta
2e8831888f Bug 1049887 - Ensure we properly restore the scissor rect state in the GL context after running Java code. r=snorp
The C++ GLContext wrapper doesn't know about the changes to the GL state that the
Java code does, so Java must be careful to restore the GL state to the way
it was. The ScopedGLState RAII code doesn't quite accomplish this because of caching
in the C++ GLContext wrapper, so we have to do this directly from Java code.
2014-08-20 10:38:51 -04:00
Kartikaya Gupta
0c48b5633d Bug 1050797 - Remove some dead code. r=rnewman 2014-08-08 18:15:38 -04:00
Kartikaya Gupta
80b3b6bf72 Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp 2014-08-08 18:15:37 -04:00
Kartikaya Gupta
297a4e1d44 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
Kartikaya Gupta
96362eb56b Bug 1046344 - Unbitrot and rearrange the old APZ glue code in Fennec. r=snorp 2014-08-08 17:42:20 -04:00
Kartikaya Gupta
75179b489f Bug 1046344 - Add a build option to enable the C++ APZ code. r=snorp 2014-08-08 17:41:51 -04:00
Chris Kitching
1c4b9162a4 Bug 1047971: Delete even more redundant field initialisers r=rnewman 2014-08-03 02:21:42 -07:00
Chris Kitching
0c8dff00b8 Bug 1047971: Delete redundant initialisers-to-default-values from constructors r=rnewman 2014-08-03 21:06:05 -07:00
Richard Newman
c1f48dce0b Bug 1042383 - Part 2: use optimizable build-time flags for SDK-dependent code. r=mfinkle 2014-07-30 08:19:35 -07:00
Chris Kitching
c73d45de50 Bug 1041836: Delete redundant initialisers. (generated) r=rnewman 2014-07-25 20:14:47 -07:00
Richard Newman
5ca8f25a34 Bug 1017242 - Part 3: remove API 8 code from gfx. r=kats 2014-07-18 16:47:08 -07:00
Awad Mackie
c817ca3e77 Bug 807990 - Scroll reader mode page by one page on double tap. r=lucasr,cwiiis 2014-07-02 16:13:00 +02:00
Wes Johnston
99152aa1fb Bug 1014712 - Store ms tile image information for showing on about:home. r=rnewman,lucasr 2014-06-10 06:22:47 -07:00
Lucas Rocha
40c4ce3263 Bug 1028710 - Set overscroll color based on tab type (r=mfinkle) 2014-07-03 21:09:24 +01:00
Kartikaya Gupta
e1ac0ad31b Bug 1021085 - Fix up the Fennec code path as well. r=Cwiiis 2014-06-23 08:42:53 -04:00
Richard Newman
ac61ea89ba Bug 1013684 - Delay loading of distribution bookmarks. r=margaret 2014-05-28 15:26:42 -07:00
Kartikaya Gupta
161c8400d7 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
f0e2260c0b Backed out changeset 14a43400007e (bug 859683) for robocop failures. 2014-05-06 15:38:28 -04:00
Kartikaya Gupta
a0e4ae7476 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
Jim Chen
0ff39eef3c Bug 1004073 - Refactor EventDispatcher usages; r=fennec-team 2014-05-02 14:34:40 -04:00
Ted Mielczarek
1dc00c5f8c bug 852935 - Add Android gamepad backend. r=snorp, rs=smaug 2014-04-22 10:53:48 -04:00
Alex Deaconu
435b9006b6 Bug 1000287 - Remove unnecessary log lines from 'GLController'. r=kats 2014-04-24 17:33:14 +03:00
Michael Comella
d2dd1c7253 Bug 999750 - Recycle MotionEvents. r=kats 2014-04-23 18:04:51 -07:00
Wes Johnston
e8bab9e78c backout 8f33ef762433 (Bug 985967) for regressions. r=backout 2014-04-21 08:49:33 -07:00
Kartikaya Gupta
8beb92e033 Bug 995316 - Make GeckoLayerClient package-scoped. r=snorp 2014-04-11 20:49:46 -04:00
Kartikaya Gupta
7f16346f70 Bug 995316 - Expose the OnMetricsChangedListener via LayerView instead of GeckoLayerClient. r=snorp 2014-04-11 20:49:44 -04:00
Wes Johnston
7ad5309b01 Bug 985867 - Ensure click events are fired after touch events. r=kats 2014-04-11 14:19:13 -07:00
Mark Capella
ffd4bb0e0c Bug 895463 - (p2) Expose DrawListener in LayerView, r=kats 2014-04-11 10:38:14 -04:00
Alexandru Chiriac
1d47cc9ce2 Bug 897515 - Remove unneeded pixel format set on the LayerView surface holder. r=kats 2014-04-09 08:55:00 +02:00
Kartikaya Gupta
650dde0466 Bug 988800 - Catch and ignore situations where we try to composite on a destroyed LayerRenderer instance. r=Cwiiis 2014-04-03 11:01:07 -04:00
Brad Lassey
81be981df4 bug 928096 - UI for tab streaming, thumbnails in prompt r=mfinkle,wesj 2014-03-31 21:59:41 -04:00
Wes Johnston
90b3798210 Bug 960146. r=kats 2014-03-07 08:32:22 -08:00
Chris Lord
45202a4dfb Bug 960146. r=kats,wesj 2014-02-20 09:36:48 -05:00
Brian Nicholson
e5fcb133eb Backout ab25dcdc319b (bug 960146) for touch event regressions 2014-02-28 13:26:08 -08:00
Brad Lassey
776d77b6b5 bug 977677 - GeckoView can't access some resources it needs r=snorp 2014-02-27 12:19:06 -05:00
Kartikaya Gupta
47dd9a9818 Bug 941995 - Disable double-tapping and click delay on pages that are device-width or narrower. r=mbrubeck,wesj 2014-02-24 19:21:02 -05:00
Richard Newman
6e2d9b16d6 Bug 975774 - Part 6: clean up imports in BitmapUtils. r=trivial 2014-02-22 19:52:55 -08:00
Richard Newman
24a3a1b4db Bug 975774 - Part 5: clean up imports in Axis. r=trivial 2014-02-22 19:52:55 -08:00
Margaret Leibovic
fd79109749 Bug 975173 - (Part 3) Declare local variables as final in getDrawable. r=jdover 2014-02-22 09:41:30 -08:00
Margaret Leibovic
a28f1875e4 Bug 975173 - (Part 2) Always call BitmapLoader.onBitmapFound on the UI thread. r=bnicholson 2014-02-22 09:41:30 -08:00
Kartikaya Gupta
10c6a0d4ee Bug 960146. r=kats,wesj 2014-02-20 09:36:48 -05:00
Wes Johnston
c1bd2f002f Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats
--HG--
rename : mobile/android/base/util/EventDispatcher.java => mobile/android/base/EventDispatcher.java
2014-02-11 09:16:00 -08:00
Chris Kitching
fd89ba61e4 Bug 748100: Augment Favicon decoder with the ability to decode ICO files. r=rnewman 2014-01-18 03:24:28 +00:00
Kartikaya Gupta
3614852956 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
Ryan VanderMeulen
127438a7eb Merge inbound to m-c. 2014-01-16 15:06:12 -05:00
Richard Newman
a0ffe10a47 Bug 959627 - Follow-up: fix typo. r=trivial 2014-01-15 18:28:15 -08:00
Mark Finkle
edb235df5f Bug 959627 - BitmapUtils.getDominantColor can be expensive r=margaret 2014-01-15 21:02:07 -05:00
Mark Finkle
7d8d0b1318 Bug 952878 - LayerRenderer.drawBackground can be expensive during a pageload r=wesj 2014-01-13 09:03:24 -05:00
Chris Lord
1f0078633a Bug 956420 - Fix fixed margins on shorter-than-the-viewport pages. r=kats
If a page is shorter than the screen, but taller than the screen with margins,
and has a fixed position top or bottom bar, it would be offset incorrectly
when scrolling downwards.
2014-01-15 16:58:48 +00:00
Myk Melez
c1dd0eaa2c bug 934756 - implement install/launch/uninstall flows for webapps on Android using synthetic APKs; r=wesj, fabrice
--HG--
extra : rebase_source : d97be65ec4c033f5eca37bc0b6f94979398fcf02
2014-01-09 10:18:55 -08:00
Margaret Leibovic
8f6f3e7a0a Bug 921668 - Use correct BitmapDrawable constructor to ensure correct density is set. r=wesj 2014-01-07 14:12:01 -08:00
Richard Newman
2a4246c9e1 Bug 952878 - Eliminate shadow layer. r=kats 2013-12-26 00:39:23 -08:00
Brad Lassey
be009270b2 bug 868341 - pinch to zoom jumps all over page randomly r=mfinkle,kats 2013-12-12 01:43:44 -05:00