Commit Graph

1479 Commits

Author SHA1 Message Date
Leon Scroggins
fe77eb6140 Only scroll if the IME is open in certain cases.
Bug:3411564

Requires a change in external/webkit.

Change-Id: I0a9a1d4ff99646e006716271f2cb1cdf0ad9b778
2011-02-01 11:10:51 -05:00
Kristian Monsen
5762a23fb0 Fix for bug 3407633 Cookie not set in CookieManager
Adding http:// at the start of the url if there is no :// already

Change-Id: If292f60af3289a9849ff060ffacc0d97e3120132
2011-02-01 11:50:55 +00:00
Leon Scroggins
e7e8e976a1 am 5592f0b1: am 22e883dd: For Textareas, do not use UI side layers.
* commit '5592f0b16e44515a3e3686fd417cc1945b83c764':
  For Textareas, do not use UI side layers.
2011-01-31 08:26:35 -08:00
Leon Scroggins
22e883dd4a For Textareas, do not use UI side layers.
Bug:3402831
Bug:3401242

Requires a change in external/webkit.

Change-Id: I391d9133b3953d213520cbba5ed49b11ebeaef2d
2011-01-31 11:05:53 -05:00
John Reck
592f6f963a am a4b23164: am 13934c2d: Merge "Prevent SET_SCROLL_OFFSET spam from clogging tubes" into honeycomb
* commit 'a4b23164167c571e6d22c3486105fdef17ff8e4a':
  Prevent SET_SCROLL_OFFSET spam from clogging tubes
2011-01-30 17:30:17 -08:00
John Reck
636ce004df Prevent SET_SCROLL_OFFSET spam from clogging tubes
Bug: 3393571
 Limit the event queue to a single pending SET_SCROLL_OFFSET. The
 problem on slashdot.org was that the event thread was being flooded
 with SET_SCROLL_OFFSET messages faster than it could process them,
 causing the handler to get jammed up.

Change-Id: Ia4a90a030959d0b3769067791089cdb261ae403a
2011-01-30 16:23:09 -08:00
Leon Scroggins
ef6af6f793 am f53e3155: am e891a115: Merge "Only send a direction key if we are not in touch mode." into honeycomb
* commit 'f53e31551aeca325216e72e76d616f06c1fc14f9':
  Only send a direction key if we are not in touch mode.
2011-01-28 10:36:34 -08:00
Leon Scroggins
e891a115a0 Merge "Only send a direction key if we are not in touch mode." into honeycomb 2011-01-28 10:32:35 -08:00
Chet Haase
ecede3914f am 97908283: am fe38b7b7: Merge "Fix artifact with clipped webview content" into honeycomb
* commit '97908283c8c7f162bf584e2ad769dc2f6b5061aa':
  Fix artifact with clipped webview content
2011-01-28 10:20:53 -08:00
Chet Haase
fe38b7b793 Merge "Fix artifact with clipped webview content" into honeycomb 2011-01-28 10:16:54 -08:00
Leon Scroggins
572ba78202 Only send a direction key if we are not in touch mode.
Bug:3395047

requestFocus() sends a direction key, in case the user
focused the WebView using that direction key.  However,
in touch mode, the user used touch to give focus, so
do not send a directional key.

Change-Id: I052d30639d1caefd39077b0498a1e0d21c157a9a
2011-01-28 11:26:45 -05:00
Ben Murdoch
f676466dc8 am 306e96c0: am c38b7c82: Merge "Implement the double tap to zoom animation with HW accleration." into honeycomb
* commit '306e96c0dd931c9dd83e3d580c5b79141d093646':
  Implement the double tap to zoom animation with HW accleration.
2011-01-28 02:42:39 -08:00
Ben Murdoch
c38b7c820a Merge "Implement the double tap to zoom animation with HW accleration." into honeycomb 2011-01-28 02:27:38 -08:00
Chet Haase
91fc3cf3b6 Fix artifact with clipped webview content
We were incorrectly calculating the webview viewport in cases
where the viewport was clipped. We now pass down null for the
viewport, which is an indicator for the native code to noop
drawGL calls with a null viewport.

Change-Id: Iecf191eb447869819e357a15a360f0f08c47c273
2011-01-28 00:20:04 -08:00
Derek Sollenberger
fdc8757ac4 am f454cee0: am 8f9fb947: Merge "Add Plugin API for controling the device power states" into honeycomb
* commit 'f454cee04456acf74871b02033e6972f71919e55':
  Add Plugin API for controling the device power states
2011-01-27 15:31:23 -08:00
Derek Sollenberger
8f9fb94741 Merge "Add Plugin API for controling the device power states" into honeycomb 2011-01-27 15:26:53 -08:00
Huahui Wu
c9d6123521 am 491784f2: am cbcdc614: Merge "b/3347670 Support installing online certs to the system keystore." into honeycomb
* commit '491784f2ecf617f787e11c2393d190b657b2ecde':
  b/3347670 Support installing online certs to the system keystore.
2011-01-27 15:11:59 -08:00
Derek Sollenberger
f3196cd70a Add Plugin API for controling the device power states
This is an initial API that will allow the plugin to request to
keep the screen on.

