Commit Graph

19 Commits

Author SHA1 Message Date
Chris Peterson
f5549b06dc Bug 779366 - Part 1: Move FloatUtils to org.mozilla.gecko.util package. r=kats
--HG--
rename : mobile/android/base/FloatUtils.java => mobile/android/base/util/FloatUtils.java
2012-07-27 21:57:47 -07:00
Chris Peterson
20927a2f40 Bug 778472 - Part 3: Standardize order of import statements: org.mozilla, com, net, org, android, java. r=mfinkle 2012-07-27 17:53:54 -07:00
Kartikaya Gupta
84ade9c45e 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
04a457fab1 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
d7e205e633 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
8c34304689 Bug 749429 - Increase displayport size multiplier default to 2000 for fixed-margin and velocity-bias. r=Cwiiis 2012-04-28 01:02:19 -04:00
Kartikaya Gupta
a3bf19f083 Bug 747528 - Add a PredictionBiasStrategy that uses estimated draw time to paint ahead. r=Cwiiis 2012-04-25 09:53:38 -04:00
Kartikaya Gupta
35a2feec7c Bug 737510 - Expand the displayport to fill any partial tiles. r=Cwiiis 2012-04-23 23:53:44 -04:00
Kartikaya Gupta
ae83f3f0a9 Bug 744390 - Add a configurable danger zone to the velocity-bias strategy. r=Cwiiis 2012-04-14 09:50:04 -04:00
Kartikaya Gupta
ff40dc71d3 Bug 744241 - Make the displayport strategy options preffable. r=Cwiiis 2012-04-13 10:28:10 -04:00
Kartikaya Gupta
eb9ca81204 Bug 733041 - Switch to using the velocity-bias strategy by default. r=Cwiiis 2012-04-10 13:56:28 -05:00
Kartikaya Gupta
49cf07ae0d Bug 733041 - Adjust the velocity bias strategy to keep a small buffer in the opposite direction of the scroll. r=Cwiiis 2012-04-10 13:56:25 -05:00
Kartikaya Gupta
e9436816e4 Bug 740569 - Make the display port strategy preffable. r=Cwiiis 2012-03-30 09:57:39 -04:00
Kartikaya Gupta
9fdc703bd0 Bug 737553 - Refactor much of the code in DisplayPortCalculator and tune some of the behaviour. r=Cwiiis
Commonly reused pieces of code are pulled out into reusable functions in DisplayPortCalculator.
Reusing these functions makes the individual strategies' code much clearer and the similarities
between them more apparent. One actual bug was fixed, where the display port resolution was
incorrectly calculated in the DynamicResolutionStrategy. Prior to this change, it did not apply
the reshaping algorithm to the pre-velocity display port size, resulting in a different resolution
in some cases which would leave the content blurry. Additionally, the FixedMarginStrategy was
modified so that its margins are a multiple of the view size rather than constant pixel values.
2012-03-30 09:47:22 -04:00
Kartikaya Gupta
a337361ec8 Bug 737553 - Fix null handling in DisplayPortCalculator. r=Cwiiis 2012-03-30 09:46:27 -04:00
Kartikaya Gupta
83e8404b16 Bug 729528 - Add an alternate strategy with a margin that is a multiple of view-size and shifts it with velocity bias. r=Cwiiis 2012-03-26 13:15:50 -04:00
Kartikaya Gupta
c7fb70b37d Bug 729528 - Add an alternate strategy where we have no display port, to better isolate problems in layout/draw code. r=Cwiiis 2012-03-26 13:15:50 -04:00
Kartikaya Gupta
9ec788a1a2 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
53cd348221 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