summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/android
Commit message (Collapse)AuthorAgeFilesLines
* Support skipping a touch stream due to lack of handlersJohn Reck2012-05-241-0/+1
| | | | | | Bug: 6317798 Change-Id: I8c4cd3bf4c538aff202ed0e3f84982fb112936a1
* Merge "Switch to a 4ms/1s timer" into jb-devJohn Reck2012-05-211-1/+1
|\
| * Switch to a 4ms/1s timerJohn Reck2012-05-181-1/+1
| | | | | | | | | | | | | | | | | | Bug: 6523124 Bug: 6523033 Use a 4ms timer for foreground tabs, and a 1s timer for background tabs Change-Id: Iea061d63adf82f6e17dd2d47d382fcdfc588b7d3
* | Revert part of "Fix iframe, ..."Mangesh Ghiware2012-05-182-1/+36
|/ | | | | | | | | | Fix DOMWindow innerWidth and innerHeight to report correct values even after an orientation change. Uses platform-specific widget. This reverts part of commit I588aa5709e7a3c2ced9479c3cf9c1827bf6f7733. Bug: 6479900 Change-Id: Ic5c8785e35b14d6723eee4f4dfe1b0a3e1ec284a
* Rewrite PictureSet with TURBO!John Reck2012-05-022-11/+1
| | | | | | | | | | | | | | | | | | | | This changes how partial invals are done by adding a hybrid mode. What we used to do is generate a SkPicture for the new area. This SkPicture would possibly be larger than the actual inval, depending on various merge rules (more SkPictures == slower to draw a tile) The new code rewrites PictureSet entirely, preserving many of the old rules but cleans up the code and adds the concept of a "PrerenderedInval". This is a partial inval that WebKit has rasterized. By having WebKit produce both a SkPicture and a SkBitmap, we avoid needing to play back the picture and avoid overdrawing. We take this SkBitmap, and simply update the front textures with it. This gives us full partial invals through the entire system without hitting any driver bugs, and with minimal copies. And while the SkPicture may be larger than the inval, the SkBitmap that is rasterized is not - it matches the area webkit has said is dirty. Change-Id: Ieb7ecc9db0d4f679102fda004a43399f9b319ebc
* Changes from code comments.George Mount2012-04-271-2/+2
| | | | | | Bug 6257532 Change-Id: Ic1c27ecdcbc6e4e6cf69dd73eb9b7b9a6d8b2c70
* Make input="range" visible and react to touch events.George Mount2012-04-252-4/+29
| | | | | | Bug 6257532 Change-Id: I1d1ae457c50fe5b9627df7edb4f11d8245b5bdbf
* Implements a recording GraphicsContextNicolas Roard2012-04-061-1/+17
| | | | Change-Id: I41feadb23dce25af321331c459eb159c6141831b
* Fix iframe, for reals!John Reck2012-03-012-36/+1
| | | | Change-Id: I588aa5709e7a3c2ced9479c3cf9c1827bf6f7733
* Merge "Delete navcache native"John Reck2012-02-271-0/+3
|\
| * Delete navcache nativeJohn Reck2012-02-271-0/+3
| | | | | | | | | | | | Will clean up the JNI in a later CL Change-Id: I448fe5592026c325c3b2fa1c90f174674bf358b1
* | Fix iframe webkit positioningNicolas Roard2012-02-271-2/+0
|/ | | | Change-Id: I7b2b3a7312c89bc505d7f629380df0d3f24eee5f
* Merge "Improve keyboard navigation cursor rings"John Reck2012-02-212-20/+6
|\
| * Improve keyboard navigation cursor ringsJohn Reck2012-02-212-20/+6
| | | | | | | | Change-Id: I2b11c0b0011104c5a3515ed138a9077dfe8b4ce1
* | async find-on-page implementation via WebKitVictoria Lease2012-02-212-0/+13
|/ | | | Change-Id: I5804c865f4bce6452213dc89337ff6a5e6100c9e
* frameworks/base refactoring.Mathias Agopian2012-02-171-1/+1
| | | | | | First step. Move libui headers to their new home. Change-Id: I2e770e6b53c2f34432b0df2937c4cc33af6dc52b
* Remove JSC-specific code and V8 guards from Android-specific codeSteve Block2012-02-161-19/+0
| | | | | | | Also removes such code from downstream edits to non-Android-specific code. Bug: 5495373 Change-Id: I478824af2e6ff0eff9a43a9534c2a5ee0e99e9f8
* Initial support for keyboard navigationJohn Reck2012-02-153-1/+13
| | | | | | Bug: 6019693 Change-Id: I7b4f6d83e8913e647e8ac7340afd01d609c4343b
* Render dropdown menu nativelyMichael Kolb2012-01-272-11/+56
| | | | Change-Id: I1c76b6177a7d182d68ad050ff4e2951b59104c79
* Render radio buttons and checkboxes directlyMichael Kolb2012-01-252-6/+65
| | | | | | Removed the 9-patch code Change-Id: Ic55a617df6058f69c74dff13bf09a455f0091f92
* Fix form button layoutMichael Kolb2012-01-242-32/+60
| | | | | | | | | Bug: 5822424 Fixed by removing all padding adjustments and rendering buttons natively as draw commands Change-Id: I6adcdfbd75b3c586414b5e6e60aeca01f5d05b9d
* Tap to play/pause for html5 video with UITeng-Hui Zhu2011-12-131-2/+6
| | | | | | bug:4232704 Change-Id: Ice99bc0fa19de93627fe8ffb91085838fa682315
* am 0de683c1: Merge "Fix combobox metrics and asset scaling" into ics-mr1Michael Kolb2011-11-111-0/+1
|\ | | | | | | | | * commit '0de683c1b300c8e788c178c63b7dc71189c0a3d8': Fix combobox metrics and asset scaling
| * Merge "Fix combobox metrics and asset scaling" into ics-mr1Michael Kolb2011-11-111-0/+1
| |\
| | * Fix combobox metrics and asset scalingMichael Kolb2011-11-101-0/+1
| | | | | | | | | | | | | | | | | | Bug: 5521553 Change-Id: I630eda2ffd90d0c986f00c5a2a4b523e93537192
| * | DO NOT MERGE Offset scroll area by the scroll origin on AndroidGeorge Mount2011-11-091-2/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5268793 The scrolled area for WebView is 0,0 - maxX,maxY while ScrollView can have any origin. On RTL pages, the origin is negative when it can scroll. This scrolls the page to the right when it detects an RTL page. Cherry-picked from master CL: I6a91b97f Framework CL: I2537b84a Change-Id: I6a91b97f90f5ba4c323c56dda9d125108d9502c4
* | Offset scroll area by the scroll origin on AndroidGeorge Mount2011-11-091-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Bug 5268793 The scrolled area for WebView is 0,0 - maxX,maxY while ScrollView can have any origin. On RTL pages, the origin is negative when it can scroll. This scrolls the page to the right when it detects an RTL page. Framework CL: I2537b84a Change-Id: I6a91b97f90f5ba4c323c56dda9d125108d9502c4
* | am 82ccbd8c: Remove the global button lockJohn Reck2011-11-071-7/+8
|\ \ | |/ | | | | | | * commit '82ccbd8ce95211b4b5afad6a653462fd3beb771b': Remove the global button lock
| * Remove the global button lockJohn Reck2011-11-071-7/+8
| | | | | | | | | | | | | | Bug: 5558699 Bug: 5572238 Change-Id: Ic199ffda5bc4aa09d39ee54221c6fcce6a91ca05
* | Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-251-1/+1
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I821098330652380686aca9e83222936bd5678970
* Increase default button paddingJohn Reck2011-09-211-3/+6
| | | | | | | | Bug: 5354009 12 for left/right 8 for top/bottom Change-Id: Iec50b82b95d24b3a50c858017f52d52310c86ee9
* The real fix for the video forward/back button.Teng-Hui Zhu2011-08-241-1/+1
| | | | | | | | Since the code move to the /shadow part, revert the previous change c/130242 and put in this new change. bug:4598827 Change-Id: I6592050e198d2801d87ccc1558ceb2bf6dfc25d5
* video UI fix, hide the forward/back buttonTeng-Hui Zhu2011-08-231-1/+1
| | | | | | bug:4598827 Change-Id: I7de60b79e79bbb0de8c3524764ccdbd6ff582268
* Lazily decode assets for form controls.Ben Murdoch2011-08-161-1/+1
| | | | | | | | | | | | 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
* Check the available memory when allocating an ImageBuffer.Ben Murdoch2011-08-121-0/+1
| | | | | | | | | | | | | The ImageBuffers used by canvas can eat a ton of memory quickly, so be mindful of the available memory on the device before allocating them. See also frameworks/base change I3d0f85075497c2a374cd866b0223eecaaa4b5f46 Bug: 5142892 Change-Id: I74d243ef9d0d63aac168c16653e9aae0430dfa21
* Revert "Factor the scale into the actual screen space calculation."Shimeng (Simon) Wang2011-07-081-8/+4
| | | | This reverts commit 706c2b4c3089f2832c8172c0581e3df110bf534c.
* Factor the scale into the actual screen space calculation.Shimeng (Simon) Wang2011-07-011-4/+8
| | | | | issue: 4982074 Change-Id: I5d86539a17393f3060cd67bd4c6888734037c7e4
* Merge WebKit at r82507: JNIType renamed to JavaTypeSteve Block2011-06-081-1/+1
| | | | | | See http://trac.webkit.org/changeset/81860 Change-Id: I7ba9cf3f5a739f4d94e9189f6eb6dd4f8f645787
* Merge WebKit at r82507: Fix conflicts due to new StorageTrackerSteve Block2011-06-081-24/+0
| | | | | | | | | | | | | | | | - FileSystemAndroid.cpp, FileSystemPOSIX.cpp Use new common version of listDirectory(), which is identical to the existing Android version. - StorageNamespace.h, StorageNamespaceImpl.h Conflict due to Android's clearPage() - PageGroup.cpp Conflict due to Android's clearDomStorage() See http://trac.webkit.org/changeset/80892 Change-Id: Ifac131155f5019959de8761438cd0372547b0e6c
* Merge WebKit at r82507: Initial merge by gitSteve Block2011-06-082-7/+6
| | | | Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
* Update PlatformTouchEvent for Android to reflect upstreamed versionSteve Block2011-06-071-2/+0
| | | | | | See http://trac.webkit.org/changeset/81685 Change-Id: Ibc6c1336b696e39f27fd88d9b4e90fe6918ceba8
* Always check weak global references before using themSteve Block2011-06-021-5/+12
| | | | | | | | | | | | | | | | | | We hold weak references to Java objects from native code in several places to avoid circular reference problems. These objects may become weakly reachable at any time, after which the GC could null our weak reference, so we have to null-check at every use. Note that weak references are nulled before the referent is finalized, so we can't rely on doing work in the finalizer to wait for the currently executing message to complete and to remove other messages from the queue. This effectively reverts https://android-git.corp.google.com/g/#change,30955 Bug: 4336862 Change-Id: I431fcac11220cb406c26e31aacb9bda7ea22776e
* Merge WebKit at r80534: Fix uses of rounding hacks.Ben Murdoch2011-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Font rounding hacks have been removed upstream, so there is no need for our local code anymore. Remove all uses of the ANDROID_DISABLE_ROUNDING_HACKS macro. Note that this brings our behavior in line with upstream - Android will see a change in behavior to before the merge as we did not disable rounding hacks in all cases. - SVGInlineTextBox::SVGInlineTextBox() - we don't pass a value for disableRoundingHacks, so we don't disable hacks, so this behaviour will change as rounding hacks are disabled now. - RenderText::createTextBox() - We pass a value for disableRoundingHacks, true if any parent is a text control. So we will change behavior in any case where the parent is not a text control. Note that although we may see a change in behavior, that change is consistent with the upstream codebase. See http://trac.webkit.org/changeset/78846 Change-Id: I5d4d7298083acc519199c4c38ab5acdef5bdc537
* Merge WebKit at r80534: Fix makefiles.Ben Murdoch2011-06-021-16/+0
| | | | | | | | | | | | | Add new and remove deleted files to fix makefiles. See http://trac.webkit.org/changeset/79861 for new XSLTreeViewer generation. Also remove a stub from TemporaryLInkStubs that we now get by compiling the correct files in JSC (see http://trac.webkit.org/changeset/78634). Change-Id: I550b035b7c9c915b42738366da7817dca020c9a8
* Merge WebKit at r80534: Intial merge by GitBen Murdoch2011-06-023-0/+17
| | | | Change-Id: Ia7a83357124c9e1cdb1debf55d9661ec0bd09a61
* Merge WebKit at r78450: Fix remaining conflictsSteve Block2011-05-251-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Document.cpp Conflict due to AX object cache disabled on Android See http://trac.webkit.org/changeset/78314 - CachedResourceLoader.cpp/h Conflict due to ANDROID_BLOCK_NETWORK_IMAGE See http://trac.webkit.org/changeset/76701 - Source/WebCore/page/ChromeClient.h Conflict due to ANDROID_INSTALLABLE_WEB_APPS See http://trac.webkit.org/changeset/77509 - FrameView.cpp Conflict due to Android FrameView::updatePositionedObjects() See http://trac.webkit.org/changeset/77274 - ScrollView.h Conflict due to Android ScrollView::actualWidth/Height/ScrollX/ScrollY() See http://trac.webkit.org/changeset/76831 - TemporaryLinkStubs.cpp and MIMETypeRegistry.cpp conflict due to Android stubbed out MIMETypeRegistry::getMIMETypeForExtension() See http://trac.webkit.org/changeset/77368 and https://android-git.corp.google.com/g/#change,37272 - ImageDecoder.cpp Conflict due to Android excluding code See http://trac.webkit.org/changeset/77427 - ImageDecoder.h Conflict due to ANDROID guard upstreamed as SKIA guard See http://trac.webkit.org/changeset/77946 - InlineTextBox.cpp Conflict due to ANDROID_DISABLE_ROUNDING_HACKS See http://trac.webkit.org/changeset/76743 and http://trac.webkit.org/changeset/77286 - RenderBlockLineLayout.cpp Conflict due to ANDROID_LAYOUT See http://trac.webkit.org/changeset/77062 Change-Id: Ide4d58dc52418b8fc1a965a9524eb57cd46b4859
* Merge WebKit at r78450: Initial merge by git.Steve Block2011-05-241-0/+12
| | | | Change-Id: I6d3e5f1f868ec266a0aafdef66182ddc3f265dc1
* Merge WebKit at r76408: Update Uses of Noncopyable/FastAllocBaseBen Murdoch2011-05-232-1/+3
| | | | | | | | | | | | | | | | Upstream now uses macros rather than inheritance for classes declard Noncopyable or Fast Allocated. Note that in the case of PluginTimer and ClipboardAndroid we now need to explicitly declare them fast allocated. This is because previously they got the fast allocated methods through a common superclass (FastAllocBase) but now both parents provide implementations, so there is an ambiguity the compiler cannot resolve. See http://trac.webkit.org/changeset/76248 Change-Id: I186e3fd36bde2074d34f453983d48e8fc223f420
* Merge WebKit at r76408: Initial merge by git.Ben Murdoch2011-05-231-1/+1
| | | | Change-Id: I5b91decbd693ccbf5c1b8354b37cd68cc9a1ea53
* Merge WebKit at r75993: Fix TemporaryLinkStubs.cppBen Murdoch2011-05-161-6/+0
| | | | | | | PasteBoard destructor has been removed. See http://trac.webkit.org/changeset/75523 Change-Id: I9beec1cca66e84c5459b0f0f29a25902f7a9fced