companion change is in external/webkit

bug: 3331493
Change-Id: Ic18787e7ecd705a5b2e31a34ea884fd39ad9d11a
2011-01-27 18:00:14 -05:00
Huahui Wu
c7939b1750 b/3347670 Support installing online certs to the system keystore.
Requires another CL in external/webkit.
    https://android-git.corp.google.com/g/#change,93328

Change-Id: I33d642d370ddf330199f2b296d5f8b08923e49cd
2011-01-27 09:51:37 -08:00
Ben Murdoch
811ba6c6a2 Implement the double tap to zoom animation with HW accleration.
Bug: 3164010

Change-Id: I6d3b5973ee0aa95dd810755263e615e226cc965b
2011-01-27 15:41:48 +00:00
Michael Kolb
1462293c16 am cda2da1f: am 85fd2c91: Merge "fix incognito url loading" into honeycomb
* commit 'cda2da1f23f7be6dd2c41746a49ff41bf66958df':
  fix incognito url loading
2011-01-26 21:19:20 -08:00
Michael Kolb
85fd2c9102 Merge "fix incognito url loading" into honeycomb 2011-01-26 19:21:49 -08:00
Michael Kolb
2c8b1f77a3 fix incognito url loading
http://b/issue?id=3349090
    removed the loading of the "browser:incognito" url

Change-Id: I47f952d372b4d69e91d4b29b3b5e5ec46a4f4fc3
2011-01-26 19:16:11 -08:00
Svetoslav Ganov
2d65afb7c4 am 54fc7807: am df467264: Merge "Final polish of WebView accessibility support for no JavaScript case." into honeycomb
* commit '54fc78072fec46933ca5ee96c7642bd4b9fc540f':
  Final polish of WebView accessibility support for no JavaScript case.
2011-01-26 14:43:18 -08:00
Svetoslav Ganov
df4672643b Merge "Final polish of WebView accessibility support for no JavaScript case." into honeycomb 2011-01-26 14:39:47 -08:00
Shimeng (Simon) Wang
af58bdaa8e am c1df157a: am 07837862: Merge "Fine tune the high memory threshold and usage delta for v8 GC." into honeycomb
* commit 'c1df157a60164e23ac45701d9e5da6d4edcc756c':
  Fine tune the high memory threshold and usage delta for v8 GC.
2011-01-26 13:28:34 -08:00
Shimeng (Simon) Wang
078378624c Merge "Fine tune the high memory threshold and usage delta for v8 GC." into honeycomb 2011-01-26 13:23:58 -08:00
Shimeng (Simon) Wang
7114f3bf6d Fine tune the high memory threshold and usage delta for v8 GC.
This will help reduce a bit more v8 GC for heavy web sites.

issue: 3317574
Change-Id: I5f93f9311fc864fb13933f92ff402e00c0e6fcdf
2011-01-26 11:56:30 -08:00
Leon Scroggins
2fbb623afa am 666158e0: am 8b2d4825: Merge "Move last touch point when moving the cursor node." into honeycomb
* commit '666158e09b694a6883a9d8207fe33de4fe4eca3e':
  Move last touch point when moving the cursor node.
2011-01-26 10:09:47 -08:00
Leon Scroggins
8b2d4825e1 Merge "Move last touch point when moving the cursor node." into honeycomb 2011-01-26 10:06:42 -08:00
Leon Scroggins
cef1c59efc Move last touch point when moving the cursor node.
Bug:3241968
Bug:3387455

The code was already in place, but needs to happen before we
return if mHeightCanMeasure == false.

Change-Id: Ic07dac4c4471bf4e2189f3fee322adeb23703f41
2011-01-26 11:13:24 -05:00
Svetoslav Ganov
9504f5753d Final polish of WebView accessibility support for no JavaScript case.
1. Added tests for the new code added by change:I5a796aef

2. WebCore thread now calls the UI thread to set the cursor to
   the current position enabling the user to interact with
   the content that is being selected on the page.

3. Removed the code that changes the selection on movement of the
   cursor ring. We are dropping the "default web view behavior"
   as granularity of reading the document since with this change
   a user can freely access inputs/buttons/links.

Change-Id: I7a3f6677eff0bc95e8127973d07cec78e3465c7b
2011-01-26 06:26:43 -08:00
Patrick Scott
cc6d12d844 am ac9bda01: am c45ec344: Merge "Turn off picture splitting for now." into honeycomb
* commit 'ac9bda01b1d80c5301619a2c2288ee868b6bd520':
  Turn off picture splitting for now.
2011-01-26 05:53:20 -08:00
Patrick Scott
c45ec3440b Merge "Turn off picture splitting for now." into honeycomb 2011-01-26 05:48:53 -08:00
Patrick Scott
85b69e0390 Turn off picture splitting for now.
Splitting the content was causing a mismatch between the base content picture
and composited layers.  It was also happening on every single inval.

Bug: 3372320
Change-Id: I09da2d0f3cba028c355ceba2b4c8e34da5a77028
2011-01-25 15:19:45 -05:00
Brian Carlstrom
aa16a0f357 am f2b7c844: am 8d37c4ef: Merge "Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle" into honeycomb
* commit 'f2b7c84468c5397b44566c393bec2675d73817b7':
  Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle
