Commit Graph

1429 Commits

Author SHA1 Message Date
Bart Sears
7adb61dea4 am 61b0f05c: am e2ff529b: Merge "b/3377597 Improve zooming performance." into honeycomb
* commit '61b0f05cef16ae1c70b5e3b957f31130f6dd3d0e':
  b/3377597 Improve zooming performance.
2011-01-21 18:51:34 -08:00
Bart Sears
e2ff529b3f Merge "b/3377597 Improve zooming performance." into honeycomb 2011-01-21 18:47:13 -08:00
Huahui Wu
5d4064c863 b/3377597 Improve zooming performance.
Once WebKit claimed it doesn't want to consume the multi-touch events,
we remember that and handle the events in WebView directly.

Change-Id: Idfc99c16b3f4d7f4719791c64fb2355ff66aba5e
2011-01-21 16:30:57 -08:00
Michael Kolb
caed391640 am b2b83077: am debb5bbe: Merge "Add public API for on screen zoom controls" into honeycomb
* commit 'b2b830774f4aff0bacf30648a4f7efce49e403fd':
  Add public API for on screen zoom controls
2011-01-21 14:51:26 -08:00
Michael Kolb
debb5bbe81 Merge "Add public API for on screen zoom controls" into honeycomb 2011-01-21 14:47:30 -08:00
Leon Scroggins
d022c697c2 am 12871245: am 60130138: Merge "Restart input when the webpage changes the text." into honeycomb
* commit '12871245c7920df992341fa095dc83df94ee763c':
  Restart input when the webpage changes the text.
2011-01-21 14:35:58 -08:00
Michael Kolb
5840cd294a Add public API for on screen zoom controls
http://b/issue?id=3378224
    This is a simple unhide.
    Allow the use of WebView pinch-to-zoom gestures
    without the on screen zoom controls.
    Currently, enabling pinch to zoom with the public API also shows the
    on screen zoom buttons.
    If the zoom buttons are not wanted, a custom implementation of pinch to
    zoom is required, which can't be done correctly at this point.

Change-Id: I3f94080471c3a4b498b11c91603fff9994dc3c2c
2011-01-21 14:15:16 -08:00
Leon Scroggins
a51063c059 Restart input when the webpage changes the text.
Bug:3375518
Change-Id: I0a18d0ca764ce428d86bd5f6d13f8764668acea6
2011-01-21 17:14:36 -05:00
Leon Scroggins
2c2aa7c4d2 am 62fd9903: am d5188657: Do a better job of lining up text with page text.
* commit '62fd9903a756eb5d8e7bcafbbc5a3a311fdbcefc':
  Do a better job of lining up text with page text.
2011-01-21 13:01:08 -08:00
Leon Scroggins
d5188657dc Do a better job of lining up text with page text.
Bug:3085564
Bug:3196224
Bug:3321608

Remove Touch.getMaxScrollX(), which is incorrect for my
purpose, and is not used anywhere else.  Instead use the
layout to determine the maximum horizontal scroll of a
textfield.

Now that textareas use layers, scroll the layer's picture
in the UI thread for vertical movement.  When passing a
click to webcore, also pass a message to scroll the actual
textarea so the click will be in the correct place.

Lastly, do not override bringPointIntoView, which allows
moving the insertion handler beyond the edge of a field to
scroll it.  Instead, override requestRectangleOnScreen to
do nothing, since my actual goal is to prevent the TextView
from changing the scroll of the WebView, which is done by
webkit.

Requires a change to external/webkit.

Change-Id: Ib91907599b792287c373d3678cb04e0cb5e34471
2011-01-21 15:42:03 -05:00
Shimeng (Simon) Wang
765b2e2db4 am a2d32f3c: am 7633540c: Merge "Keep min/max zoom scale in proportion when zoom density changes." into honeycomb
* commit 'a2d32f3c48283d3c9c7d8e25704de86e26bc62f6':
  Keep min/max zoom scale in proportion when zoom density changes.
2011-01-21 11:03:18 -08:00
Shimeng (Simon) Wang
66064914fc Keep min/max zoom scale in proportion when zoom density changes.
issue: 3341610
Change-Id: Ibf87ab499e28fddab81d4e354ec7d88f5eb86261
2011-01-20 17:45:34 -08:00
Huahui Wu
3aae603e39 am baa647e3: am 292f39c1: Merge "b/3350774 Enforce clearing the flag mIsHandlingMultiTouch." into honeycomb
* commit 'baa647e325a3ba1acaa463b8c3553de6547ff4f5':
  b/3350774 Enforce clearing the flag mIsHandlingMultiTouch.
2011-01-20 11:16:31 -08:00
Huahui Wu
292f39c120 Merge "b/3350774 Enforce clearing the flag mIsHandlingMultiTouch." into honeycomb 2011-01-20 11:08:33 -08:00
Huahui Wu
bc7c148285 b/3350774 Enforce clearing the flag mIsHandlingMultiTouch.
b/3350774 was fixed by https://android-git.corp.google.com/g/#change,91337
But there is small chance that the flag mIsHandlingMultiTouch is not cleared
correctly. This CL enforces to clear the flag.

