| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
bug:3296986
Change-Id: I171435f6285f671abc9f2e38ad00ebcabb783cb3
|
| |
|
|
|
|
|
|
|
|
|
|
| |
For the keyboard interface to 'Select All',
establish the select text context by finding some
text on the page and returning its coordinates.
This allows tapping and keyboard interfaces to share
most of the select all implementation.
bug:3270434
Change-Id: Ic080a8002115af9086a669dd366d0399b1082f3c
|
| |
|
|
|
| |
bug: 3321891
Change-Id: Ife1bbeed91b3285277bfe47c71f523d477891b98
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While analyzing cursor rings, regions are built from text,
rects, and bitmaps to determine the areas inside and outside
the rings. These areas determine if the rings are fully visible,
and if they can be expanded into a larger bounds.
Empty input areas are defined only by rects drawn as their
background. In general, rects may be drawn as pieces that need
to be stitched together. Unlike glyphs, the stitching should
not allow gaps between rects.
By detecting gaps, and treating each unjoined rect as its own
area, a page with multiple successive input fields correctly
computes cursor rect bounds.
bug:3116242
Change-Id: If702b692c99c96c0188b42a638f750da12af6df4
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The mTextSlop contains the cursor ring test area.
The mTestBounds contains the total test area.
Use the former when checking to see if text is
drawn outside of the cursor rings, but inside
the bounds.
bug:3307120
Change-Id: Ice69ce3d70aabb435890a0fd8848ef3fe2de9796
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is because:
http://trac.webkit.org/changeset/72631
This is to merge the following change into Android:
https://android-git.corp.google.com/g/#change,81198
Change-Id: Ifc7ca98388ca88828669371df501b616f8021e80
|
| | |
| |
| |
| |
| |
| |
| | |
This is because:
http://trac.webkit.org/changeset/73088
Change-Id: I4051bc71c638e74ede803b216d9035311cbaf198
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This is because of:
http://trac.webkit.org/changeset/72825/trunk/WebCore/dom/Node.h
which makes the parent method private.
Change-Id: I706c4cbc4e69bee990f9e138aeb7ad2ed2a3d42f
|
| | |
| |
| |
| | |
Change-Id: I61f1a66d9642e3d8405d3ac6ccab2a53421c75d8
|
| |\ \
| |/
|/|
| |
| | |
* commit '1e5798a41696c2d04b2a28eabf9e5914fb6856e2':
Allow HTML5 video to seek.
|
| | |\
| | |
| | |
| | |
| | | |
* commit 'd436a8e4bf9a2c6eab6a09513ce13340c84ef10c':
Allow HTML5 video to seek.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Need to return the duration of the currently playing video to WebCore
to allow the video to seek correctly.
Bug: 3303699
Change-Id: I79f6a7e7217cf987d35b5b1a9313a918630be7a0
|
| | |\ \
| | | |
| | | |
| | | | |
Change-Id: I22fd2b911ff05cd0d01fe151b18d64b4ac98e547
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
FindCanvas.cpp: GlyphSet::GlyphSet&, names the constructor, not the type.
Change-Id: I7ff0829b6484df589aab1a724488c0796f41a28d
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The matrix and paint may be gone when later referenced
to determine the width of spaces. Replace the references
with copies.
When widening the initial selection to a word, the first
or last glyph could be skipped if the tap was one
glyph away. Detect this include the final glyph.
The bitmap used to detect a space between glyphs could
be too small for the test; make it as large as possible.
The test for finding the closest glyph when the test point
is inside the glyph's bounds should be triggered only
if the best glyph found so far is also a match.
If the initial hit point doesn't touch a word, abort.
Only measure the distance for test points if the test
text and best text have the same column state or if
the test point is outside of the current column.
The initial word selection needs to work differently from
extending the selection. Make the clip small for the
initial detect and widen it for the word expansion.
Build the selection region before expanding the word
since the column selection uses that data.
There is a companion bug fix in frameworks/base triggered
by this code, but neither is dependent on the other.
bug:3293330
Change-Id: If9d1a3bd7ec5d1642b63dbab1845d2f3735ddc81
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The crash was fixed when some unsafe local changes were removed recently.
I think this was what removed the crash:
https://android-git.corp.google.com/g/#change,84795
Fix for bug 3243797
Change-Id: If23e55270f035831ef7781681b012dfdca0ac74d
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is needed so the cache doesn't survive when closing
all private tabs.
Change-Id: I52ffaf89f8794466f98370c289b9a646de0fdb59
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 3244281
Change-Id: I5c90f44c4e8c3cd7d1ae2652e5d9f864a69b5dfe
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 9c4386e62deef6236674a2b2073a1efd514d75ac.
|
| |\ \ \ \ \ \
| |/ / / / /
|/| / / / /
| |/ / / / |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 3244281
Change-Id: I7af7c47c92fc180435cff2416922916a1114c88f
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
WebKit r64884 introduced code that calls setPoster multiple times. On
Android this causes the Java side to attempt to download the poster many
times which for a long video results in OOM. So if the poster hasn't
changed, don't try to download it again.
Bug:3277303
Change-Id: Ia401b78cf250af2c1fe0e600dea6d1da0971912a
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit c3a805c84165787f1693b3502ce139d6ea405307, reversing
changes made to 062390c915ca7282c88b435ad4fa7b6f157fb5ef.
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Used by, and uses, this in frameworks/base:
https://android-git.corp.google.com/g/#change,85836
Change-Id: I618f0f0cbeefc660152e60cced3940772f764e1c
|
| |\ \ \ \ \ \ \
| | |_|/ / / /
| |/| | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Bug: 3256540
Change-Id: I2774f100c9e9c458ebdaf9b6d188c52e79fd2568
|
| |\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
bug: 2907737
Change-Id: I6f4f21146c834554db5ecb67fed8994f1cdc2cfe
|
| |\ \ \ \ \ \ |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We recently changed WebKit to use one URLRequestContext per WebView.
However AutoFill did not get migrated to the new system and so
we have observed crashes due to a dangling pointer. We have one
AutoFill object per WebView and hence one Profile object per webview.
we access the URLRequestContext through the Profile so inject the
correct context in when the AutoFill object is created.
Needs a change in external/chromium, see
I004ab7ac9c6a72be1b62aa8e44322b97a371c136
Bug: 3291654
Change-Id: Iace23ae8c0240f0134894c12d2f7281161aa6150
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When intercepting requests, properly ReleaseStringUTFChars for mimeType
and encoding after bringing over from Java. Also, when finishing an
intercepted request that failed, construct a valid WebResponse.
Change-Id: I2990df2108a8fdf45c103512a8b9a30f4d6992ce
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This prevents use of the new thread before it actually starts running.
Change-Id: Idabb9cf81c62296534b696b82a08d3801aa16af8
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This change affects the Android HTTP stack only. We now match the XHR
spec - http://www.w3.org/TR/XMLHttpRequest/#the-getresponseheader-method
- and provide header strings even if they are empty.
Bug: 3294032
Change-Id: Ic42e5e97e0a86ae2d08680ad689a2ab249d6ecc7
|
| | |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- add textures management code for layers in TilesManager
- add the layers drawing GL code
- modify BaseLayerAndroid::drawGL() to paint the layers
- modify TexturesGenerator to process layers painting requests
Note: some further refactoring (when getting rid of SkLayer as a base
class) will let us remove some redudant function, e.g.
setAnchorPoint/setAnchorPointZ (bug:3292285)
Change-Id: I3cc88575f331104d45c89e84ba27f3af755aa845
|
| |\ \ \ \ \ |
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Force the user gesture global to true in order for canHandleRequest to ask the
application.
Bug: 3278072
Change-Id: I1f821ba42c6c630465658b7044ee89c7255eb9a1
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Detect which layer is hit by looking for scrollable layers.
In this case it isn't necessary to see what is drawn or where,
because the layer has already been prescreened by the parent clip.
Adjust the x/y hit by the layer's position. This corrects the
position when the layer scrolls.
Fix CachedLayer's debug output to be in sync with LayerAndroid.h
SelectText edge cases are corrected when there is not text to hit.
To find the closest character, first look at the edge of the
text line. If the hit is inside the line of text, measure from the
center of the character. This helps when textlines overlap.
bug:3275625
bug:3191699
Change-Id: I924cc0432f6dace32e0a7444fe69ef15dca2e77f
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Long pressing a link may return an anchor, an image, or an
image in an anchor. Sometimes we want one, sometimes the other.
Make both available so the context menu can choose.
Companion changes are in packages/apps/Browser, frameworks/base
bug:3282745
bug:3263340
Change-Id: I422db224ad67147f0cbacc4078df305b1cf8564d
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
the request. Java side CL: https://android-git.corp.google.com/g/#change,84530"
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
request. Java side CL: https://android-git.corp.google.com/g/#change,84530
Change-Id: I2a16be691ba3846f3ecb1fd533905d7b6ac374fc
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Right now it is only used as a direct proxy so no functional change.
Change-Id: I69be139f6567ca0b34f051a1429b78395fe1a3fe
|
| |\ \ \ \ \ |
|