summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav
Commit message (Collapse)AuthorAgeFilesLines
* Merge WebKit at r75993: Move WebKit/android files to SourceBen Murdoch2011-05-1626-14858/+0
| | | | Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9
* am 5581ea83: am 86ca6e2e: am c74d30ac: Merge "Fix calculation in ↵Russell Brenner2011-05-101-8/+0
|\ | | | | | | | | | | | | WebView::scrollRectOnScreen" into honeycomb-mr2 * commit '5581ea8383a0348a04997c772f8a032c146459af': Fix calculation in WebView::scrollRectOnScreen
| * Fix calculation in WebView::scrollRectOnScreenRussell Brenner2011-05-051-8/+0
| | | | | | | | | | | | | | | | Call to subtractLayers() was always returning an empty rect and, as a result, we would exit without calling viewInvalidate(). Bug: 4310520 Change-Id: Icad9e3efd157e5ae970a3200f5b0bbecbee66f79
* | Merge WebKit at r74534: Rename rendering methodsBen Murdoch2011-05-101-1/+1
| | | | | | | | | | | | | | | | | | Following the rename of *visible to *visual upstream, make them in our platform code. See http://trac.webkit.org/changeset/73385 Change-Id: Ic4cb1ed8736d67bbc6e963b9f409bfdae07d5c5f
* | Merge WebKit at r74534: Fix RenderBlockLineLayout.cpp and others.Ben Murdoch2011-05-101-1/+1
| | | | | | | | | | | | | | | | | | Fixes RenderBlockLineLayout.cpp, WebViewCore.cpp and CacheBuilder.cpp after upstream refactoring. See http://trac.webkit.org/changeset/73618 Change-Id: I7942d6d77ce70ceb147dd711c5229c649242b10c
* | Fix issue where solid was drawn instead of ringJohn Reck2011-05-051-1/+1
| | | | | | | | | | | | Bug: 4283275 Change-Id: Ie05440e3618ffa36004af35fed3d350763f09d50
* | Correct the move latest positioningTeng-Hui Zhu2011-05-031-2/+1
| | | | | | | | | | | | | | | | This is fixing the issue when we move the slider, the moveLastest will send to 0,0, which cause a jump on the slider. bug:4232704 Change-Id: Ic7235158cbfb690a38f53ca1b3e4757a5d1a69f3
* | Implements the focus ring drawing in GL.Nicolas Roard2011-04-111-6/+11
| | | | | | | | | | | | | | | | | | In WebView::drawGL(), we check if the extras to draw are rings, and if so we get their rectangles and pass that to GLWebViewState. Updated with holo colors Change-Id: Id5f8941f16dba1733e8a84eae8cd2b317fbc7c55
* | am f1a6509b: am b6ac9086: Merge "Fix for bug:4183801" into honeycomb-mr1Nicolas Roard2011-04-071-19/+12
|\ \ | |/ | | | | | | * commit 'f1a6509bb189c2240a8723c2a96d677d98d8b142': Fix for bug:4183801
| * Fix for bug:4183801Nicolas Roard2011-04-071-19/+12
| | | | | | | | | | | | | | | | | | | | | | | | The computation for the invalidated / clipping rects were wrong, sometimes causing the linked bug when layers had a transparent background (they were not obeying the clipping rect passed by the framework). java counterpart CL: https://android-git.corp.google.com/g/#change,105503 Change-Id: I60769e7cbf1a3a939724c57b3d3ce63a6f87aa87
* | am f58a40bf: am ef25442f: don\'t call bounder when uninitializedCary Clark2011-03-231-1/+4
|\ \ | |/ | | | | | | * commit 'f58a40bf15e13380b82713b5b229a9bf57fe4b0e': don't call bounder when uninitialized
| * don't call bounder when uninitializedCary Clark2011-03-231-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | If the canvas' device list has never been set up, or has been set to an empty clip, the bounder's clip will not be initialized, and checking bounding rect may fail. Check to see if the bounder was ever called for an individual glyph before checking the result. bug:4155270 Change-Id: I625e885d13208e82c44259277c74b8f0cef5b0cb
* | am 462195e7: am b1444e52: Fix for FBO offset when drawing with alphaRussell Brenner2011-03-181-2/+7
|\ \ | |/ | | | | | | * commit '462195e725e3764bb2bb429d08987a65d84a445f': Fix for FBO offset when drawing with alpha
| * Fix for FBO offset when drawing with alphaRussell Brenner2011-03-181-2/+7
| | | | | | | | | | | | | | | | Use new DrawGlInfo struct to detect when drawing to an FBO and adjust topLeft of destination to (0,0). Bug: 3275491 Change-Id: Ia3ef85d6a21475dbd27743a15edd9d16d0d9cc9e
* | am 2609c87e: am 9af1c3b9: Merge "Fix for missing invals" into honeycomb-mr1Nicolas Roard2011-03-181-1/+1
|\ \ | |/ | | | | | | * commit '2609c87ecdaa27dce888df348f6d9e2e6e9af612': Fix for missing invals
| * Merge "Fix for missing invals" into honeycomb-mr1Nicolas Roard2011-03-181-1/+1
| |\
| | * Fix for missing invalsNicolas Roard2011-03-181-1/+1
| | | | | | | | | | | | | | | bug:4124433 Change-Id: I8cc7203dad408eff30da33f1c9a0a77dd7c97d66
| * | DO NOT MERGE Use libhwui's new private header.Romain Guy2011-03-181-19/+6
| |/ | | | | | | | | | | | | | | | | | | Bug #3275491 The DrawGlInfo struct is used by the OpenGL UI renderer and WebView to exchange information. This new version of the struct adds information about the render target and the current transform set on the Canvas. Change-Id: Icc3bcc278898493ef4fe0f4574b231e6cfd6aca5
* | Use libhwui's new private header.Romain Guy2011-03-171-19/+6
| | | | | | | | | | | | | | | | | | | | Bug #3275491 The DrawGlInfo struct is used by the OpenGL UI renderer and WebView to exchange information. This new version of the struct adds information about the render target and the current transform set on the Canvas. Change-Id: I4922ad4b4f455eacad804bc5e803029f94a5b1ea
* | am 788e19b5: am 9f5143f9: Implement partial screen invalidationsNicolas Roard2011-03-161-11/+25
|\ \ | |/ | | | | | | * commit '788e19b58382869e807c5da22f5052fdb0ce5ab5': Implement partial screen invalidations
| * Implement partial screen invalidationsNicolas Roard2011-03-161-11/+25
| | | | | | | | | | | | bug:3461349 Change-Id: Id654d176c58027c67be7cb604b87c0ec68984525
* | am 114ea00b: am 6e9c5336: Merge "Pass the clip rect to WebView to optimize ↵Romain Guy2011-03-161-6/+22
|\ \ | |/ | | | | | | | | | | rendering" into honeycomb-mr1 * commit '114ea00b345ca2696f097bc1ee69a196be11e4a1': Pass the clip rect to WebView to optimize rendering
| * Merge "Pass the clip rect to WebView to optimize rendering" into honeycomb-mr1Romain Guy2011-03-161-6/+22
| |\
| | * Pass the clip rect to WebView to optimize renderingRomain Guy2011-03-161-6/+22
| | | | | | | | | | | | Change-Id: Ic1f96b82a5da5cd08d282002a0ae5d4f53d0f92e
* | | am 2322a2c9: am 6a3bd3f2: For first layout, reset current textures and ↵Shimeng (Simon) Wang2011-03-161-6/+10
|\ \ \ | |/ / | | | | | | | | | | | | | | | update base layer. * commit '2322a2c93ef52b0b74f95103d0fc590a3b01d3ef': For first layout, reset current textures and update base layer.
| * | For first layout, reset current textures and update base layer.Shimeng (Simon) Wang2011-03-161-6/+10
| |/ | | | | | | | | issue: 4094300 Change-Id: If8e58daa621e01ac372f2111ebde522a6f90b2e5
* | am e76100ec: am 418d5bb2: Merge "allow multiple invals to return first ↵Cary Clark2011-03-112-19/+25
|\ \ | |/ | | | | | | | | | | difference" into honeycomb-mr1 * commit 'e76100ecb3b42c39d42e561ebe850b122a259f50': allow multiple invals to return first difference
| * allow multiple invals to return first differenceCary Clark2011-03-112-19/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The shape of the text selection changed recently, so the inval computation for the shape area was slightly incorrect. But most of the problem is caused by multiple calls to draw the selection area. The old assumption was that successive calls to compute the inval could each work from the prior state, since only the difference between the last inval and the current inval needs to be redrawn. Now, there are multiple calls to compute the area, and any of them need to return the last difference computed, only computing a new difference if the selection changed. Keep track of the last changed selection, so that the last position, the current position, and the last drawn position can be tracked correctly. bug:4073219 Change-Id: Ic9b9d037329e8f792b5ec09c112e665dbdfd0b81
* | am a31744c7: am 9901e533: Merge "make the text selection handles match ↵Cary Clark2011-03-091-72/+66
|\ \ | |/ | | | | | | | | | | framework" into honeycomb-mr1 * commit 'a31744c792d744c3f2534bec88ee3269c75e9f45': make the text selection handles match framework
| * Merge "make the text selection handles match framework" into honeycomb-mr1Cary Clark2011-03-091-72/+66
| |\
| | * make the text selection handles match frameworkCary Clark2011-03-081-72/+66
| | | | | | | | | | | | | | | bug:[TBD] Change-Id: I1b1c912ba210c1f9126723ed8819a05f1617b3e6
* | | am 99a10c9f: am 67e4aa15: Partial invalidation of the browser texturesNicolas Roard2011-03-081-8/+13
|\ \ \ | |/ / | | | | | | | | | * commit '99a10c9fbf989ffb17c7871bcb0bc9ce9a959061': Partial invalidation of the browser textures
| * | Partial invalidation of the browser texturesNicolas Roard2011-03-081-8/+13
| | | | | | | | | | | | | | | bug:3461349 bug:3464483 Change-Id: I627f06d0fe48aaa0adca65cd13dc738af87eeefc
* | | am 8a897356: am 24b320d3: Merge "Add support for partial invalidations Bug ↵Romain Guy2011-03-071-6/+33
|\ \ \ | |/ / | | | | | | | | | | | | | | | #3461349" into honeycomb-mr1 * commit '8a8973568714f408e96af307c4c0705977be1c4a': Add support for partial invalidations Bug #3461349
| * | Add support for partial invalidationsRomain Guy2011-03-071-6/+33
| |/ | | | | | | | | | | Bug #3461349 Change-Id: Ie7905d44bc732b375a9468f9086e3e32ffe37388
* | Use members rather than globals to avoid leaking memory.Leon Scroggins2011-03-041-6/+17
|/ | | | | | | | Part of bug:3009375 Requires a change to frameworks/base. Change-Id: I9f5e86afff4c87e16889eadf0ad0049120885480
* disable nodes that are completely clipped outCary Clark2011-03-011-1/+5
| | | | | | | | | If clipping a node's cursor rings results in all of the rings going away, mark the node as disabled, and find a new node. bug:3500759 Change-Id: Ie633b06de948ea0e1805598b0e8321f1f9863dc2
* Use UI side scrolling for readOnly textareas.Leon Scroggins2011-02-251-1/+5
| | | | | Bug:3300760 Change-Id: I44641bb4ba385ece2ace9f8dba2205b76e755289
* Merge "bias towards space in select text"Cary Clark2011-02-241-1/+1
|\
| * bias towards space in select textCary Clark2011-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When computing the presence or absence of a space, it's usually the case that the absense of a space case has no error. The presence of a space may have more error, since the size of the space may be adjusted by the page. When the two computed errors are equal, bias towards the space case. This fixes text selection on Google News. bug:3470564 Change-Id: I1feadd945e9faaf970bca0702a7cf79429592784
* | Stop the blinking caret when moving to another field.Leon Scroggins2011-02-241-5/+7
|/ | | | | | | | Bug:2930013 Requires a change in frameworks/base. Change-Id: I892fcdd9b9a0abdcf82e5bb26c930b68ae8b10fa
* Merge "Skia Merge (revision 808)"Derek Sollenberger2011-02-244-18/+18
|\
| * Skia Merge (revision 808)Derek Sollenberger2011-02-224-18/+18
| | | | | | | | | | | | This is a companion CL to the one found in /external/skia Change-Id: I469b8845a88f24d972fd57ee5c9cab505a5b83aa
* | Merge "Scroll the RenderLayer during touch events."Patrick Scott2011-02-226-66/+3
|\ \
| * | Scroll the RenderLayer during touch events.Patrick Scott2011-02-226-66/+3
| |/ | | | | | | | | | | | | | | Keep track of the owning layer for each LayerAndroid. No longer need to unadjust the node bounds since the node will be scrolled into view. Bug: 3442108 Change-Id: I7c9604d347af326ccfb86e6d3f2b95b7ce1b97c1
* | fix select text space detectionCary Clark2011-02-221-17/+27
|/ | | | | | | | | | | | Some helpers like isSpace() are used in two contexts: while the picture is parsed, and after the best answer in the picture has been found. The proper paint must be used in each case. Associate paints with candidate and best glyphs, so that the appropriate paint can be used as needed. bug:3470564 Change-Id: I28bcc82dbe727ee3ef0716e7657e61a982467a40
* Merge "use measure instead of bounder to find spaces"Cary Clark2011-02-181-66/+19
|\
| * use measure instead of bounder to find spacesCary Clark2011-02-181-66/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | Pictures do not include white space characters in their text spans, so they must be deduced. The old method used drawing through the canvas, compared against drawing the text directly. The new method measure and rounds the text to match how webkit adjusts characters' widths in WidthIterator. bug:348629 Change-Id: I39fecd274fe0b195fbad13a6083656daa62ed852
* | Adding a debug setting to enable visual indicator for GLTeng-Hui Zhu2011-02-161-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [This is the webkit part] The idea is to turn on the visual indicator without building the code. The implementation included: 1. Setup the UI on browser side to check whether or not this is enabled. 2. Transfer the info from browser setting to web setting. 3. Send this info down from WebView to webkit. 4. In the webkit, we save this info in TilesManager. 5. At texture generation time, we query this info to decide whether or not add the visual indicator on the texture. One design decision we made is we don't want to restart the browser for debugging purpose. This is better preserving the browser current activity, the only pitfall is that the visual indicator is NOT updated on different textures simultaneously. The dependent webView change is #change,97055 bug:3458721 Change-Id: I0ce51d7ac7de66ccdb95c9bf1f0edc7ec688622f
* | Clip nodes to the visible rect.Patrick Scott2011-02-161-0/+27
|/ | | | | | | | Do not build scrollable layers if the layer does not draw. No need to ask for a sync since the rebuild happens during a sync. Bug: 3429982 Change-Id: I7740cd4de4e1658e760da7391de708cbdf05cd44