Commit Graph

892 Commits

Author SHA1 Message Date
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