Change-Id: I79ba6b401a7d7b3c772d3f123912343491551507
2011-01-20 09:23:09 -08:00
Iain Merrick
5f1216cb98 am bf98190b: am 8192b417: Merge "Add BrowserFrame.setCertificate() method." into honeycomb
* commit 'bf98190b4b49644fe3d2be688e33bebb59b3d3c9':
  Add BrowserFrame.setCertificate() method.
2011-01-20 08:21:30 -08:00
Iain Merrick
b890e758ef Add BrowserFrame.setCertificate() method.
This is needed for the Chrome HTTP stack to report SSL
certificates to WebView, in order to pass the CTS.

Change-Id: I0752a836ebaea21eae2084f037b18de4168f271f
2011-01-20 15:33:41 +00:00
Kristian Monsen
28f37efe30 am 6e8831cf: am 7450a32b: Merge "Clear the files we copy over to the temp cache" into honeycomb
* commit '6e8831cf2d7fd90ab124f58a9fc1919fac818887':
  Clear the files we copy over to the temp cache
2011-01-20 06:40:08 -08:00
Kristian Monsen
7450a32bab Merge "Clear the files we copy over to the temp cache" into honeycomb 2011-01-20 06:33:55 -08:00
Kristian Monsen
cedb3a7e58 Clear the files we copy over to the temp cache
Fixes CTS tests

Change-Id: I3464ac90e58a9df21379a8da9d637f4f5ee69b85
2011-01-20 14:31:20 +00:00
Huahui Wu
ffe3e6c5d4 am 15ef4168: am 961d2c6a: Merge "b/3350774 avoid screen jumping when pinching to zoom." into honeycomb
* commit '15ef4168a9ce71f58d8d11cb531f88fdb4a3729d':
  b/3350774 avoid screen jumping when pinching to zoom.
2011-01-19 18:20:03 -08:00
Huahui Wu
1f30125c1c b/3350774 avoid screen jumping when pinching to zoom.
After the change that sends multi-touch to WebKit first, there is
a chance that the single-touch move event is handled before multi-
touch events are finished and this makes the page jumps.
This change skips those single-touch move events to avoid that.

Change-Id: I03992ef18c1de8e07933bd7cc6c12ffc02c014a8
2011-01-19 18:14:09 -08:00
Shimeng (Simon) Wang
ba079efd3e am 9656fff3: am b501f77f: Merge "Use rounded interger to represent the last touch point." into honeycomb
* commit '9656fff32b20e707e2697b777ad66c1e95a7406c':
  Use rounded interger to represent the last touch point.
2011-01-19 14:03:29 -08:00
Shimeng (Simon) Wang
b501f77f1f Merge "Use rounded interger to represent the last touch point." into honeycomb 2011-01-19 13:58:57 -08:00
Derek Sollenberger
ea0cc807f1 am c8937d84: am aa2275e3: Fix complex character support for plugins.
* commit 'c8937d8452542688ade144a8fc715088cec84f11':
  Fix complex character support for plugins.
2011-01-19 13:25:51 -08:00
Shimeng (Simon) Wang
1e07da3651 Use rounded interger to represent the last touch point.
This prevents loss of delta calculation accurracy when dragging, which
was done in float and converted to integer.

issue: 3366067
Change-Id: Ia121a6ef4619c9abfb1f76a01db3272d41d02b81
2011-01-19 13:19:56 -08:00
Derek Sollenberger
aa2275e31d Fix complex character support for plugins.
bug: 3369527
Change-Id: I48c3442d7de54589f9f9578f6375b7ad291677db
2011-01-19 16:18:04 -05:00
Leon Scroggins
a09fddc555 am 60964579: am b90bd293: Merge "Only scroll on screen when necessary." into honeycomb
* commit '60964579fe9c56bfac21a91dbb2355b1086e47b6':
  Only scroll on screen when necessary.
2011-01-19 10:28:32 -08:00
Leon Scroggins
3be1ffab08 Only scroll on screen when necessary.
Bug:3367446

bringPointIntoView was called by TextView in onPreDraw. This was
passing a message to the webcore thread to change the scroll
position.  This is unnecessary, because typically the scroll
position will be changed by webkit when keys are pressed. The
one situation where this helped was when the user taps on a
textfield, which brings up the IME, which may cover it. A better
solution is to tell webkit to scroll it on screen once the
screen size changes.  I have a CL in external/webkit to do that:
https://android-git.corp.google.com/g/#change,91095

Change-Id: I6e06ad59e1a1c99365bb5be635a43d1b88658c0d
2011-01-19 13:18:59 -05:00
Kristian Monsen
40e7704182 am 710d5f45: am c40fc871: Need to sync the cache settings to native side
* commit '710d5f4591b6158f9a527e363aa4d589c39e9f71':
  Need to sync the cache settings to native side