2011-01-25 11:03:52 -08:00
Brian Carlstrom
8d37c4efeb Merge "Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle" into honeycomb 2011-01-25 10:58:02 -08:00
Shimeng (Simon) Wang
e59b34cfbf am 1dc6b9eb: am c1e7f2d3: Merge "Set high usage delta to 1 to avoid constant V8 GC." into honeycomb
* commit '1dc6b9ebc6ea584b8294e920d0153365c6aa2486':
  Set high usage delta to 1 to avoid constant V8 GC.
2011-01-25 10:34:50 -08:00
Shimeng (Simon) Wang
c1e7f2d371 Merge "Set high usage delta to 1 to avoid constant V8 GC." into honeycomb 2011-01-25 10:27:24 -08:00
John Reck
746e063c83 am 500c9e99: am 7f532976: Merge "Docs for Origin" into honeycomb
* commit '500c9e99f514bd6b3df9b04ed10a763ea752c138':
  Docs for Origin
2011-01-25 10:05:34 -08:00
Shimeng (Simon) Wang
7c1bcfddcd Set high usage delta to 1 to avoid constant V8 GC.
This value will be passed to native webkit to V8.

3 consecutive dromaeo DOM core are run, there's no crash.
Because of assets change, Passion browser can't be run; this will
need to be checked in I release, I think

issue: 3317722
Change-Id: Ifa6e4116f76f395d98db9f8336f91dc9de6bf125
2011-01-25 09:55:11 -08:00
Brian Carlstrom
4140faeebb Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle
Bug: 3086427
Change-Id: I7af99fe4c36d9a519777f0499ccab65646313879
2011-01-24 18:17:21 -08:00
John Reck
9b2a59bdd2 Docs for Origin
Bug: 3370302

Change-Id: I44c8856d3f5e4b5e21c2745c1ef07a30526a1dd0
2011-01-24 17:54:09 -08:00
Leon Scroggins
62e4af1656 am 09176dcb: am 8801ad35: Merge "Disable focus controller when WebView loses focus." into honeycomb
* commit '09176dcb3d01b014eeb73ab3d643ac36c717dd75':
  Disable focus controller when WebView loses focus.
2011-01-24 15:06:30 -08:00
Leon Scroggins
8801ad3526 Merge "Disable focus controller when WebView loses focus." into honeycomb 2011-01-24 15:02:10 -08:00
Leon Scroggins
b4ffd11284 Disable focus controller when WebView loses focus.
Bug:3370821
Change-Id: Ia26a54e1c5ec050d76e60762f9a5eb4502d8c6e3
2011-01-24 17:43:47 -05:00
Huahui Wu
61b9649a50 am 6e4a69bb: am 94b8b114: Merge "A few small cleanning-ups." into honeycomb
* commit '6e4a69bbf7d7566899ec76d2634538dd79ca4166':
  A few small cleanning-ups.
2011-01-24 13:36:39 -08:00
Chet Haase
3873da3c6e am 2acb67ec: am 67005b05: Merge "Use optimized display lists for all hwaccelerated rendering" into honeycomb
* commit '2acb67ec9fe34316231519373f59dfb76c03d57b':
  Use optimized display lists for all hwaccelerated rendering
2011-01-24 13:30:37 -08:00
Huahui Wu
f93246923f A few small cleanning-ups.
1. Remove mDeferMultiTouch in WebView, it was for testing only but
we don't need it now since we always pass MultiTouch to WebKit.

2. Remove the use of mDeferMultiTouch in DRT tests.

3. Correct the index of getX(Y) for the second touch point in the
debug string of MotionEvent.

Change-Id: Ib63cfc5935af1a169ed26b2b138f74908492bc18
2011-01-24 12:07:37 -08:00
Chet Haase
daf98e941e Use optimized display lists for all hwaccelerated rendering
Previously, display lists were used only if hardware acceleration
was enabled for an application (hardwareAccelerated=true) *and* if
setDrawingCacheEnabled(true) was called. This change makes the framework
use display lists for all views in an application if hardware acceleration
is enabled.

In addition, display list renderering has been optimized so that
any view's recreation of its own display list (which is necessary whenever
the visuals of that view change) will not cause any other display list
in its parent hierarchy to change. Instead, when there are any visual
changes in the hierarchy, only those views which need to have new
display list content will recreate their display lists.

This optimization works by caching display list references in each
parent display list (so the container of some child will refer to its
child's display list by a reference to the child's display list). Then when
a view needs to recreate its display list, it will do so inside the same
display list object. This will cause the content to get refreshed, but not
the reference to that content. Then when the view hierarchy is redrawn,
it will automatically pick up the new content from the old reference.

This optimization will not necessarily improve performance when applications
need to update the entire view hierarchy or redraw the entire screen, but it does
show significant improvements when redrawing only a portion of the screen,
especially when the regions that are not refreshed are complex and time-
consuming to redraw.

Change-Id: I68d21cac6a224a05703070ec85253220cb001eb4
2011-01-24 08:43:20 -08:00