Matt Brubeck
950e01ee8a
Bug 765407 - Don't setOnDoubleTapListener(null); fixes crash in GestureDetector [r=kats]
2012-06-18 09:54:48 -07:00
Kartikaya Gupta
78fc09d742
Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis
2012-05-23 10:49:52 -04:00
Kartikaya Gupta
0f2c633486
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
42c7a60dd5
Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis
2012-05-23 10:49:52 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
447fca3d1d
Bug 707571 (part 4) - Use mininum-scale and maximum-scale from <meta name="viewport"> [r=kats]
2012-05-18 08:24:27 -07:00
Matt Brubeck
cca10cf5df
Bug 707571 (part 3) - Disable double-tap listener on pages with user-scalable=no [r=kats]
2012-05-18 08:24:27 -07:00
Matt Brubeck
d3c53ac15c
Bug 707571 (part 2) - Disable zooming for pages with user-scalable=no [r=kats]
2012-05-18 08:24:27 -07:00
Matt Brubeck
bea1efeb46
Back out bug 707571 because of reftest failures
2012-05-18 09:31:27 -07:00
Matt Brubeck
4266b47e4a
Bug 707571 (part 4) - Use mininum-scale and maximum-scale from <meta name="viewport"> [r=kats]
2012-05-18 08:24:27 -07:00
Matt Brubeck
8c8aa45c09
Bug 707571 (part 3) - Disable double-tap listener on pages with user-scalable=no [r=kats]
2012-05-18 08:24:27 -07:00
Matt Brubeck
ef76f07912
Bug 707571 (part 2) - Disable zooming for pages with user-scalable=no [r=kats]
2012-05-18 08:24:27 -07:00
James Willcox
4b0d6b0c67
Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey
2012-04-27 16:04:47 -04:00
Joe Drew
0d5dda8fca
Bug 744439 - Reset the checkerboard colour when we start loading a new page. r=kats a=blocker
...
--HG--
extra : rebase_source : ca294fc3dd36a0d0a299c8247aa72673e115d372
2012-04-23 10:29:14 -07:00
Joe Drew
5268da0002
Bug 745809 - Default to white for checkboard color. r=kats
...
--HG--
extra : rebase_source : a1b7f38fc97f0f0048df000aebc510cbff1b1801
2012-04-23 10:28:15 -07:00
Joe Drew
6885673109
Bug 744939 - Make animatedZoomTo operate in CSS pixels instead of device pixels. r=kats a=blocking-fennec
2012-04-14 13:18:10 -04:00
Joe Drew
5248a80c1d
Bug 744916 - Make the Java viewport keep track of its size in both CSS pixels and device pixels. r=kats
...
--HG--
extra : rebase_source : f733c2a4eadaeaa9c845b83886af8ab335250f85
2012-04-12 16:00:56 -04:00
Kartikaya Gupta
dec4c11b3e
Bug 742019 - Rewrite how we handle touch events so we don't break panning, and don't introduce unnecessary latency. r=wesj
2012-04-07 03:09:26 -04:00
Kartikaya Gupta
879f2209f2
Bug 741400 - Guard against NullPointerException, and also move some code so it shouldn't happen. r=mfinkle
2012-04-04 11:55:40 -04:00
Kartikaya Gupta
4074333e81
Bug 737577 - Set the display port before bouncing rather than after. r=Cwiiis
2012-04-02 17:14:33 -04:00
Kartikaya Gupta
49319e3671
Bug 729528 - Delete some unneeded things. r=Cwiiis
2012-03-26 13:15:50 -04:00
Kartikaya Gupta
0d6885cc9e
Bug 729528 - Add an alternate code path (selected at compile-time) to render low-res content while panning. r=Cwiiis
2012-03-26 13:15:50 -04:00
Kartikaya Gupta
b314281113
Bug 729528 - Move displayport calculation and comparison code into a DisplayPortCalculator class. No functional changes intended. r=Cwiiis
2012-03-26 13:15:50 -04:00
Kartikaya Gupta
11ef39eb64
Bug 729528 - Add a DisplayPortMetrics to track the requested display resolution along with the area. r=Cwiiis
2012-03-26 13:15:49 -04:00
Kartikaya Gupta
7968d9bc1e
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
e5c84b3aae
Bug 736125 - Fix Java 7 compile warnings. r=sriram
2012-03-15 15:01:52 -04:00
Kartikaya Gupta
0435827509
Bug 735612 - Remove unneeded call to notifyLayerClientOfGeometryChange. r=Cwiiis
2012-03-15 10:43:32 -04:00
Kartikaya Gupta
f8a8d4a442
Bug 725095 - Various fixes to get maple ready to land on m-c. r=Cwiiis
...
- Disable fps layer.
- Add some comments to FlexibleGLSurfaceView.
- Get rid of getBufferSize and some other related cleanup.
- Add some comments to compositor-invoked functions in GeckoLayerClient.
- Take out unnecessary parameters to Rect constructor.
- Move class variable initialization to constructor.
- Take out kUsingGLLayers.
- Add a comment about changes in background color.
- Fix up convertViewPointToLayerPoint to be more correct.
- Add note in setPositionAndResolution about how it might be wrong.
- Modify provideEGLSurface to not store the surface in mEGLSurface.
- Remove some unneeded, commented out code in GLThread.
2012-03-12 16:20:19 -04:00
Kartikaya Gupta
75d5d024ed
Bug 732564 - Align the rotation/resize codepath with The Grand Viewport Plan of 2012. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
64b509355a
Bug 732564 - Make sure to update the display port when we get a viewport update. r=Cwiiis
2012-03-12 12:03:38 -04:00
Jeff Muizelaar
3e461e7948
Bug 732576. make getViewTransform fast. r=kats
...
This removes the logging, locking and allocations from getViewTransform.
This reduces the time spent from an median of 6.3ms to 0.061ms
We use a new scheme where the view transform is immutable and the member
variable containing it is atomically overwritten. So we may get a slightly old
view transform but this won't be a problem.
2012-03-02 14:31:27 -05:00
Benoit Girard
921124c30e
Bug 733184 - Remove more logging from widget. r=pcwalton
2012-03-05 19:58:18 -05:00
Benoit Girard
3daa99ec38
Merge mc->maple
2012-03-01 10:44:44 -05:00
Kartikaya Gupta
3a1dd894f2
Bug 731619 - Fix race condition where flags are cleared before they are set. r=ehsan
2012-02-29 16:26:02 -05:00
Benoit Girard
475d958691
Bug 730967 - Don't recompute checkerboard color every frame. r=pwalton
...
--HG--
extra : rebase_source : 1c8251bb2e84e0039185ffe9f80d43f52d7c2bcf
2012-02-28 19:17:58 -05:00
Kartikaya Gupta
7fca225f10
Bug 730687 - Hook up the aboutToCheckerboard code again. r=Cwiiis
2012-02-28 16:14:14 -05:00
Kartikaya Gupta
b54adee8aa
Merge the origin (Point) and size (IntSize) properties of Layers into a single position (Rect) property.
...
Not only does this reduce the amount of cruft needed while getting and setting these properties, it
makes the code more consistent because we don't have half of this stored in the Layer base class and
the other half provided by an abstract method implementation in subclasses. Furthermore, this
allows the VirtualLayer size to be updated based on the area painted by gecko rather than remaining
fixed at the view size when the virtual layer was created.
2012-02-26 10:47:47 -05:00
Ehsan Akhgari
21df951827
Bug 728614 - Fix the zoom level when the device rotates on pages with <meta viewport> information; r=kats
2012-02-22 13:13:16 -05:00
Benoit Girard
d55e42e1bd
mCheckerboardShouldShowChecks should default to true. DONTBUILD
2012-02-21 16:19:23 -05:00
Chris Lord
1cd5a15deb
Bug 728978 - Fix scrollToFocusedInput in browser.js. r=mfinkle
...
This fixes scrollToFocusedInput by doing the extra scrolling that scrollIntoView
can't do (due to the way we zoom), and by making sure the events land in the
right order.
2012-02-21 16:46:48 +00:00
Ehsan Akhgari
0699b06da9
Fix clicking
2012-02-20 17:47:32 -05:00
Kartikaya Gupta
ebc21570a5
(Part 2) Stop PlaceholderLayerClient from extending LayerClient since it has nothing in common with GeckoLayerClient and makes a mockery of OOP
2012-02-17 09:56:47 -05:00
Kartikaya Gupta
a5b438d771
(Part 1) Get rid of LayerController.getLayerClient()
2012-02-17 09:32:24 -05:00
Doug Turner
222fba130c
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Patrick Walton
fa07e9b633
Don't render while pinching. Reduces jank and makes zooming easier to debug.
2012-02-13 22:48:00 -08:00
Benoit Girard
2f35d690b6
Merge m-c into maple
2012-02-08 16:43:22 -05:00
Benoit Girard
9b2cd37240
Remove RemoveAbstractView, pushing new head
2012-02-08 10:46:26 -05:00
Benoit Girard
7768764c56
merge mc into kiwifox
2012-01-31 13:55:51 -05:00
Benoit Girard
cc153dc324
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
Kartikaya Gupta
023caa61db
Bug 708687 - Snap the page when the page size changes and pushes it into overscroll. r=pcwalton
2012-01-30 23:43:36 -05:00