Commit Graph

113 Commits

Author SHA1 Message Date
Brad Lassey
132fb3275c bug 707571 - user-scalable property of viewport meta tag is ignored r=mbrubeck
--HG--
extra : rebase_source : a4a4d9fb6c61ff91ffb917c1e25b78a6266d7347
2012-03-08 11:55:19 -05:00
Brad Lassey
74f1cbc5b2 bug 702907 - Zooming should be disabled while a video is in fullscreen mode r=mbrubeck
--HG--
extra : rebase_source : 0ca9a36735abf2fcc7ad0b276e56c1f50b209488
2012-03-08 10:53:01 -05:00
Margaret Leibovic
781f4b9f0c Bug 704879 - (1/6) Refactor AutoCompletePopup to FormAssistPopup. r=lucasr
--HG--
rename : mobile/android/base/AutoCompletePopup.java => mobile/android/base/FormAssistPopup.java
2012-03-06 11:56:41 -08:00
Chris Peterson
841ac7f6e2 Bug 715251 - Reduce overscroll distance from 75% to 30% of viewport. r=kats 2012-02-24 10:29:44 -08:00
Kartikaya Gupta
3ad69b3dbd Bug 727565 - Fix new compiler warnings for javac 1.7. r=bnicholson 2012-02-15 22:55:47 -05:00
Chris Peterson
53c6c4e413 Bug 706891 part 3 - When drag breaks through pan threshold, reposition touch origin and check for axis locking. r=kats 2012-02-14 10:55:46 -08:00
Chris Peterson
1941f9b710 Bug 706891 part 2 - Reduce PAN_THRESHOLD from 1/10" to 1/16" and change units to dps. r=kats 2012-02-14 11:43:45 -08:00
Chris Peterson
76392fe0f5 Bug 706891 part 1 - Rename Axis setLocked/mLocked to setScrolledDisabled/mScrollingDisabled to clarify meaning. r=kats 2012-02-14 10:55:22 -08:00
Kartikaya Gupta
7e7560b065 Bug 722439 - Fix compiler warnings using javac 1.7. r=Cwiiis 2012-02-14 15:28:27 -05:00
Brad Lassey
e2bbf28d0e bug 725538 - make creating GeckoEvents sane r=kats 2012-02-08 23:18:27 -08:00
Kartikaya Gupta
162e714671 Bug 720538 - Remove unused functions and variables. r=wesj 2012-02-02 09:16:25 -05:00
Kartikaya Gupta
6c368213e8 Bug 720538 - Re-use getValidViewportMetrics to ensure the zoom-to rect is valid. r=wesj 2012-02-02 09:15:37 -05:00
Kartikaya Gupta
0896e4bf62 Bug 720538 - Clarify and fix incorrect rect bottom calculation. r=wesj 2012-02-02 09:11:50 -05:00
Brad Lassey
eed91770f4 bug 723243 - SimpleScaleGestureDetector uses getActionIndex(), which is not available in eclair r=wesj 2012-02-01 15:03:46 -05:00
James Willcox
ced0347f0e Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Boris Zbarsky
403d51ce98 Backed out changeset e57ddd9fdd5e (bug 721741) because it breaks Android builds. 2012-01-31 23:38:35 -05:00
James Willcox
9334322db3 Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Ed Morley
388e7e6979 Backout b87113ff33ff (bug 721741) for Android build failures 2012-01-31 16:19:00 +00:00
James Willcox
fd3a41a585 Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Kartikaya Gupta
248b760bba Bug 721125 - Prevent the edge resistance from being negative, which can wreak havoc on the viewport. r=pcwalton 2012-01-31 00:42:40 -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
Wes Johnston
bd24df5dbe Bug 711071 - Check for scrollable in velocity calculations. r=pcwalton 2012-01-28 18:23:45 +01:00
Wes Johnston
b4f82372f4 Bug 719240 - Delay sending touchmove events until touches have moved a minimum distance. r=mfinkle 2012-01-25 01:31:33 +01:00
Wes Johnston
a02904d162 Bug 603008 - Android widget multitouch implementation. r=blassey,kats 2012-01-25 01:31:33 +01:00
James Willcox
933b4a18d4 Bug 706684 - Add a small fix for Froyo devices r=kats 2012-01-24 11:02:40 -05:00
Patrick Walton
29365a4489 Bug 706684 - Implement a simpler scale gesture listener on Android. r=Cwiiis 2012-01-23 19:18:24 -08:00
Kartikaya Gupta
af764dab69 Bug 716863 - Abort uselessly continuing to fling subdocuments once they can't go any farther. r=Cwiiis 2012-01-21 12:44:44 -05:00
Kartikaya Gupta
93a30cadf3 Bug 716863 - Check for overscroll and bounce after iframes are flung. r=Cwiiis 2012-01-21 12:44:29 -05:00
James Willcox
f2a22733cd Bug 707439 - Fix Flash plugin positioning
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Kartikaya Gupta
3fd4eb4798 Bug 715326 - Fix viewport position when zooming up a page that is smaller than the viewport on both axes. r=pcwalton
Take a page that has width PW and height PH, where PW is less
than the viewport width VW and PH is less than the viewport height
VH, and VW/PW > VH/PH. If we scale this up to fit the viewport,
then the vertical viewport position ends up scrolled to the bottom
(or partway to the bottom depending on how long the page is). This
fixes that by shifting the focal point in this case.
2012-01-12 22:47:56 -05:00
Kartikaya Gupta
239a252e7a Bug 713011 - Add a check to ensure we are running on the correct thread. r=blassey 2012-01-11 17:08:14 -05:00
Kartikaya Gupta
612b1d1def Bug 716673 - Fix up copyright and authors. r=pcwalton 2012-01-10 10:06:11 -05:00
Kartikaya Gupta
4493ad9d7b Bug 716673 - Pull out duplicated hard-coded strings as static variables. r=pcwalton 2012-01-10 10:06:10 -05:00
Kartikaya Gupta
dd65c64a25 Bug 716673 - Split out the Axis class from the PanZoomController. r=pcwalton 2012-01-10 10:06:08 -05:00
Kartikaya Gupta
d7b57953c7 Bug 716673 - Split out a SubdocumentScrollHelper from the PanZoomController. r=pcwalton 2012-01-10 10:06:05 -05:00
Kartikaya Gupta
c50f42cca3 Bug 716673 - Encapsulate the fling state in Axis. r=pcwalton 2012-01-10 10:06:03 -05:00
Kartikaya Gupta
9b28ae4a9f Bug 716673 - Encapsulate the velocity, locked, and disableSnap variables in Axis. r=pcwalton 2012-01-10 10:06:01 -05:00
Kartikaya Gupta
507223b40b Bug 716673 - Use the locked velocity instead of unlocked velocity in a couple of places. r=pcwalton 2012-01-10 10:05:59 -05:00
Kartikaya Gupta
f33ee7053e Bug 716673 - Fix up the advanceFling() step. r=pcwalton
- Refactor the code a little to ensure we don't do any flinging
  if the panning is being overridden.
