summaryrefslogtreecommitdiffstats
path: root/Source/WebKit
Commit message (Collapse)AuthorAgeFilesLines
* Rename several classesChris Craik2012-04-043-7/+11
| | | | | | | | | | | | | | | | | | | | BaseTile,BaseTileTexture -> Tile,TileTexture Used in layers other than the base LayerGroup -> Surface Renamed to convey that it is a member of the SurfaceCollection, and that the layers grouped inside are painted together (if at all) DualTiledTexture -> SurfaceBacking Better conveys that this is the raster backing for a surface that can paint. It may be implemented with two tiled textures for now, but that isn't as important as its relationship to the surface. TiledTexture -> TileGrid Renamed to make it more clear that it was a container of tiles, and to be less similar to TileTexture Change-Id: I843f8603a2080cfe5a7313ba1c2eff10620f8aa2
* Use new draw-less functor execution mode to do work without redrawingTeng-Hui Zhu2012-04-021-22/+21
| | | | | | Depends on frameworks/base change https://android-git.corp.google.com/g/#/c/177934/ Change-Id: I9154017ef2990b3bebd038cabcaf3d93c9df14d8
* Merge "Translucent background color support for webview"Teng-Hui Zhu2012-04-021-3/+12
|\
| * Translucent background color support for webviewTeng-Hui Zhu2012-04-021-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to respect the background color set for webview and combine that with the CSS background. Since we are tiled based and need to avoid double drawing, we need to determine the areas not covered by available tiles and draw the background. This involves a bit computation overhead. Therefore, we only compute those areas when alpha is between 1 to 254. When alpha is 255, we just need a glClear. When alpha is 0, nothing need to be drawn. Due to the fact that the tile can be partially drawn, texture generator need to know the background color to clear the tiles for the base layer. bug:5684832 Change-Id: I51f9d219f2722cc088eeea603623f9660f7a136a
* | Don't show keyboard on focus change.George Mount2012-04-022-5/+7
| | | | | | | | | | | | | | Bug 6270400 Framework Change: I2aa65b405b3a394b55821a4d688afeb22244c2c7 Change-Id: I1f06b7220e22665f5932928855c81eca6534bf2f
* | Merge "Remove unused FORM_DID_BLUR hooks."George Mount2012-04-023-29/+1
|\ \ | |/ |/|
| * Remove unused FORM_DID_BLUR hooks.George Mount2012-04-023-29/+1
| | | | | | | | | | | | | | Bug 6111763 Framework Change: I56a862a6c0f0d7799f4e935bb7f5103bb2edbb9b Change-Id: I015e1a57e81e897c124af5d96ba76b4d07a381fc
* | add enable/disable switch for link prefetch to WebSettingsVictoria Lease2012-03-301-0/+11
|/ | | | | Bug: 5218987 Change-Id: Ie88a117e52d1835114415ee6721108d8a882594a
* Snap selection handles to text.George Mount2012-03-284-15/+96
| | | | | | | Bug 6198286 Framework Change: I3c51ed5f6988d58440badfbe8b076fd83d48ae2a Change-Id: I55604f3ec28586beaec5fd98a27c9f4b8a59a8a5
* Remove using namespace from WebViewCore.hJohn Reck2012-03-272-61/+75
| | | | Change-Id: Ia19117c876165a65f508d236193392940142d429
* Platform graphics refactorJohn Reck2012-03-231-37/+7
| | | | | | | | | | | Push the bulk of the work to PlatformGraphicsContext PlatformGraphicsContext does not depend on having a GraphicsContext Get ImageAndroid::drawPattern off of mCanvas Get BitmapImage::draw off of mCanvas Get WebFrameView off of mCanvas Cleanup GradientAndroid and remove mCanvas usage Change-Id: I3c8ad10c030cbc384436463e197ca1c0a69d34eb
* reimplement BaseLayerAndroid as a LayerAndroid subclassChris Craik2012-03-225-91/+49
| | | | | | Breaks low res tiling, and expanded rendering bounds. Change-Id: Iec3ba2adceb6bd95399594d29fd8c0b18c1122ce
* Fix location of selection handles on rotated text.George Mount2012-03-211-1/+19
| | | | | | | | Bug 6206177 The left/bottom of the caret is always the point at which the selection should point. The top/right is at the "top" of the text. Change-Id: Ie13f6ad5bfea3614892c0f986e019393f77ab3cf
* Merge "Make paste window and caret handle show up at the right time."George Mount2012-03-212-14/+20
|\
| * Make paste window and caret handle show up at the right time.George Mount2012-03-202-14/+20
| | | | | | | | | | | | | | Bug 6194009 Framework Change: I460db436bd79d8ff72b457b5878ffe468400031f Change-Id: I7f8bc7266df52a67245b0a971826fd14e0d715c5
* | Plumb WebView and WebViewCore thru to MediaLayerJonathan Dixon2012-03-212-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | Depends on https://android-git.corp.google.com/g/171224 Changes the plugin code to provide the WebView (not WebViewClassic) jobject instance into the plugin, as this provides the full public API expected. As a knock-on, I had to plumb WebViewCore jobject through to MediaTexture so it can retain the sendPluginDrawMsg() call. This isn't pretty, but in terms of layering it's no worse than before. Change-Id: Iaaa6e0c6b65963fedaff078a20477d8595c82a5d
* | Remove unnecessary invertedTileSwitchJohn Reck2012-03-201-4/+1
| | | | | | | | Change-Id: Ifd27772aba0435ea55008400e4b42181bf45b944
* | Merge "Canvas on a texture"John Reck2012-03-202-1/+44
|\ \
| * | Canvas on a textureJohn Reck2012-03-202-1/+44
| | | | | | | | | | | | Change-Id: I841b3e021298738c91701068992798a55290a520
* | | only report actual changes to matchCountVictoria Lease2012-03-161-3/+4
| |/ |/| | | | | | | | | Bug: 6052412 Change-Id: If188ea2e54b52f16767d8df8d66c4a80f5a400c0
* | Update edit text size when the text changes so scroll works.George Mount2012-03-153-2/+42
| | | | | | | | | | | | | | Bug 6176413 Framework Change: I6b8f244cd747d6d19c261d685a3cfb9ef4d71ec3 Change-Id: I487322ca9578c003f937b92ca4e8d46d34ea8c78
* | Merge "Scroll cursor with edited text."George Mount2012-03-151-0/+1
|\ \
| * | Scroll cursor with edited text.George Mount2012-03-151-0/+1
| | | | | | | | | | | | | | | | | | Bug 6175492 Change-Id: I0f36e3ff371df1b8941a47ee910c0729cd5a01e1
* | | Merge "Add scrolling editable text with a finger drag."George Mount2012-03-152-25/+89
|\ \ \ | |/ / | | / | |/ |/|
| * Add scrolling editable text with a finger drag.George Mount2012-03-142-25/+89
| | | | | | | | | | | | | | | | Bug 6156451 Framework Change: I1a16c708e5ea2ef8bd1f99197dacbc7831764ef4 Change-Id: Ie08712fb17b237fbb2d520d745ef8a2e489fd728
* | Merge "Remove gmail specific mime code from webview"Selim Gurun2012-03-142-12/+3
|\ \
| * | Remove gmail specific mime code from webviewSelim Gurun2012-03-142-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6019611 Remove gmail specific mime code from webview so the query parameters can be passed to asset files. The changes were added in honeycomb timeframe (see commit 7d2f6c10941c9083e9ec30fb08444a5755ff8bc9). The changes seem not in use anymore (tested for some attachments following the original commit above), also talked to gmail team and they also do not think it is in use. Also it seems a hack to modify webview for one app in such a way. Get rid of an unused private variable. Change-Id: Ic74414eaa0d6a2be77eefdd0b8a053f655b285ff
* | | Merge "Refresh fonts when system locale is changed"Russell Brenner2012-03-142-0/+44
|\ \ \
| * | | Refresh fonts when system locale is changedRussell Brenner2012-03-142-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When content is cleared, check for locale change and flush internal font caches, if necessary. Bug: 5873170 Change-Id: Ifba52e6e827444b41d08f1ca08c3b6f2c9d87462
* | | | Fix layers ordering issue with Absolute positioned elementsNicolas Roard2012-03-131-1/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | - Promote absolute positioned elements to be composited - Reorder the elements as needed in LayerAndroid - Simplify fixed elements composition culling (don't do it anymore, we just promote everything and let the Layers sort things out) Change-Id: If76cf76a92410dec7e305a1a70c660d8597e399a
* | | Merge "Support "prev" for IME input."George Mount2012-03-131-11/+8
|\ \ \ | |/ / |/| |
| * | Support "prev" for IME input.George Mount2012-03-121-11/+8
| | | | | | | | | | | | | | | | | | | | | Bug 6152403 Framework change: I6d339d724616b9f156458dd4223d3b991191b13d Change-Id: I09e5f63d41bb88a632f70b010e8ab4851bf90bab
* | | replace XLOGC/XLOG with ALOGD/ALOGVChris Craik2012-03-122-109/+78
| | | | | | | | | | | | | | | | | | | | | Started using ALOGW/E for indicating warnings/errors Also delete the unused TilesTracker.h Change-Id: I1986a3057efd4c8e260dbc020e21c02d4d646cf3
* | | resolved conflicts for merge of f6d49173 to masterDerek Sollenberger2012-03-121-0/+1
|\ \ \ | |/ / |/| | | | | Change-Id: I5c3e6fe524ae5742420c5a6e092d92840e2754f0
| * | am 1969832e: Merge "Update WebKit with necessary changes for the Skia merge."Derek Sollenberger2012-03-121-0/+1
| |\ \ | | | | | | | | | | | | | | | | * commit '1969832edc74f5a34c300f386e6739d5faff6bed': Update WebKit with necessary changes for the Skia merge.
| | * | Update WebKit with necessary changes for the Skia merge.Derek Sollenberger2012-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This CL address the modifications needed for r3312 of Skia Change-Id: I0574657e7a84e53c6b92cefbe07668e9467880db
* | | | Merge "Add back auto-completion and auto-fill."George Mount2012-03-125-43/+129
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add back auto-completion and auto-fill.George Mount2012-03-095-43/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5993316 Framework Change: If00d42c0cb4f2c207f0d502e297741e1d6a68bf4 Change-Id: I9d09a924a579d2d4551bff0489670de71d04757e
* | | | Introduce a LayerContent interfaceNicolas Roard2012-03-093-16/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Layers can now use a LayerContent object to draw their content. We currently have two subclasses, one using an SkPicture (currently used for composited layers), the other using a PictureSet (that we use for the base layer). First step toward unification... Change-Id: I5e7fd06a653f02f8721613fd3a39d36fb64a8614
* | | | Merge "Delete nativeSubtractLayers"John Reck2012-03-091-22/+0
|\ \ \ \
| * | | | Delete nativeSubtractLayersJohn Reck2012-03-091-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5338388 Change-Id: I2ae12dde6ef2f30e015c052da67c2bafbd59ecd3
* | | | | Merge "Replace picture count with the SurfaceCollection count"Chris Craik2012-03-092-3/+1
|\ \ \ \ \
| * | | | | Replace picture count with the SurfaceCollection countChris Craik2012-03-092-3/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Displays surface collection count on tiles when visual indicator is on. Change-Id: Ibe90792279849baff6f5bf0d71b80d9081471dc4
* | | | | Merge "Use audio_policy_output_flags_t consistently"Glenn Kasten2012-03-091-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Use audio_policy_output_flags_t consistentlyGlenn Kasten2012-03-091-1/+1
| |/ / / | | | | | | | | | | | | Change-Id: Icc275ded644cc5e3b4e09098d52715ec4e7a0c1b
* | | | Merge "remove hacky workaround for a scrolling bug"Victoria Lease2012-03-091-3/+1
|\ \ \ \ | |/ / / |/| | |
| * | | remove hacky workaround for a scrolling bugVictoria Lease2012-03-071-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5470588 I'll file a bug for the scrolling issue that this unmasks. Change-Id: If6ea7ffd163260c70ada61960ac3d70465e93918
* | | | Change the way we apply fixed position to layersNicolas Roard2012-03-081-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the latest refactoring we lost the possibility of having a layer other than LayerAndroid be fixed positioned. This CL remove the FixedLayerAndroid class (rename it into FixedPositioning) of the hierarchy, and use delegation to apply fixed position. Change-Id: Ib291fcaefe6a4431849ccfe2cf458fac6cac58aa
* | | | Refactor LayerAndroid to add iframe subclassesNicolas Roard2012-03-072-8/+19
| | | | | | | | | | | | | | | | Change-Id: Ia3810e83a2d919ff5fa37b8fcd92e6cbbb63d569
* | | | Merge "Fix cursor rings for buttons"John Reck2012-03-063-8/+26
|\ \ \ \