- 12 Jul, 2010 1 commit
-
-
Elliott Slaughter authored
Change-Id: I01366f575f61fd6e2084ad003b860f5c6083258e
-
- 09 Jul, 2010 1 commit
-
-
Ben Murdoch authored
to home" functionality in the Browser. When the user selects the bookmark button adjacent to the URL bar they will be prompted to either add a new bookmark for the current page or add a shortcut to the current page to their homescreen, rather than being taken to the bookmark management activity. The bookmarks button on the options menu will still take the user directly to the bookmark management activity. Bug: b/2794945 Change-Id: I07190250379f1d6e2fe6b8ea280317949cd58b15
-
- 06 Jul, 2010 1 commit
-
-
Ben Murdoch authored
Camcorder will now be supported in the upload dialog for blank accept types, */* or video/*. Additionally web developers can specify "video/*;source=camcorder" to jump straight into the camcorder activity, or "video/*;source=gallery" to jump straight into the gallery filtered for videos. Change-Id: I5eb48273c71add12075b537fb56b17d5776ef40d
-
- 30 Jun, 2010 2 commits
-
-
Ben Murdoch authored
Although not visible at the moment, this is to enable us to take full-res screenshots to use as splash screens for the Web App runtime. Change-Id: Ib4e0e704e437f1b339e3bd0a814383dd355b9e93
-
http://b/issue?id=2101719Michael Kolb authored
adjusted menu for large screen introduced new menu-xlarge for tablet menu added menu-normal with tablet menu for testing purposes added shortcut items to tablet menu Change-Id: Ic23cc7ccc02f57dca07fbd151c77dc490422874e
-
- 29 Jun, 2010 1 commit
-
-
Leon Scroggins authored
Change-Id: I6daa89bebcfd1168c76d214cf56ad1e9c18b2a58
-
- 28 Jun, 2010 2 commits
-
-
Grace Kloba authored
close the child window after switching Activity. Fix http://b/issue?id=2764723
-
Leon Scroggins authored
Bug: 2790724 Change-Id: Ia7431b033bd2b56629457fe38b392504862f26c5
-
- 24 Jun, 2010 1 commit
-
-
Cary Clark authored
(This is a work in progress -- assets in particular are not final) Use common code when showing the select and find dialogs. Both now use similarly constructed contextual action bars and share resources where possible. Both share a common base class so supporting code can communicate with either. Companion changes in frameworks/base and external/webkit Change-Id: I62e15afd2730444985f8dbd2472df3cae351f47a http://b/262451
-
- 16 Jun, 2010 1 commit
-
-
Leon Scroggins authored
Bug 2712871 Change-Id: Id1c76b05a5f126a4a68369a32dda8975fc1d2e6b
-
- 27 May, 2010 2 commits
-
-
Ben Murdoch authored
gets added to their gallery rather than lingering inaccessible on the SD card. Change-Id: If7e67ff5b5126964f5e6cc1853e435abc2d75c40
-
Grace Kloba authored
if the package has been changed. Fix http://b/issue?id=2718983
-
- 26 May, 2010 1 commit
-
-
Leon Scroggins III authored
Previously we passed a message to find out the URL, which introduced a delay before the window was actually opened. A possible result of the delay is a crash. Remove the delay and prevent the crash. Bug 2714880 Change-Id: Id1579adc258ff9b386d2dc08c3456b336cdbcc37
-
- 25 May, 2010 1 commit
-
-
Christian Mehlmauer authored
Removed unused imports Change-Id: Ic222b758439e916e50a508b8e36e93fbe56c5294
-
- 20 May, 2010 1 commit
-
-
Ben Murdoch authored
Determine whether to show the camera based on the accept type associated with the input element. Change-Id: I48fea76fbd7a1f3df3c87288f28e01a32d9e955e
-
- 19 May, 2010 1 commit
-
-
Leon Scroggins authored
Since the title bar is always at the top of the screen, there is no need for the fake title bar, so it is unused. Bug 2697366 Change-Id: I4aa2472cd747ed662b97713ff9c67f15e4c57e35
-
- 17 May, 2010 1 commit
-
-
Svetoslav Ganov authored
Change-Id: I3ce7f684b69cc8e904dd4cf1f557b20987e8c6a5
-
- 11 May, 2010 1 commit
-
-
Mats Mattsson authored
Surfing to a webpage with many %-characters in the URL will hang the browser for several minutes. To reproduce: String url = "http://zh.wikipedia.org/wiki/%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5 %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8?%E4%B8%AD%E5%8D%8E %E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94 %BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5 %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E %E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94 %BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5 %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E %E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94 %BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5 %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8"; Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); intent.addCategory(Intent.CATEGORY_BROWSABLE); startActivity(intent); The raw URL is used to match previously visited URLs in the history database with the SQL LIKE operator. The LIKE operator does however treat %-signs as wildcards and an exhaustive and unnecessary search is made. The fix uses the ESCAPE functionality of LIKE to treat the %-signs in the URL as non-wildcards. As underscore is treated as also treated as a wildcard, it is escaped as well. Change-Id: I20d182bc76b339c49ad23acc1c4d735414310b04
-
- 10 May, 2010 2 commits
-
-
Leon Scroggins authored
Adjust the animations for the new location, and remove the browser bar when Find is showing. Bug 2667046 Change-Id: I565106b6c7e02200ed45ae145033447a8931af62
-
Leon Scroggins authored
Bug 2652226 Change-Id: Ibebf6ee5fcb9a92bf377e5133a4249ddf5da9e18
-
- 06 May, 2010 1 commit
-
-
Leon Scroggins III authored
In order to do this, I have changed the FindDialog from an actual Dialog, which steals all touch events, to a Linearlayout, which rests below the WebView. Also dismiss Find when the user opens/closes a subwindow, or navigates to a new page. res/layout/browser_subwindow.xml: Add an id to the holder for the subwindow, so it can be used to add the FindDialog. res/values/styles.xml: Remove the style for FindDialog, as the animations are now added in code (since FindDialog is now a LinearLayout, which has no theme). res/values/themes.xml: Deleted, as the only theme there was FindDialog, which has been removed. src/com/android/browser/BrowserActivity.java: closeFind is now the starting point for removing the FindDialog, so that it can be called from Tab. Close the FindDialog when a new page starts loading. Call showFind on the current Tab. src/com/android/browser/FindDialog.java Change from a Dialog to a LinearLayout, so it can be inserted into the layout. Call closeFind directly, which now calls dismiss. Perform the animations which were previously part of the theme. Remove the call to set the height of the find dialog, which is no longer necessary. Open and close the IME when opening and closing Find. src/com/android/browser/Tab.java Change pointer to mContainer to a LinearLayout, which is used to add the FindDialog. Add a pointer to BrowserActivity to SubWindowClient, which is then used to close the FindDialog in onPageStarted. Close find when adding/removing a Tab or its subwindow. Add showFind, which attaches it to the layout for the tab, and closeFind, which removes it from the layout. Requires a change to frameworks/base Change-Id: If6745fb65c5628da827781a7b98061e87b279844
-
- 21 Apr, 2010 1 commit
-
-
Henrik Baard authored
Change-Id: I4b5bc7b66ffb44483d0783f05b02558f709382ee
-
- 19 Apr, 2010 1 commit
-
-
Leon Scroggins authored
BrowserActivity: Use OpenDownloadReceiver as class name, so that it will handle the notification from download manager. OpenDownloadReceiver: If the download is not complete, show the downloads page. Bug 2606772 Change-Id: Ifeeac0943650552c6da232cf98088bbf958fd403
-
- 15 Apr, 2010 2 commits
-
-
Leon Scroggins authored
Bug 2598904 Change-Id: Ib4ef625606ccdae4b24efd0761f416e4851ca800
-
Patrick Scott authored
Bug: 2591404 Change-Id: I380c77c1144a40b955b4fff321eb75c1c0765606
-
- 08 Apr, 2010 2 commits
-
-
Leon Scroggins authored
from those initiated from outside the browser. Fix for http://b/issue?id=2546173 For a voice search initiated from outside the browser, an appId will be attached. In that case, try to reuse the application tab. In TabControl.recreateWebView, treat this as if the url does not match the old url, so a new WebView will be created with a fresh history list, and the back key will exit the browser. However, if no appId is provided, simply reuse the current tab. In this case, the history list will be preserved, and pressing the back key will return to earlier voice searches. Change-Id: I9ec1efd56454ba94eb2bc348c4476fb6bd025dad
-
Cary Clark authored
http://b/2577416 Change-Id: I74f00f700bbe7bc1be9b790e075fec111765341c
-
- 03 Apr, 2010 1 commit
-
-
Grace Kloba authored
Otherwise for the new window, we may have a long delay for showing progress which is only shown in the faked title bar now. I verified that we still get the benefit from the previous change by moving the faked title bar from sub panel to its own window. Fix http://b/issue?id=2568875
-
- 30 Mar, 2010 2 commits
-
-
Grace Kloba authored
time from random 3~5s to consistent ~2.5s assuming no apps need to be killed in the start up. Move the faked title bar to its own Window instead of the sub panel of the main window. This way Browser can start when its main window is ready, instead of waiting for both windows are ready. Also we don't depend on mBrowserFrameLayout for the y position. We also don't need to check decorView's window token. Delay the fake tile bar starting time until the main window is ready. This way we ensure the main window will be drawn when it is ready. Otherwise the window manager will wait until all the current windows are ready before showing them. Fix http://b/issue?id=2548712
-
Kristian Monsen authored
Just encoding [ and ] instead of decoding and encoding again. This is because decoding is not a reversible function so we might not always get back to the same URL. Tested against bug 1634719, which this was a fix for. Change-Id: I041820c15e0a0cf2e6a20bea3801e8b5039d39d5
-
- 25 Mar, 2010 3 commits
-
-
Steve Block authored
Change-Id: Ib9831e7985232a5f362ef529d1aec2ee1e4fbecd
-
Cary Clark authored
While we're in there, change to void since callers never use boolean function result. Change-Id: Ia62f9dd5bac252a17bcc5086daed1407a2dbb4ff http://b/2544188
-
Bjorn Bringert authored
This reverts change I0be5dbf4d99d07ca13b07fb299155c5aa17a51bd and adds an observer on the new default geolocation permission secure setting. Bug http://b/issue?id=2535598 Change-Id: I4edcbd3080b7d3af5dc6d74f26779b6d92248010
-
- 24 Mar, 2010 1 commit
-
-
Leon Scroggins authored
Previously updateVisitedHistory itself used an AsyncTask, but since that method could be called from a non-main thread, move the AsyncTask to the call site. Part of http://b/issue?id=2539948 Change-Id: I9a70130ab125490fa96964ea9637eba67732180a
-
- 22 Mar, 2010 1 commit
-
-
Cary Clark authored
http://b/2532511 Change-Id: Idd08b90d3a5dec61c9328eecda834f2fcc7d16f5
-
- 19 Mar, 2010 2 commits
-
-
Grace Kloba authored
Browser loading performance by 10%. Loading nytimes.com on Sholes with plugin dropped from 30s to 26s. As FakedTitleBar is shown while a page is loading, there is no need to update the WebView TitleBar's progress which is always behind.This improved Browser loading performance by another 10%. Loading nytimes.com on Sholes with plugin dropped from 26s to 23s. Fix http://b/issue?id=2520517
-
Grace Kloba authored
Remove the shadow in the faked title bar. Fix http://b/issue?id=2521294
-
- 18 Mar, 2010 3 commits
-
-
Leon Scroggins authored
Fix for http://b/issue?id=2522723 Change-Id: Idf5d878d45b40be93a222385111a87ec32aa2f1b
-
Leon Scroggins authored
Fix for http://b/issue?id=2524416 Change-Id: I0f6502a8e6a6041da144d94e2a0e7abdcfca687e
-
Grace Kloba authored
Browser loading performance by 10%. Loading nytimes.com on Sholes with plugin dropped from 30s to 26s. As FakedTitleBar is shown while a page is loading, there is no need to update the WebView TitleBar's progress which is always behind.This improved Browser loading performance by another 10%. Loading nytimes.com on Sholes with plugin dropped from 26s to 23s. Fix http://b/issue?id=2520517
-