summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move queryBookmarksForUrl to background thread.Leon Scroggins2010-04-233-56/+44
| | | | | | Bug 2611964 Change-Id: I8f69ec42fbf880d031cfc2372cffd9719db4e280
* Now mBookmarksAdapter is created asynchronously,Grace Kloba2010-04-201-0/+1
| | | | | we need to check null before using it. Fix http://b/issue?id=2610515
* Merge "Using ViewStub to defer the inflation of GeolocationPermissionsPrompt ↵Grace Kloba2010-04-204-31/+32
|\ | | | | | | until we first show it. This should shave 5% of Browser start up time." into froyo
| * Using ViewStub to defer the inflation of GeolocationPermissionsPrompt until ↵Grace Kloba2010-04-204-31/+32
| | | | | | | | | | | | | | we first show it. This should shave 5% of Browser start up time. Fix http://b/issue?id=2604295
* | Click on notification for unfinished download, open downloads page.Leon Scroggins2010-04-192-28/+43
|/ | | | | | | | | | | | | 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
* When loading a new Intent, remove appTab association.Leon Scroggins2010-04-151-0/+4
| | | | | | Bug 2598904 Change-Id: Ib4ef625606ccdae4b24efd0761f416e4851ca800
* Merge "Use the green box's padding, and not the TitleBar's padding." into froyoLeon Scroggins2010-04-151-2/+2
|\
| * Use the green box's padding, and not the TitleBar's padding.Leon Scroggins2010-04-151-2/+2
| | | | | | | | | | | | Bug 2566133 Change-Id: Ia780bcc74ad7317dfeea3adfc9a8c5eb4609d1f2
* | Merge "Update screenshots in a background thread." into froyoPatrick Scott2010-04-151-23/+36
|\ \
| * | Update screenshots in a background thread.Patrick Scott2010-04-151-23/+36
| |/ | | | | | | | | Bug: 2591404 Change-Id: I380c77c1144a40b955b4fff321eb75c1c0765606
* | Import revised translationsKenny Root2010-04-1420-61/+101
|/ | | | Change-Id: If6d037bcc8a78e790389dd9f573086f82966b1bc
* Merge "Remove dangling comments from browser strings.xml." into froyoShimeng (Simon) Wang2010-04-121-36/+0
|\
| * Remove dangling comments from browser strings.xml.Shimeng (Simon) Wang2010-04-121-36/+0
| | | | | | | | | | bug: 2581328 Change-Id: I650b3434ec65640e78f2fc4b99f2c56a65e0831a
* | More aggressively free up the background tabs whenGrace Kloba2010-04-121-29/+36
|/ | | | | | | memory is low. Instead of free one tab per onLowMemory, free half of opened tabs as onLowMemory is not called as often as before. Fix http://b/issue?id=2583335
* Create the bookmark adapter in a background thread.Patrick Scott2010-04-092-15/+31
| | | | | | | | Handling it asynchronously prevented an ANR but it still took forever with large databases. Bug: 2581894 Change-Id: I273375e439d7e3ac048728aabb39c6920fa87e5a
* Use new assets for green box in voice title bar.Leon Scroggins III2010-04-094-3/+6
| | | | | | | | | | | The new assets have a better margin to match the other search field textfields. Also update title_voice.xml to use a pressed state that matches the new assets. In TitleBar.java, do not clear out the vertical padding in voice search mode. Bug 2566133 Change-Id: Icb15d0660d2f06363e66adbdd92537e34b90b64e
* Remove "Do not translate" and restore translationsKenny Root2010-04-0821-23/+40
| | | | | | | | | | Some "Do not translate" comments were inadvertently left when removing unused strings which made the translation tools skip the next string entry. This removes those comments and restores the translations for the missing strings. Bug: 2579112 Change-Id: I731217d4cf6581885c122fefd180133c243fa1f7
* Treat voice searches from within the browser differentlyLeon Scroggins2010-04-082-7/+8
| | | | | | | | | | | | | | | | | 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
* use 565 bitmap instead of 4444 to improve qualityCary Clark2010-04-081-1/+1
| | | | | | http://b/2577416 Change-Id: I74f00f700bbe7bc1be9b790e075fec111765341c
* Update bookmark favicons in the background.Patrick Scott2010-04-061-19/+26
| | | | | Bug: 2573890 Change-Id: I7c9ebfd1b561c40d806988e65f7e89d5cd283f89
* Show the faked title bar even content height is 0.Grace Kloba2010-04-021-4/+1
| | | | | | | | | | | 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
* Merge "add launch performance test for browser" into froyoGuang Zhu2010-04-022-0/+31
|\
| * add launch performance test for browserGuang Zhu2010-04-012-0/+31
| | | | | | | | | | | | this is part of a larger effort to collect app launch performance for the platform. Change-Id: Id7159c67b0d746c9a109988e05f53be6a10921af
* | Add "android.speech.extras.SEND_APPLICATION_ID_EXTRA"=false to theMike LeBeau2010-04-011-0/+5
| | | | | | | | | | | | voice search intent, as discussed in http://b/2546173 Change-Id: I60650d096a874cfe089a4ba691c9ae44802f2419
* | Update the JNI bindings unit test in light of b/2540502Ben Murdoch2010-04-013-1/+30
| | | | | | | | Change-Id: I166331ce198fba188df5365695a20588870374c4
* | Merge "Lessen the difference in appearance of title bar during load." into froyoLeon Scroggins2010-03-313-44/+14
|\ \
| * | Lessen the difference in appearance of title bar during load.Leon Scroggins2010-03-313-44/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change to using textfield_search_empty assets, which have margin values that better match the assets used outside of a load. As a result, there is no longer a need to edit the LayoutParams in TitleBar.java. However, do set the padding in TitleBar.java, since it needs to be set for each of the different backgrounds used. Fixes http://b/issue?id=2558919 Change-Id: Idf0d8bea59bcc76c32e1e03bf736a4b64bf31887
* | | Merge "Add a test for verifying the JS -> Java bindings." into froyoBen Murdoch2010-03-313-0/+720
|\ \ \ | |_|/ |/| |
| * | Add a test for verifying the JS -> Java bindings.Ben Murdoch2010-03-303-0/+720
| | | | | | | | | | | | Change-Id: I7d15efd5cc1c40d9c0c5b7cf1a5a7f9775a709d7
* | | Reduce reported "Displayed activity com.android.browser/.BrowserActivity"Grace Kloba2010-03-301-15/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Draw the touch icon better.Patrick Scott2010-03-301-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the application icon size to get the correct dimensions. Copy the bitmap to the correct size and change the config to allow alpha. This doesn't fix the part of the bug that prefers precomposed over regular touch icons. That requires a change to frameworks/base. Bug: 2546984 Change-Id: Ifee474cd3540456383f84bf563bc92df63e0b010
* | | Merge "Prevent an IllegalStateException." into froyoLeon Scroggins III2010-03-301-2/+24
|\ \ \
| * | | Prevent an IllegalStateException.Leon Scroggins III2010-03-301-2/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | Also add Log statements to help determine the root problem. Fix for http://b/issue?id=2532489 Change-Id: I90e6e4b4a1d0602a5baf3362b732e73d47cc49bf
* | | Merge "Import revised translations" into froyoKenny Root2010-03-3020-43/+123
|\ \ \ | |/ / |/| |
| * | Import revised translationsKenny Root2010-03-3020-43/+123
| | | | | | | | | | | | Change-Id: Ib2fcd8c44300af2772abd734271ff7bd558d4a8c
* | | Fix for bug 2538060. Decoding and encoding an URL.Kristian Monsen2010-03-301-29/+40
| |/ |/| | | | | | | | | | | | | | | 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
* | Remove overscrollAdam Powell2010-03-291-2/+0
| | | | | | | | Change-Id: I680a7d36a8f782f03abf1994023922c840bed993
* | Fill in the home page in the preferences when browser is launched first time.Shimeng (Simon) Wang2010-03-291-1/+4
| | | | | | | | | | Issue:2554240 Change-Id: Ia63bf9ec7463db4548f88985925ef0759234753d
* | Re-enable page cache.Andrei Popescu2010-03-291-5/+1
|/ | | | | | Fix b: 2533219 Change-Id: Ida1122cd9a137a9d4caba8187bf48f9688889747
* Fixes browser to store and read HTTP authentication credentials in the ↵Steve Block2010-03-252-3/+3
| | | | | | correct WebView. Change-Id: Ib9831e7985232a5f362ef529d1aec2ee1e4fbecd
* fix monkey-triggered crashCary Clark2010-03-251-4/+2
| | | | | | | | While we're in there, change to void since callers never use boolean function result. Change-Id: Ia62f9dd5bac252a17bcc5086daed1407a2dbb4ff http://b/2544188
* Use system setting for default geolocation permissionsBjorn Bringert2010-03-254-40/+216
| | | | | | | | | | 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
* Merge "Prevent HTTP auth dialog from shwoing during test"Guang Zhu2010-03-241-0/+9
|\
| * Prevent HTTP auth dialog from shwoing during testGuang Zhu2010-03-241-0/+9
| | | | | | | | Change-Id: Ia10e72eec60d8c2155df95dec06334beb9feaab6
* | Use AsyncTask when calling Browser.updateVisitedHistoryLeon Scroggins2010-03-242-5/+25
|/ | | | | | | | | | 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
* Mark these token strings as untranslatable.Eric Fischer2010-03-231-1/+1
| | | | Change-Id: I7ec6ca85a12cb705bc7c934509f1da547d6c4ed1
* Add the on-demand setting for plugins.Patrick Scott2010-03-233-9/+23
| | | | | | | Requires a change to webkit and the framework. Bug: 2411524 Change-Id: I874e4e2139eedf4bc9332947fe6513b027e660d9
* Use a Thread instead of an AsyncTask for removing Gears. This is becauseAndrei Popescu2010-03-231-9/+8
| | | | | | | the database upgrade method can be invoked on any thread (e.g. a Binder thread, when QSB makes an IPC call to the Browser content provider). Fix b: 2529299
* Merge "updates and improvements on PopularUrlsTest"Guang Zhu2010-03-221-13/+29
|\
| * updates and improvements on PopularUrlsTestGuang Zhu2010-03-221-13/+29
| | | | | | | | | | | | | | | | | | * changed time recording unit from ns to ms * implemented a timeout mechanism for page loading * fixed a bug where url list will iterate forever * minor changes in logging Change-Id: I5f9812d2573d6942ddf404cf3fbb1782f328c73d