summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Make sure WebViewClient.onPageStarted() doesn't preceed ↵Steve Block2011-08-314-25/+37
|\ | | | | | | WebViewClient.shouldOverrideUrlLoading()"
| * Make sure WebViewClient.onPageStarted() doesn't preceed ↵Steve Block2011-08-314-25/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebViewClient.shouldOverrideUrlLoading() In the case of a server-side redirect, we were triggering a callback to WebViewClient.onPageStarted() before we'd called WebViewClient.shouldOverrideUrlLoading(). This change delays calling WebViewClient.onPageStarted() until after WebViewClient.shouldOverrideUrlLoading() has returned and has indicated that the WebView should continue with the load. Bug: 5191031 Change-Id: I43d12c4df46e5d6e2defad10e80efbf0d5c30aed
* | Reduce the number of dirty buffers (not needed anymore)Nicolas Roard2011-08-301-2/+2
| | | | | | | | | | bug:5145259 Change-Id: I05ab5682a1a95b5d0f14c6ff7609b8f6141a2fc5
* | Fix repaint issues with BaseTileNicolas Roard2011-08-301-0/+3
| | | | | | | | | | bug:5225313 Change-Id: I1cf4f60f005f00f8b1cc8454fce189b6a91d2dac
* | Merge "Fix the null pointer crash when playing full screen video."Teng-Hui Zhu2011-08-302-0/+10
|\ \ | |/ |/|
| * Fix the null pointer crash when playing full screen video.Teng-Hui Zhu2011-08-292-0/+10
| | | | | | | | | | bug:5220693 Change-Id: I3696a8523c3328363ec9d162ef32525c7fbab930
* | Merge "Add Harfbuzz support for fallback fonts (redux)"Russell Brenner2011-08-293-5/+90
|\ \
| * | Add Harfbuzz support for fallback fonts (redux)Russell Brenner2011-08-233-5/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Skia resorts to fallback fonts for non-latin characters, it retains the font ID of originally requested font, concealing the fact that a fallback was invoked. Harfbuzz needs to know the fallback font ID to read the correct GSUB/GPOS tables from the fallback font file so that these complex languages can be properly rendered. This change uses the script recognized by Harfbuzz as a means to surmise the fallback font that would be used by Skia and then injects that font file as a replacement for the originally requested font. Fallback fonts are loaded once and reused multiple times. An earlier implementation did not cache fonts in this way, causing large pages to run out of files for mmap streaming. Bug: 5087744 Change-Id: I61222829209d9bd6df465d37923ccff3681c2c54
* | | Fix plugin crashes due to bad ref counting.Derek Sollenberger2011-08-295-16/+16
| |/ |/| | | | | | | bug: 5197948 Change-Id: Iece573a141feda56af2123b5fc9ace4cefa5139d
* | Fix PictureSet invlidation rectangle bugBen Murdoch2011-08-262-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Set the height of the invalidation rectangle correctly. The last parameter to SkRect::set should be the bottom of the rectangle, not the desited height. Also, clear the content when we navigate between pages to avoid showing any stale content. Bug: 5213749 Change-Id: Ic75b9e9d8632750a15a03ebfbd4291fad03fca6a
* | Fix crash when scrolling non-HW accelerated WebViewBen Murdoch2011-08-261-1/+4
| | | | | | | | | | | | | | | | Need to null check m_glWebViewState. It should also have a compile time guard. Bug: 5219373 Change-Id: I36fc559fd20e54dc34912f7843a9aa6d2316765b
* | Merge "better locking while scrolling, but disables double buffering"Chris Craik2011-08-257-65/+84
|\ \
| * | better locking while scrolling, but disables double bufferingChris Craik2011-08-257-65/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't detect scrolling, query from java removes double buffering depends on CL in frameworks/base: https://android-git.corp.google.com/g/#/c/130213/ bug:5106313 Change-Id: Ibfa7f305874f4209fed001c030bb94e752d479b9
* | | Merge "Fix the duration value for the html5 inline video"Teng-Hui Zhu2011-08-251-0/+5
|\ \ \
| * | | Fix the duration value for the html5 inline videoTeng-Hui Zhu2011-08-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | bug:4600281 Change-Id: Ied1cd64744b59b9b272547656bc250c9eea5ed9e
* | | | Merge "Prevent preparing a page with an invalid size."Teng-Hui Zhu2011-08-241-3/+12
|\ \ \ \
| * | | | Prevent preparing a page with an invalid size.Teng-Hui Zhu2011-08-241-3/+12
| | |/ / | |/| | | | | | | | | | | | | | bug:5185840 Change-Id: I9ac0ad0fcee76be8864494fd55398edf1e68506f
* | | | Merge "The real fix for the video forward/back button."Teng-Hui Zhu2011-08-242-1/+3
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | The real fix for the video forward/back button.Teng-Hui Zhu2011-08-242-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "video UI fix, hide the forward/back button"Teng-Hui Zhu2011-08-241-1/+1
|\ \ \ | |/ /
| * | video UI fix, hide the forward/back buttonTeng-Hui Zhu2011-08-231-1/+1
| | | | | | | | | | | | | | | | | | bug:4598827 Change-Id: I7de60b79e79bbb0de8c3524764ccdbd6ff582268
* | | Merge "Limit the number of inval rects we send to the UI"Nicolas Roard2011-08-231-0/+20
|\ \ \
| * | | Limit the number of inval rects we send to the UINicolas Roard2011-08-231-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | bug:5204192 Change-Id: I5c29e9b2411ac2e05274d9a89c472285ed1aeb67
* | | | Merge "Re-enable tile prefetching, correct and adjust max tile allocation logic"Chris Craik2011-08-233-9/+16
|\ \ \ \ | |_|/ / |/| | |
| * | | Re-enable tile prefetching, correct and adjust max tile allocation logicChris Craik2011-08-223-9/+16
| |/ / | | | | | | | | | | | | bug:5168261 Change-Id: I37ec223da4ac1555cd925b08f105f9ed571cb2d9
* | | Merge "Avoid the lock when dealing with Surface Texture"Teng-Hui Zhu2011-08-221-4/+4
|\ \ \
| * | | Avoid the lock when dealing with Surface TextureTeng-Hui Zhu2011-08-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lock over the surface texture operation is unnecessary. They just need to be around the transfer queue operation. bug:5185840 Change-Id: Ia09ec5f6049421047aac1944efbf601cdc179a52
* | | | Merge "Merge the line by line copy into one when appropiate"Teng-Hui Zhu2011-08-221-6/+10
|\ \ \ \ | |/ / /
| * | | Merge the line by line copy into one when appropiateTeng-Hui Zhu2011-08-221-6/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | When the stride is the same as the bitmap width, we can just use single memcpy to copy the whole content. bug:5196685 Change-Id: I01c9a673c8e95e14eb23f3d7df4002c886b7554d
* | | Merge "Press state colors update"John Reck2011-08-221-4/+4
|\ \ \
| * | | Press state colors updateJohn Reck2011-08-221-4/+4
| |/ / | | | | | | | | | | | | | | | Bug: 5173644 Change-Id: Ic5a30410e7805e44880773420a3a20b587f80a28
* | | Fix the mouse handling for the video controlTeng-Hui Zhu2011-08-221-4/+6
|/ / | | | | | | | | bug:5137664 Change-Id: I0f2b1a84beebe03d4282e728bb26ec70d05bf813
* | Refactoring of BaseLayerAndroid and GLWebViewState:Nicolas Roard2011-08-197-251/+431
| | | | | | | | | | | | | | | | | | - we extract the GL set up GLWebViewState - we extract the zoom management to a new ZoomManager class bug:3392331 Change-Id: If42523a7192bab2f8c9d1f00a50721380340230d
* | Merge "Show/hide HTML5 video control properly according to the touch event"Teng-Hui Zhu2011-08-192-2/+24
|\ \
| * | Show/hide HTML5 video control properly according to the touch eventTeng-Hui Zhu2011-08-192-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the webkit merge, some code of handling touch and control is gone. Now basically add this functionality back. Refer to the original CL : c/101875 bug:5137664 Change-Id: I951c88cf8fa86061a13465f966fb291706104d8f
* | | Revert prefetching for now, as we do not have enough tiles on stingrayNicolas Roard2011-08-181-1/+1
| |/ |/| | | | | | | | | | | to make it works well. bug:5168261 Change-Id: I5575195c192759629831e11dbc90a71bc1418475
* | Merge "Fix repaint when we toggle the inverted mode - add a boolean return ↵Nicolas Roard2011-08-186-7/+38
|\ \ | | | | | | | | | in WebView::nativeSetProperty() - add an inverted flag in BaseTileTexture"
| * | Fix repaint when we toggle the inverted modeNicolas Roard2011-08-186-7/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add a boolean return in WebView::nativeSetProperty() - add an inverted flag in BaseTileTexture Note that we invert the textures rather than the final screen. bug:5167645 java counterpart: https://android-git.corp.google.com/g/#/c/129133/ Change-Id: I249e429dbabb347b1c5c0828ef4fad17ece6e4b3
* | | Merge "Revert "Add Harfbuzz support for system fallback fonts""Russell Brenner2011-08-183-55/+5
|\ \ \
| * | | Revert "Add Harfbuzz support for system fallback fonts"Russell Brenner2011-08-183-55/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On large pages, too many font file references are open for mmap streaming. Rolling back this feature while I add caching. This reverts commit cfcbe02678eabf19b6b904be61d9991d4515ecb6. Bug: 5179817 Change-Id: I689db7794c945d548a90006b9484467b784d4b11
* | | | Merge "refactor the nativeWindow handling in TransferQueue"Teng-Hui Zhu2011-08-181-38/+26
|\ \ \ \
| * | | | refactor the nativeWindow handling in TransferQueueTeng-Hui Zhu2011-08-181-38/+26
| | |_|/ | |/| | | | | | | | | | | | | | | | | | bug:5161750 Change-Id: I33735f258abf850fa3afd7769385b38691365da3
* | | | Merge "tile prefetching now triggered automatically"Chris Craik2011-08-186-61/+42
|\ \ \ \ | |_|_|/ |/| | |
| * | | tile prefetching now triggered automaticallyChris Craik2011-08-176-61/+42
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | bug:5178457 bug:5168261 Tiles are now prefetched at a distance of 2 from the view if the content is at least 1.2x the size of the view (in each dimension independantly) Change-Id: I1c251ffbbae709f8924133b9b22df39b4fa88b4c
* | | Merge "Reduce the tiles lookup complexity"Nicolas Roard2011-08-175-9/+49
|\ \ \ | |_|/ |/| |
| * | Reduce the tiles lookup complexityNicolas Roard2011-08-175-9/+49
| |/ | | | | | | | | | | bug:5032212 Change-Id: Id3c6ff55de995f1c6b3f9bf36e941f3f499f0bc8
* | Merge "Remove shouldOverrideUrlLoading restrictions"John Reck2011-08-171-6/+0
|\ \ | |/ |/|
| * Remove shouldOverrideUrlLoading restrictionsJohn Reck2011-08-171-6/+0
| | | | | | | | | | | | Bug: 5171504 Change-Id: I5c2dfc8a0fbf07cb5df11bddfafd9f7251380402
* | Merge "Fix Gmail blank page"Teng-Hui Zhu2011-08-171-2/+2
|\ \
| * | Fix Gmail blank pageTeng-Hui Zhu2011-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gmail is updating the tilePages in different scale factor. One of the beginning scale factor happens to be the same as the initial value 1.0, then the code will consider the page is prepared which is not true, and we miss the necessary page update. Changing the initial value will make sure that we know the current page is not really prepared yet. And we can update accordingly. bug:5134126 Change-Id: Ieb4d01513fc4fbe9d996ab62ad5eb43bb5aace2e