- Collapse duplicated/inconsistent code in the fling-termination
  conditions so that it makes sense now.
2012-01-10 10:05:57 -05:00
Kartikaya Gupta
4ac7142036 Bug 716673 - Collapse unused WAITING_TO_SNAP and SNAPPING flingstates into STOPPED. r=pcwalton 2012-01-10 10:05:55 -05:00
Kartikaya Gupta
d7cab97e1a Bug 716673 - Completely encapsulate Axis variables lastTouchPos and touchPos. r=pcwalton 2012-01-10 10:05:53 -05:00
Kartikaya Gupta
98f37bcfd2 Bug 716673 - Completely encapsulate Axis variable firstTouchPos. r=pcwalton 2012-01-10 10:05:51 -05:00
Kartikaya Gupta
5eeb9e791f Bug 716673 - Refactor some more duplicated code from the track() functions. r=pcwalton 2012-01-10 10:05:49 -05:00
Kartikaya Gupta
c95e0eb66a Bug 716673 - Refactor some repeated code into a startTouch method. r=pcwalton 2012-01-10 10:05:48 -05:00
Kartikaya Gupta
88b3405314 Bug 716673 - Misc cleanups in PanZoomController. r=pcwalton
- Remove unused imports.
- Move all class variables together, and make some final.
- Fix up some comments.
- Remove unused methods.
- Remove some dead code
- Move some functions around so they are grouped based on behaviour.
2012-01-10 10:05:46 -05:00
Kartikaya Gupta
b796ad67a5 Bug 716673 - Remove some dead code. r=pcwalton
Events that come in for the non-primary pointer are ACTION_POINTER_DOWN
rather than ACTION_DOWN, so this code will never get exercised.
2012-01-10 10:05:43 -05:00
Kartikaya Gupta
0e66e28bb0 Bug 716673 - Refactor some code that sends messages to Gecko. r=pcwalton 2012-01-10 10:05:42 -05:00
Kartikaya Gupta
7e531bbeb4 Bug 716673 - Remove unnecessary finalize() function. r=pcwalton
The finalize will never be called because GeckoAppShell holds
on to the PZC (as a GeckoEventListener) thereby preventing it
from ever getting GC'd.
2012-01-10 10:05:40 -05:00
Chris Peterson
adf7970c58 Bug 714874 - Fix Java warnings about redundant casts. r=pcwalton r=dougt a=dougt 2012-01-06 12:21:49 -08:00
Chris Peterson
b576548e57 Bug 714874 - Fix some Java warnings. r=dougt a=dougt 2012-01-05 10:49:33 -08:00