summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/WebView.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use isHighEndGfx to double texturesJohn Reck2011-11-211-4/+9
| | | | | | Bug: 5639612 Change-Id: I308f6fbb8208a0d2e83f2b6d285d4c471137a0e7
* Merge "Content and viewport rects set in one step." into ics-mr1Bart Sears2011-11-181-88/+71
|\
| * Content and viewport rects set in one step.George Mount2011-11-161-88/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5342918 The content rect of the WebView was being retrieved during the draw while the viewport rect was being set when the draw functor was setup. During animations, the content rect was changing between the time the draw functor was retrieved and it was executed. The content rect is now being set with the viewport rect. Framework change: I1b0978ee Change-Id: I05d68dcc73ede1e919ddc1478f48b372b7b64042
* | Position WebTextView correctly on layersMichael Kolb2011-11-151-1/+1
| | | | | | | | | | | | Bug: 5550648 Change-Id: If3d59e0d197e9383b64f6a9e17d94e022044b5c3
* | Fix text selection handle positioningJohn Reck2011-11-151-1/+1
| | | | | | | | | | | | Bug: 5620362 Change-Id: Ic75ba855b5b86f8b0c3a21ee5dcbcc92b0dc982a
* | Remove inset for WebTextViewMichael Kolb2011-11-111-2/+2
|/ | | | | | | Bug: 5383911 By removing the inset we cover webkit's text field completely Change-Id: Ib3edf21beb4e26b38b2195a9e336523336f26eb7
* Support pausing drawingJohn Reck2011-11-091-1/+11
| | | | | | Bug: 5594608 Change-Id: I09590f8c04904957b079f0458022b960599eb47a
* Merge "Change the default webView behavior to minimize the memory ↵Teng-Hui Zhu2011-11-071-2/+6
|\ | | | | | | consumption" into ics-mr1
| * Change the default webView behavior to minimize the memory consumptionTeng-Hui Zhu2011-11-071-2/+6
| | | | | | | | | | | | | | | | | | | | For now, we just limit the expansion on x and y direction. In the future, we need to dynamically allocate and deallocate the memory. browser change is : c/148242 bug:5522175 Change-Id: I8562c39c55913ab89848afe8a36e8a2784c12727
* | Remove the global button lockJohn Reck2011-11-071-65/+2
|/ | | | | | | Bug: 5558699 Bug: 5572238 Change-Id: Ic199ffda5bc4aa09d39ee54221c6fcce6a91ca05
* Keep text handles in sync with native touch targetsJohn Reck2011-10-271-3/+20
| | | | | | | | Bug: 5522153 Also add some slop to the handle targets, cleaned up the JNI and improved debugging. Change-Id: I3b2c3c8b1543d4a1aa599ae2938fa78fe95e01bf
* Merge "DO NOT MERGE Adjust text selection position" into ics-mr1John Reck2011-10-251-1/+1
|\
| * DO NOT MERGE Adjust text selection positionJohn Reck2011-10-251-1/+1
| | | | | | | | | | | | Bug: 5507800 Change-Id: Icfcfdb9ff019fac7e3e40df679723594fab15dc6
* | DO NOT MERGE Fix SW extras for layersJohn Reck2011-10-251-22/+17
|/ | | | | | | Bug: 5507239 Also remove all the old, unused layer setExtras stuff Change-Id: Id1670010536712b7a9f50e74821c9fb7f708e851
* Merge "Part of fix for bug 5152544 Reduce the number of warnings"Kristian Monsen2011-10-181-1/+1
|\
| * Part of fix for bug 5152544 Reduce the number of warningsKristian Monsen2011-10-121-1/+1
| | | | | | | | | | | | | | | | The code is old, so must be some a compiler change that makes them show up now. Initializing the rect is good anyway, and it removes the warning. Change-Id: If076df1250e0c9b9980db0387cd7f99ecb00dc0c
* | Fixup JNIJohn Reck2011-10-131-15/+16
| | | | | | | | | | | | Bug: 5459736 Change-Id: I2125e8c0162b218f417e777d5ba62bfd314c7f60
* | Fix navcache to work with layers for ringsJohn Reck2011-10-131-18/+0
| | | | | | | | | | | | Bug: 5453034 Change-Id: I426aa4ca1b1c253f99c32aaf8cad597c09144af0
* | Support spellcheck attribute in input fieldsMichael Kolb2011-10-111-0/+8
|/ | | | | | | | | Bug: 5267547 When spellcheck is set to false, disable the IME suggestions and the spelling error highlighting Change-Id: Ib62bc760334159aa086214cc6f1388d1abe89cb4
* Switch find on page to GLJohn Reck2011-10-071-32/+18
| | | | | | | Bug: 5354191 Refactor how extras are drawn in GL Change-Id: Ifb61c73abecd2d074903a7fb44fe4b82aacc64ac
* HW accelate button focus ringsJohn Reck2011-10-031-13/+9
| | | | | | Bug: 5353510 Change-Id: I1bb306381864357dab4c38fd5c182fda2dd08d8c
* Don't scale text selection handlesJohn Reck2011-09-281-0/+33
| | | | | | | | Bug: 5367280 Don't scale the old software handle and, more importantly, don't scale the touch target. Change-Id: I9a731b2117b3f2fe3bd6ca35388da61c47724d91
* Merge "Enable the CPU upload path for Browser."Teng-Hui Zhu2011-09-231-0/+5
|\
| * Enable the CPU upload path for Browser.Teng-Hui Zhu2011-09-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | The default for WebView should be still be GPU upload. That means Gmail will be default to using GPU upload. bug:5347539 The browser change is in https://android-git.corp.google.com/g/#/c/137606/ Change-Id: Ic7d42331511b24cf8a58f2f5fb64aaffc18cae5f
* | Fix find-in-page to scroll scrollable layersSteve Block2011-09-221-6/+41
|/ | | | | | | | | | This requires the addition of the following methods ... - Layer::contentIsScrollable() - Layer::localToParent() - ScrollableLayerAndroid::scrollRectIntoView() Bug: 5262656 Change-Id: I2f1cf3342f73890f98a172f1b4e3f440c02dd9f4
* Merge changes Ifb6cc64e,I4d819cc5Steve Block2011-09-191-2/+1
|\ | | | | | | | | | | * changes: Simplify logic in ScrollableLayerAndroid::scrollTo() Fixes style and adds some comments to layers code
| * Fixes style and adds some comments to layers codeSteve Block2011-09-191-2/+1
| | | | | | | | | | | | | | | | Also removes FrameCachePermission::AllowNewest. This should have been removed as part of https://android-git.corp.google.com/g/#/c/2712. Bug: 5262656 Change-Id: I4d819cc5087653e4a1180d04ca0b5b20db7e2305
* | Merge "We be GL ringing it all over them layers"John Reck2011-09-191-1/+16
|\ \ | |/ |/|
| * We be GL ringing it all over them layersJohn Reck2011-09-191-1/+16
| | | | | | | | | | | | Bug: 5333083 Change-Id: Ia2b03d8d9e0167d06f8a900152e25e66372acd59
* | Fix find-in-page to scroll to search results in layersSteve Block2011-09-191-13/+31
|/ | | | | | | | Note that this fix does not correctly handle search results in scrollable layers. This will be done in a later fix. Bug: 5262656 Change-Id: I9f16e2f0f0a94d2d8a6ad995bde1715c822d5dab
* Deallocate graphics memory with onTrimMemory signalsChris Craik2011-09-081-0/+4
| | | | | | | | bug:5269460 Deallocate the graphics memory backing a BaseTileTexture on onTrimMemory signals, and accordingly allocate it lazily, as needed. Change-Id: I52039723f47e6470e4fe8dd987d384017005390f
* OnTrimMemory plumbingJohn Reck2011-09-071-0/+15
| | | | | | Bug: 5269460 Change-Id: Iad6513787b6737d45f1537973e08469005ed4dac
* Revert "WebView animation support"Teng-Hui Zhu2011-09-061-1/+0
| | | | | | | This reverts commit 078f4452393311da6165131451fcf86e04e04f25. bug:5264188 Change-Id: I3dd6cf46a168893aa3067615f2f0f902c6f66d74
* Merge "WebView animation support"Teng-Hui Zhu2011-09-011-0/+1
|\
| * WebView animation supportTeng-Hui Zhu2011-08-311-0/+1
| | | | | | | | | | bug:4982054 Change-Id: I6f4fe313d242f728a515c485a2531611d7166198
* | Allow native to query selection regionJohn Reck2011-08-311-0/+15
|/ | | | | | | Bug: 5224394 Bug: 5208328 Change-Id: I2141ad80a78f717e3005740285661cd1f558dfca
* Fix crash when scrolling non-HW accelerated WebViewBen Murdoch2011-08-261-1/+4
| | | | | | | | Need to null check m_glWebViewState. It should also have a compile time guard. Bug: 5219373 Change-Id: I36fc559fd20e54dc34912f7843a9aa6d2316765b
* better locking while scrolling, but disables double bufferingChris Craik2011-08-251-0/+14
| | | | | | | | | | don't detect scrolling, query from java removes double buffering depends on CL in frameworks/base: https://android-git.corp.google.com/g/#/c/130213/ bug:5106313 Change-Id: Ibfa7f305874f4209fed001c030bb94e752d479b9
* Merge "Fix repaint when we toggle the inverted mode - add a boolean return ↵Nicolas Roard2011-08-181-2/+5
|\ | | | | | | in WebView::nativeSetProperty() - add an inverted flag in BaseTileTexture"
| * Fix repaint when we toggle the inverted modeNicolas Roard2011-08-181-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | - add a boolean return in WebView::nativeSetProperty() - add an inverted flag in BaseTileTexture Note that we invert the textures rather than the final screen. bug:5167645 java counterpart: https://android-git.corp.google.com/g/#/c/129133/ Change-Id: I249e429dbabb347b1c5c0828ef4fad17ece6e4b3
* | tile prefetching now triggered automaticallyChris Craik2011-08-171-7/+0
|/ | | | | | | | | bug:5178457 bug:5168261 Tiles are now prefetched at a distance of 2 from the view if the content is at least 1.2x the size of the view (in each dimension independantly) Change-Id: I1c251ffbbae709f8924133b9b22df39b4fa88b4c
* Lazily decode assets for form controls.Ben Murdoch2011-08-161-13/+6
| | | | | | | | | | | | Rather than decoding the graphics when we create a WebView, wait until we actually need them. This saves about 50ms on native WebView creation time. Requires frameworks/base change: I5a2e87d03d73fa74ebb00c33567783225ed97d3a Bug: 5084146 Change-Id: Ia6c17634f535ed75b2a0757ac4d53f1a0befb78a
* Change the constants used for the inverted preferencesNicolas Roard2011-08-031-2/+2
| | | | | | | | to match the ones sent by the Browser bug:5111259 Change-Id: I3d7c0d94d61e173915ab6ec01f42778182462064
* Merge "Support registering page swap callback, content inval"Chris Craik2011-08-031-0/+12
|\
| * Support registering page swap callback, content invalChris Craik2011-08-021-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | bug:5062896 Depends on the following frameworks/base change: https://android-git.corp.google.com/g/#change,124879 a WebView may now register a page swap callback and content invalidate to benchmark tile rendering performance Change-Id: I97f6ed05cff12b11266a472163aab1f3b3ddc87e
* | Add setters for the contrastNicolas Roard2011-08-021-0/+4
|/ | | | | | bug:5111259 Change-Id: I08701fd7f4d4fe6a506d05f847b4e1a07ed458b3
* Merge "Add features to support Ganesh in the Android browser"Derek Sollenberger2011-07-291-0/+7
|\
| * Add features to support Ganesh in the Android browserDerek Sollenberger2011-07-281-0/+7
| | | | | | | | | | | | | | | | 1) Added a runtime switch between Raster and Ganesh 2) Added support for using SurfaceTextures with Ganesh bug: 5013645 Change-Id: I2efebf1bc9befb0c7f6f66109d80818f9d0775b3
* | added pageswap callback from drawGL to WebViewChris Craik2011-07-281-5/+24
|/ | | | | | | | | | | | | bug:5008210 When setting a new base layer, WebView can signal that it wants to have it's pageSwapCallback triggered. This is only done upon request, currently whenever the WebTextView is being displayed so that it can be repositioned upon pageswap. Depends on the following frameworks/base change: https://android-git.corp.google.com/g/#change,124607 Change-Id: Id99c2d5a15cdb4317802a92cedae16a9e0aebc8d
* Draw WebTextView inset in the textfield/area's borderChris Craik2011-07-251-28/+19
| | | | | | | | bug:5008210 Also reduced some duplication of code for returning java rects. Change-Id: I614e0cdaea7a30dc0b647b8290a8d66464c0b87c