summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Use new draw-less functor execution mode to do work without redrawingTeng-Hui Zhu2012-04-028-78/+89
| | | | | | 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-0215-43/+150
|\
| * Translucent background color support for webviewTeng-Hui Zhu2012-04-0215-43/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Add back low res base layer rendering, and expanded bounds prefetching"Chris Craik2012-03-3013-118/+146
|\ \
| * | Add back low res base layer rendering, and expanded bounds prefetchingChris Craik2012-03-3013-118/+146
| | | | | | | | | | | | Change-Id: Ib6a38d8dd8223bdca9cb652771f0b19dbec892dc
* | | Merge "Line spacing for vertical writing mode."claireho2012-03-301-2/+6
|\ \ \
| * | | Line spacing for vertical writing mode.claireho2012-03-301-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6081283 - Line spacing for Japanese (vertical writing) isn't aligned well. 1. The initial value for line-spacing should be ascent + decent + line gap. 2. If the line-gap is zero, we use the avgCharWidth for line gap to avoid the no spaces between vertical lines. Change-Id: I3d21d6d9a222e73d972f8c0ffb77eb420ac175e8
* | | | add enable/disable switch for link prefetch to WebSettingsVictoria Lease2012-03-304-0/+31
| |/ / |/| | | | | | | | | | | Bug: 5218987 Change-Id: Ie88a117e52d1835114415ee6721108d8a882594a
* | | Merge "Add missing paintingDisabled() checks"John Reck2012-03-291-0/+28
|\ \ \
| * | | Add missing paintingDisabled() checksJohn Reck2012-03-291-0/+28
| | |/ | |/| | | | | | | | | | | | | Bug: 6236131 Change-Id: I9fc4e166413ff70692f4414912c2613834387e33
* | | Merge "Clip canvas to layer content on a draw."Mangesh Ghiware2012-03-293-4/+9
|\ \ \ | |/ / |/| |
| * | Clip canvas to layer content on a draw.Mangesh Ghiware2012-03-293-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6150903 Also, fix the visual indicator box coordinates to display right and bottom edges. Change-Id: I269f4dd3ae55eed77d9cbe67950c28ce1c789a51
* | | Merge "Fix m.youtube.com thumbnails"John Reck2012-03-284-38/+75
|\ \ \ | |/ / |/| |
| * | Fix m.youtube.com thumbnailsJohn Reck2012-03-284-38/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6231946 Optimize the use of a non-changing canvas Tighten up error handling Enforce minimum size to use SurfaceTexture Change-Id: I8ad553ff5727d68e56bc1343213b4a41472390f1
* | | Snap selection handles to text.George Mount2012-03-284-15/+96
| | | | | | | | | | | | | | | | | | | | | Bug 6198286 Framework Change: I3c51ed5f6988d58440badfbe8b076fd83d48ae2a Change-Id: I55604f3ec28586beaec5fd98a27c9f4b8a59a8a5
* | | Merge "Remove using namespace from WebViewCore.h"John Reck2012-03-272-61/+75
|\ \ \ | |_|/ |/| |
| * | Remove using namespace from WebViewCore.hJohn Reck2012-03-272-61/+75
| |/ | | | | | | Change-Id: Ia19117c876165a65f508d236193392940142d429
* | Pause webkit painting betterJohn Reck2012-03-271-1/+1
|/ | | | Change-Id: Id548766ccd56781228e5795588ac783f3313f960
* Merge "Further clean up for baselayer merge"Teng-Hui Zhu2012-03-266-67/+46
|\
| * Further clean up for baselayer mergeTeng-Hui Zhu2012-03-226-67/+46
| | | | | | | | | | | | | | | | | | 1. Require a layer for every SurfaceCollection Now we don't need the null check any more. 2. drawBackground only in SurfaceCollectionManager. Change-Id: I3bbebac86e41a2367a05f71cffdc6cd72fda7506
* | Merge "Platform graphics refactor"John Reck2012-03-239-980/+1279
|\ \
| * | Platform graphics refactorJohn Reck2012-03-239-980/+1279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Use the right opacity"Chris Craik2012-03-231-1/+1
|\ \ \
| * | | Use the right opacityJohn Reck2012-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 6220093 Change-Id: Ie617a29ea8f0b28d69dfc29d1435f1fedade1ef9
* | | | Merge "add missing include"Mathias Agopian2012-03-231-0/+1
|\ \ \ \ | |/ / / |/| | |
| * | | add missing includeMathias Agopian2012-03-231-0/+1
| |/ / | | | | | | | | | Change-Id: Iec9f7f7ee481f105fd15d521393faf26f76b9adc
* | | Fix TilesManager race conditionJohn Reck2012-03-234-29/+13
|/ / | | | | | | Change-Id: Ibbb8d6fa7565cf7d2205b28c8a9e870eb338ea14
* | Merge "reimplement BaseLayerAndroid as a LayerAndroid subclass"Chris Craik2012-03-2347-1756/+311
|\ \ | |/
| * reimplement BaseLayerAndroid as a LayerAndroid subclassChris Craik2012-03-2247-1756/+311
| | | | | | | | | | | | Breaks low res tiling, and expanded rendering bounds. Change-Id: Iec3ba2adceb6bd95399594d29fd8c0b18c1122ce
* | Merge "Null out m_canvas if HTMLCanvasElement is destroyed"John Reck2012-03-223-16/+25
|\ \
| * | Null out m_canvas if HTMLCanvasElement is destroyedJohn Reck2012-03-223-16/+25
| |/ | | | | | | | | | | Bug: 6209508 Change-Id: I99be936cde28047d516ecdfcc20cd099241569ca
* | Add missing null checkJohn Reck2012-03-221-1/+1
|/ | | | | | | | | Bug: 6207830 HTMLCanvasElement will not create an imageBuffer if the size is empty or if the size is too large. Before attempting to use the copiedImage, make sure we have a buffer. Change-Id: I962c6f8d05e366631ceec911792ffb33f8cd7ca4
* Fix pure color check to be performed pre-visual indicatorJohn Reck2012-03-218-9/+25
| | | | Change-Id: Id15574e4b1988d73eaefed32718cd4698222d8f1
* Merge "Visual Indicator tweaks"John Reck2012-03-2110-287/+33
|\
| * Visual Indicator tweaksJohn Reck2012-03-2110-287/+33
| | | | | | | | Change-Id: I2652ca8d6d3008bb97c2d9ad795240880fd83006
* | 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-216-28/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Attempt to fix the GPL build"John Reck2012-03-201-2/+1
|\ \ \
| * | | Attempt to fix the GPL buildJohn Reck2012-03-201-2/+1
| | |/ | |/| | | | | | | Change-Id: Ibb0ae6b1c1ca429da122faa5e32a980399a41c13
* | | Remove unnecessary invertedTileSwitchJohn Reck2012-03-205-27/+1
|/ / | | | | | | Change-Id: Ifd27772aba0435ea55008400e4b42181bf45b944
* | Merge "Canvas on a texture"John Reck2012-03-2015-34/+697
|\ \
| * | Canvas on a textureJohn Reck2012-03-2015-34/+697
| | | | | | | | | | | | Change-Id: I841b3e021298738c91701068992798a55290a520
* | | Fix scrolling on sites that use <frame>sMangesh Ghiware2012-03-192-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the dimensions of a frame before expanding it to fit the content width and height. Also, force a relayout of the frame as necessary to sync the correct dimensions (i.e. when navigation occurs inside the frame) Bug: 5978268 Change-Id: Ia282d6e5753fd38b32854e01ca58fa41b3814b21
* | | Merge "Draw vertical text using by setting verticalText flag in SkPaint."Derek Sollenberger2012-03-191-19/+20
|\ \ \
| * | | Draw vertical text using by setting verticalText flag in SkPaint.Derek Sollenberger2012-03-141-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This approach replaces drawing each vertical character on a Path. The use of the verticalText flag requires an update to Skia's freetype implementation which in external/skia. bug: 5558851 Change-Id: If33288c348e3c51df2d8edc1ee4352de0ac521df