2011-01-19 08:09:48 -08:00
Kristian Monsen
c40fc87147 Need to sync the cache settings to native side
Fix for cts tests

Change-Id: I554f1240c16b2c2e68810e54d0ff99d13288a6a8
2011-01-19 15:44:04 +00:00
Ben Murdoch
047eb0294e am f80526d7: am 6e710b4f: Merge "Maintain the seek position in HTML5 video" into honeycomb
* commit 'f80526d772a53675cc288e16773c2ce5e0c3fd9a':
  Maintain the seek position in HTML5 video
2011-01-19 07:43:12 -08:00
Ben Murdoch
6e710b4feb Merge "Maintain the seek position in HTML5 video" into honeycomb 2011-01-19 07:34:49 -08:00
Leon Scroggins
18ac58e056 am 5d3175e7: am 40777239: Make WebView inactive when title bar takes focus.
* commit '5d3175e704e3e86638f3317f0205491363bbee9f':
  Make WebView inactive when title bar takes focus.
2011-01-19 06:46:28 -08:00
Leon Scroggins
407772390f Make WebView inactive when title bar takes focus.
Bug:3296938
Change-Id: I656e8582044acf3b0e9b417f41337833fe72c181
2011-01-19 09:41:06 -05:00
Ben Murdoch
ff19d19e01 Maintain the seek position in HTML5 video
Receive the current seek position from native when we start
playing a video. That way is we are returning from pause we correctly
continue where we left off.

Requires and external/webkit change.
(I6001f45a362f491e9040c8b52260d0a08fb8504f)

Bug:3303721
Change-Id: I6b92289d4ef36bba1e0429327917533a4101655d
2011-01-19 11:48:15 +00:00
Romain Guy
7dfe1ab587 am 069f9b63: am 745a5292: Merge "Smoother pinch-zoom in Browser." into honeycomb
* commit '069f9b6352951134a8c0b3d5320e31290e681206':
  Smoother pinch-zoom in Browser.
2011-01-18 21:58:24 -08:00
John Reck
ded2bc5c5f am 733e2047: am c098c1d3: Merge "Create db path if it doesn\'t exit" into honeycomb
* commit '733e2047e7dbb53d5b3b2514bfb76edbcef8a149':
  Create db path if it doesn't exit
2011-01-18 21:58:01 -08:00
Romain Guy
745a529249 Merge "Smoother pinch-zoom in Browser." into honeycomb 2011-01-18 15:55:31 -08:00
John Reck
c098c1d348 Merge "Create db path if it doesn't exit" into honeycomb 2011-01-18 15:53:33 -08:00
Romain Guy
4f066784ec Smoother pinch-zoom in Browser.
Change-Id: Ie5a403b76ab25483a980324cd7b31976359fa796
2011-01-18 15:43:46 -08:00
John Reck
798378ee6c Create db path if it doesn't exit
Bug: 3241808
 Make sure the directory the caller is trying to open the icon db
 in actually exists and create it if it doesn't.

Change-Id: Ie5e4a09210e9430edc318846a551542119969053
2011-01-18 15:42:49 -08:00
John Reck
14ae0cb842 am 3977afe4: am d00207ff: Merge "WebStorage public API change" into honeycomb
* commit '3977afe41679290fedbe661e53dcf360136f52d0':
  WebStorage public API change
2011-01-18 12:10:22 -08:00
Derek Sollenberger
3f47ce8e0f am 51b8a92e: am 788c5185: Merge "Fix smart zoom for plugins that use OpenGL." into honeycomb
* commit '51b8a92e23ff47e73faf67ea78ce1bd29b9a6d59':
  Fix smart zoom for plugins that use OpenGL.
2011-01-18 12:10:00 -08:00
John Reck
d00207ff87 Merge "WebStorage public API change" into honeycomb 2011-01-18 11:10:26 -08:00
Derek Sollenberger
788c51852a Merge "Fix smart zoom for plugins that use OpenGL." into honeycomb 2011-01-18 10:38:34 -08:00
Ben Murdoch
71b1b69232 am 5ad8c70d: am e609241a: Merge "Disable AutoFill in private browsing mode." into honeycomb
* commit '5ad8c70d69a56d874adaf9ec0f59e142c70d2aff':
  Disable AutoFill in private browsing mode.
2011-01-18 10:17:32 -08:00
Ben Murdoch
e609241a76 Merge "Disable AutoFill in private browsing mode." into honeycomb 2011-01-18 10:07:01 -08:00
Derek Sollenberger
dd1173bc9b Fix smart zoom for plugins that use OpenGL.
bug: 3331323
Change-Id: I4f1d4e0ecdb75283fc781bf5afe579f43610506c
2011-01-18 13:02:07 -05:00
Ben Murdoch
4bd87d6e47 Disable AutoFill in private browsing mode.
Ensure that WebKit knows that AutoFill is disabled when private
browsing is on.

Bug: 3335257
Change-Id: I8c3e45175211e5cb00605c1dbf974e513c582d8e
2011-01-18 17:54:05 +00:00