OSDN Git Service

android-x86/packages-apps-Browser.git
14 years agoWriting page + time in one go so that the file always stays in an easily parsable...
John Spong [Thu, 11 Mar 2010 19:38:04 +0000 (11:38 -0800)]
Writing page + time in one go so that the file always stays in an easily parsable format.

Change-Id: Ia7f5f216d21925aebf5c807ee95036ebf6f6fa35

14 years agoUse AsyncTask to edit history in the background.
Leon Scroggins [Thu, 11 Mar 2010 14:33:11 +0000 (09:33 -0500)]
Use AsyncTask to edit history in the background.

Part of http://b/issue?id=2485421

Change-Id: I19db62679bd0e8df63294b2ad126c7b5c3ff9f52

14 years agoRequest icons in the background.
Patrick Scott [Tue, 9 Mar 2010 21:02:08 +0000 (16:02 -0500)]
Request icons in the background.

BrowserBookmarksAdapter does not need to request bookmark icons as most of the
bookmarks have up-to-date icons. We still need to request all icons on start up
because a new icon may be loaded as a result of clicking a history items.

Move the icon request to a background thread to not block the ui thread on large
db lookups.

Remove MostVisitedActivity as it is no longer used.

Bug: 2496872
Change-Id: I378dce8fdb7e825da96594cd31b720ea24758af1

14 years agoReset the boolean variables when first initialzied and when reset happens.
Shimeng (Simon) Wang [Thu, 11 Mar 2010 00:44:31 +0000 (16:44 -0800)]
Reset the boolean variables when first initialzied and when reset happens.

This is to fix the case when some variables such as landscapeOnly will not
correctly be reset when resetDefaultPreferences happens.

Change-Id: I6389e8fbbb1e7cabb4d7358085c9b5816ca7fe41

14 years agoAvoid potential NPE if storage manager is not properly initialized.
Shimeng (Simon) Wang [Tue, 9 Mar 2010 22:30:07 +0000 (14:30 -0800)]
Avoid potential NPE if storage manager is not properly initialized.

Bug: 2498939
Change-Id: I92a14fdcb949d748bebec0a357d8baad37aeb46e

14 years agoUse a special flag to tell SearchDialog to show the microphone.
Leon Scroggins [Tue, 9 Mar 2010 22:26:56 +0000 (17:26 -0500)]
Use a special flag to tell SearchDialog to show the microphone.

Fix for http://b/issue?id=2501400

Requires a change to frameworks/base

Change-Id: I002a7b8320d3927b2e93b7fbbd43537208fb7756

14 years agoWhen reverting the voice title bar, display the url.
Leon Scroggins [Wed, 10 Mar 2010 17:13:14 +0000 (12:13 -0500)]
When reverting the voice title bar, display the url.

Fix for http://b/issue?id=2503151

Change-Id: I8beda0135631d18cc65f5a59dde46142d0c18b08

14 years agoUse the new system overscroll background api.
Grace Kloba [Tue, 9 Mar 2010 18:50:37 +0000 (10:50 -0800)]
Use the new system overscroll background api.

14 years agoMerge "Allow going back to voice search from not-first results."
Leon Scroggins [Tue, 9 Mar 2010 14:05:28 +0000 (06:05 -0800)]
Merge "Allow going back to voice search from not-first results."

14 years agoAllow going back to voice search from not-first results.
Leon Scroggins [Tue, 9 Mar 2010 00:53:03 +0000 (19:53 -0500)]
Allow going back to voice search from not-first results.

When going to a result besides the first one, remember the original
Intent which opened voice search mode, and add the number of the
selected result.  Now going back to voice search works even if the
user selected a not-first result and then followed a link.

Change-Id: I9db335ec43c442c01f1355e2259d250a65b3aa20

14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:56 +0000 (18:04 -0800)]
Add an empty CleanSpec.mk

Change-Id: I6a30929515db7b4daef6903b18ee4eb774c841db

14 years agoPass attached HTTP headers to WebView from voice search.
Leon Scroggins [Mon, 8 Mar 2010 23:20:35 +0000 (18:20 -0500)]
Pass attached HTTP headers to WebView from voice search.

Fix for http://b/issue?id=2496144

Change-Id: I245e7e47a31158a9082a33c1ebcfb7dcf924ee08

14 years agoMerge "Check for null filename before creating a new file."
Leon Scroggins [Mon, 8 Mar 2010 21:32:25 +0000 (13:32 -0800)]
Merge "Check for null filename before creating a new file."

14 years agoCheck for null filename before creating a new file.
Leon Scroggins [Mon, 8 Mar 2010 19:34:14 +0000 (14:34 -0500)]
Check for null filename before creating a new file.

Fix for http://b/issue?id=2496729

Change-Id: I2250e42621df787e2c73da6343436d669177d255

14 years agoMerge "Adding ability to resume test after crash."
John Spong [Mon, 8 Mar 2010 19:00:55 +0000 (11:00 -0800)]
Merge "Adding ability to resume test after crash."

14 years agoRefactor android.backup -> android.app.backup
Christopher Tate [Fri, 5 Mar 2010 23:47:48 +0000 (15:47 -0800)]
Refactor android.backup -> android.app.backup

Change-Id: Ifc005e14e8b7ac921ffa1a56a46c5c4083b4ea2d

14 years agoEnsure the fake title bar shows during loading.
Leon Scroggins [Fri, 5 Mar 2010 16:51:20 +0000 (11:51 -0500)]
Ensure the fake title bar shows during loading.

Previously, if the BrowserActivity was paused when the page starts
to load (as when loading from bookmarks or the search bar), showing
the fake title bar would fail.  Now do the check as the page continues
to load to guarantee that it shows.

Fix for http://b/issue?id=2487417

14 years agoMerge "if savePicture failes, delete the file (which is now unreliable, and possibly...
Mike Reed [Fri, 5 Mar 2010 15:30:25 +0000 (07:30 -0800)]
Merge "if savePicture failes, delete the file (which is now unreliable, and possibly large)"

14 years agoif savePicture failes, delete the file (which is now unreliable, and possibly large)
Mike Reed [Fri, 5 Mar 2010 15:13:34 +0000 (10:13 -0500)]
if savePicture failes, delete the file (which is now unreliable, and possibly large)

14 years agoCheck the network state in onCreate.
Patrick Scott [Fri, 5 Mar 2010 13:24:51 +0000 (08:24 -0500)]
Check the network state in onCreate.

This ensures that we set mIsNetworkUp before trying to load a page.

14 years agoClean up help text for "Reset to defaults"
Bart Sears [Fri, 5 Mar 2010 01:34:29 +0000 (17:34 -0800)]
Clean up help text for "Reset to defaults"

http://b/issue?id=2177671

14 years agoAdding ability to resume test after crash.
John Spong [Thu, 4 Mar 2010 22:34:27 +0000 (14:34 -0800)]
Adding ability to resume test after crash.

- Refactoring test method to allow for optional looping and cache cleaning
- Adding test status output to resume + notify after a crash

14 years agoMerge "Import new translations"
Eric Fischer [Thu, 4 Mar 2010 22:17:56 +0000 (14:17 -0800)]
Merge "Import new translations"

14 years agoImport new translations
Eric Fischer [Thu, 4 Mar 2010 22:03:59 +0000 (14:03 -0800)]
Import new translations

14 years agoMerge "Close the bookmarks cursor."
Patrick Scott [Thu, 4 Mar 2010 19:35:46 +0000 (11:35 -0800)]
Merge "Close the bookmarks cursor."

14 years agoClose the bookmarks cursor.
Patrick Scott [Thu, 4 Mar 2010 19:29:31 +0000 (14:29 -0500)]
Close the bookmarks cursor.

If no touch icon loader is created, close the cursor immediately. Close the
cursor in doInBackground to ensure that the cursor is closed even in error.

Bug: 2483029

14 years agoAttach the stop button to the textbox in the title bar.
Leon Scroggins [Wed, 3 Mar 2010 22:17:18 +0000 (17:17 -0500)]
Attach the stop button to the textbox in the title bar.

This also required using different assets for the title bar background.

Fix for http://b/issue?id=2485473

14 years agoGoing back to a voice search will reenter voice search mode.
Leon Scroggins [Wed, 3 Mar 2010 21:40:58 +0000 (16:40 -0500)]
Going back to a voice search will reenter voice search mode.

Store the Intent that initiated voice search mode in the history
item, so that when going back to that page, we can reinvoke voice
search with all of the intended extras.

Fix for http://b/issue?id=2425052

14 years agoMerge "Do not allow our resend/dontresend messages to be sent twice."
Leon Scroggins [Wed, 3 Mar 2010 17:03:01 +0000 (09:03 -0800)]
Merge "Do not allow our resend/dontresend messages to be sent twice."

14 years agorefactor find state and scrolling
Cary Clark [Wed, 3 Mar 2010 15:11:44 +0000 (10:11 -0500)]
refactor find state and scrolling

Explicitly call webkit to note when find dialog is visible,
to dismiss the find dialog and clear to matches.

Companion fix in frameworks/base and external/webkit

http://b/2370069

14 years agoUse SUGGEST_COLUMN_TEXT_2_URL in browser suggestions
Bjorn Bringert [Tue, 2 Mar 2010 11:20:29 +0000 (11:20 +0000)]
Use SUGGEST_COLUMN_TEXT_2_URL in browser suggestions

Before, the Browser used an HTML <font> tag to style
URLs in history / bookmark suggestions. The color used
was a hidden framework resource, it assumed that
the caller knew to interpret HTML mark-up, and it only
worked on a light colored background.

Now a separate column is used for displayed URLs, letting
the caller decide how to style URLs.

Part of the fix for http://b/issue?id=2380681

Change-Id: I1c3981de22bccf9cba2f2b903225ef1b50226758

14 years agoDo not allow our resend/dontresend messages to be sent twice.
Leon Scroggins [Tue, 2 Mar 2010 22:57:40 +0000 (17:57 -0500)]
Do not allow our resend/dontresend messages to be sent twice.

Fix for http://b/issue?id=2340086

14 years agoDo not insert duplicate urls into the browser database.
Leon Scroggins [Tue, 2 Mar 2010 21:01:49 +0000 (16:01 -0500)]
Do not insert duplicate urls into the browser database.

Move the logic for finding similar URLs to frameworks/base,
and use it in addBookmark.  In BrowserActivity, call smartUrlFilter
before calling updateVisitedHistory, so the '/' will be appended
before adding to the database.

Part of fix for http://b/issue?id=2442391

Depends on a change to frameworks/base

14 years agoMerge "SslCertificate should provide Date interface"
Brian Carlstrom [Tue, 2 Mar 2010 19:09:03 +0000 (11:09 -0800)]
Merge "SslCertificate should provide Date interface"

14 years agoSslCertificate should provide Date interface
Brian Carlstrom [Tue, 2 Mar 2010 18:02:34 +0000 (10:02 -0800)]
SslCertificate should provide Date interface

While working on out openssl code, I found a Y2k bug that the dates
from invalidate certificates could be shown as 1909 instead of 2009.
The reason was because SslCertificate/BrowserActivity passed the
values around as Strings even though the started as Dates (from
X509Certificate) and were converted backed to Dates before
presentation by BrowserActivity's reformatCertificateDate.

SslCertificate now maintains date fields internally as Date objects
without converting them to Strings. The constructor and String
accessors, which are now @deprecated, now specify the format as an ISO
8601 date string which uses 4 digit years.

BrowserActivity now reformatCertificateDate is now simply
formatCertificateDate and no longer has to convert from String to Date
and back to String to get proper Locale formatting.

CTS SslCertificateTest also updated.

14 years agoChange where "Search for web"'s position.
Grace Kloba [Tue, 2 Mar 2010 03:51:49 +0000 (19:51 -0800)]
Change where "Search for web"'s position.

If there is a matching history/bookmark, it will be
in the second place. Otherwise it will be in the first
place.

Fix http://b/issue?id=2314166

14 years agoMerge "Remove deleted files from the list of browser downloads."
Leon Scroggins [Mon, 1 Mar 2010 16:49:30 +0000 (08:49 -0800)]
Merge "Remove deleted files from the list of browser downloads."

14 years agoRemove deleted files from the list of browser downloads.
Leon Scroggins [Fri, 26 Feb 2010 22:58:31 +0000 (17:58 -0500)]
Remove deleted files from the list of browser downloads.

Fix for http://b/issue?id=2469085

14 years agoImport new translations.
Eric Fischer [Sat, 27 Feb 2010 01:27:31 +0000 (17:27 -0800)]
Import new translations.

14 years agoMerge "Remove unused resources."
Shimeng (Simon) Wang [Fri, 26 Feb 2010 21:00:09 +0000 (13:00 -0800)]
Merge "Remove unused resources."

14 years agoMerge "If a download finishes while the contextmenu is open, update it."
Leon Scroggins [Fri, 26 Feb 2010 20:14:57 +0000 (12:14 -0800)]
Merge "If a download finishes while the contextmenu is open, update it."

14 years agoIf a download finishes while the contextmenu is open, update it.
Leon Scroggins [Fri, 26 Feb 2010 19:16:41 +0000 (14:16 -0500)]
If a download finishes while the contextmenu is open, update it.

The contextmenu for a successful download should be different from
the one for a download in progress.  When the download completes,
remove the open contextmenu and open a new one, with the appropriate
options.

Fixes http://b/issue?id=2387032

14 years agoRemove unused resources.
Shimeng (Simon) Wang [Fri, 26 Feb 2010 19:40:27 +0000 (11:40 -0800)]
Remove unused resources.

This is generated by removeunusedresources tool.
Compiled and tested on passion/opal.  Compiled for voles.

Bug: 2456707

14 years agoRevert "Remove unused strings."
Shimeng (Simon) Wang [Fri, 26 Feb 2010 04:42:13 +0000 (20:42 -0800)]
Revert "Remove unused strings."

This reverts commit b0318df3b3f13fc61b97c1309e7426b9a586e603.

modified:   res/values-cs/strings.xml
modified:   res/values-da/strings.xml
modified:   res/values-de/strings.xml
modified:   res/values-el/strings.xml
modified:   res/values-es-rUS/strings.xml
modified:   res/values-es/strings.xml
modified:   res/values-fr/strings.xml
modified:   res/values-it/strings.xml
modified:   res/values-ja/strings.xml
modified:   res/values-ko/strings.xml
modified:   res/values-nb/strings.xml
modified:   res/values-nl/strings.xml
modified:   res/values-pl/strings.xml
modified:   res/values-pt-rPT/strings.xml
modified:   res/values-pt/strings.xml
modified:   res/values-ru/strings.xml
modified:   res/values-sv/strings.xml
modified:   res/values-tr/strings.xml
modified:   res/values-zh-rCN/strings.xml
modified:   res/values-zh-rTW/strings.xml
modified:   res/values/strings.xml

14 years agoMerge "Remove unused strings."
Shimeng (Simon) Wang [Fri, 26 Feb 2010 01:56:44 +0000 (17:56 -0800)]
Merge "Remove unused strings."

14 years agoMerge "Update the shortcut icons with new assets."
Patrick Scott [Thu, 25 Feb 2010 19:44:40 +0000 (11:44 -0800)]
Merge "Update the shortcut icons with new assets."

14 years agoUpdate the shortcut icons with new assets.
Patrick Scott [Thu, 25 Feb 2010 19:40:11 +0000 (14:40 -0500)]
Update the shortcut icons with new assets.

Position the favicon in the (almost) center of the asset.

Bug: 2168561

14 years agoUpdate to reflect android-common no longer in framework.
Dianne Hackborn [Thu, 25 Feb 2010 04:03:04 +0000 (20:03 -0800)]
Update to reflect android-common no longer in framework.

14 years agoRemove our dependency on gsf.
Patrick Scott [Fri, 19 Feb 2010 15:10:10 +0000 (10:10 -0500)]
Remove our dependency on gsf.

Hardcode the account values when looking up the hosted domain. We also hardcode
the settings uri for looking up the client id. This is the better solution for
now because the client id is written only once. If the partner setup were to
write the value to the BrowserProvider, it would get erased if the user decided
to reset the Browser.

14 years agoIf a tab was opened solely to download a file, close the tab.
Leon Scroggins [Tue, 23 Feb 2010 22:26:37 +0000 (17:26 -0500)]
If a tab was opened solely to download a file, close the tab.

Fix for http://b/issue?id=2217707

14 years agoMerge "Update the margin for the right icon."
Leon Scroggins [Wed, 24 Feb 2010 18:43:11 +0000 (10:43 -0800)]
Merge "Update the margin for the right icon."

14 years agoRemove unused strings.
Shimeng (Simon) Wang [Wed, 24 Feb 2010 18:26:26 +0000 (10:26 -0800)]
Remove unused strings.

This is generated by the remove_usused_strings script.

Bug: 2456707

14 years agoUpdate the margin for the right icon.
Leon Scroggins [Wed, 24 Feb 2010 17:19:15 +0000 (12:19 -0500)]
Update the margin for the right icon.

The drawables for the right icon have changed, so update the margin,
using the new margins in search_bar.xml as a guide.

Fixes http://b/issue?id=2463552

14 years agodisable mr-stretch (at least for now)
Mike Reed [Wed, 24 Feb 2010 16:12:54 +0000 (11:12 -0500)]
disable mr-stretch (at least for now)

14 years agoMerge "Implement test to iterate over list of URLs and store load times."
John Spong [Wed, 24 Feb 2010 01:15:08 +0000 (17:15 -0800)]
Merge "Implement test to iterate over list of URLs and store load times."

14 years agoMerge "Backup bookmarks when a new bookmark is added."
Leon Scroggins [Tue, 23 Feb 2010 19:49:04 +0000 (11:49 -0800)]
Merge "Backup bookmarks when a new bookmark is added."

14 years agoBackup bookmarks when a new bookmark is added.
Leon Scroggins [Tue, 23 Feb 2010 19:28:51 +0000 (14:28 -0500)]
Backup bookmarks when a new bookmark is added.

Fix for http://b/issue?id=2332942

14 years agoChange the browser to use the standard EXTRA_SUBJECT intent extra
Paul Westbrook [Fri, 12 Feb 2010 18:33:29 +0000 (10:33 -0800)]
Change the browser to use the standard EXTRA_SUBJECT intent extra
when sharing a page.  This allows Email and Gmail to prefill the
subject of the message with the title of the page

14 years agoWhen long pressing on title bar, do not use WebView in onCreateContextMenu
Leon Scroggins [Mon, 22 Feb 2010 21:54:14 +0000 (16:54 -0500)]
When long pressing on title bar, do not use WebView in onCreateContextMenu

Fix for http://b/issue?id=2456405

Override TitleBar::createContextMenu to call BrowserActivity's onCreateContextMenu
directly, so that WebView is ignored, and we only get the options for TitleBar.

14 years agoImplement test to iterate over list of URLs and store load times.
Andrei Popescu [Tue, 9 Feb 2010 16:59:58 +0000 (16:59 +0000)]
Implement test to iterate over list of URLs and store load times.

Also patch makefiles to correctly build tests and allow for hidden API calls in test.

14 years agoAdd some unit tests for BrowserProvider
Bjorn Bringert [Mon, 22 Feb 2010 22:07:14 +0000 (22:07 +0000)]
Add some unit tests for BrowserProvider

This includes a test for http://b/issue?id=2152749
fails, since that bug has not yet been fixed.

Change-Id: Ie2a71fe056528975279548f52c69953cef4dca1b

14 years agoChange the way the browser detects connectivity changes.
Andrei Popescu [Fri, 19 Feb 2010 15:44:13 +0000 (15:44 +0000)]
Change the way the browser detects connectivity changes.

Fix b: 2454643

14 years agoMerge "Remove tabs."
Patrick Scott [Fri, 19 Feb 2010 15:30:39 +0000 (07:30 -0800)]
Merge "Remove tabs."

14 years agoRemove tabs.
Patrick Scott [Fri, 19 Feb 2010 15:19:01 +0000 (10:19 -0500)]
Remove tabs.

14 years agoMerge "Use SearchManager.getWebSearchActivity() for web suggestions"
Bjorn Bringert [Thu, 18 Feb 2010 22:25:36 +0000 (14:25 -0800)]
Merge "Use SearchManager.getWebSearchActivity() for web suggestions"

14 years agoUse SearchManager.getWebSearchActivity() for web suggestions
Bjorn Bringert [Thu, 18 Feb 2010 21:59:21 +0000 (21:59 +0000)]
Use SearchManager.getWebSearchActivity() for web suggestions

This makes sure that the web suggestions come from the global
search package. With the old code, web suggestions could break
if some random app had a default intent filter for ACTION_WEB_SEARCH.

Change-Id: I67ecbe90433c01dc7a51921573c584d888a819d6

14 years agoMerge "When a second database is created on an origin, ensure that the quota for...
Ben Murdoch [Thu, 18 Feb 2010 19:21:35 +0000 (11:21 -0800)]
Merge "When a second database is created on an origin, ensure that the quota for that origin is large enough to cover both databases (old and new)."

14 years agoWhen a second database is created on an origin, ensure that the quota for that origin...
Ben Murdoch [Tue, 9 Feb 2010 17:03:07 +0000 (17:03 +0000)]
When a second database is created on an origin, ensure that the quota for that origin is large enough to cover both databases (old and new).

Fix for 2417477

Change-Id: I914b29a5f90a11fe3c3dc9a927a8720197b03560

14 years agoWhen loading a new page from the UI side, update the title bar to the new url.
Leon Scroggins [Wed, 17 Feb 2010 21:32:28 +0000 (16:32 -0500)]
When loading a new page from the UI side, update the title bar to the new url.

Fixes http://b/issue?id=2379215

14 years agoRemove style for WebTextView.
Leon Scroggins [Wed, 17 Feb 2010 16:29:48 +0000 (11:29 -0500)]
Remove style for WebTextView.

No longer needed now that this has been moved to a framework style.

14 years agoClear omnibox when pressing search key.
Leon Scroggins [Tue, 16 Feb 2010 17:33:55 +0000 (12:33 -0500)]
Clear omnibox when pressing search key.

Fix for http://b/issue?id=2442426

No longer override onSearchRequested, so that pressing the search
key behaves normally.  For touching the title bar, use the old
onSearchRequested (renamed to editUrl).

14 years agoRemove now-obsolete BACKUP_DATA permission
Christopher Tate [Fri, 12 Feb 2010 23:54:30 +0000 (15:54 -0800)]
Remove now-obsolete BACKUP_DATA permission

Change-Id: Ib92b81bb367a053e38cb98a564cb6711f2b9d9ef

14 years agoImplement navigator.isApplicationInstalled() API
Andrei Popescu [Tue, 9 Feb 2010 16:59:58 +0000 (16:59 +0000)]
Implement navigator.isApplicationInstalled() API

This CL contains the comminication with the package manager.

Fix b: 2371005

14 years agoAdd an original-package tag that matches the real package name.
Jeff Hamilton [Thu, 11 Feb 2010 22:25:47 +0000 (16:25 -0600)]
Add an original-package tag that matches the real package name.

Change-Id: I7a4d4004e0643409312b9155b7c8be281ec5c1c1

14 years agoAdd geolocation permissions to BrowserProvider
Bjorn Bringert [Tue, 9 Feb 2010 12:11:27 +0000 (12:11 +0000)]
Add geolocation permissions to BrowserProvider

The old hidden Google-specific framework setting
Settings.Secure.USE_LOCATION_FOR_SERVICES has been removed
and replaced by a setting in GoogleSettingsProvider.

Since Browser can't read from GoogleSettingsProvider,
I've instead changed SetupWizard and the Google search settings
(in GoogleQuickSearchBox) to write to this new geolocation
content provider in the Browser.

The geolocation permission content provider is write-only, and
requires a signatureOrSystem permission to write to. So
only system apps can add geolocation permissions,
and the only system apps that do so are SetupWizard and
GoogleQuickSearchBox.

Bug: http://b/issue?id=2428694
Change-Id: I0be5dbf4d99d07ca13b07fb299155c5aa17a51bd

14 years agoUse Search.SOURCE from android-common
Bjorn Bringert [Wed, 10 Feb 2010 14:22:12 +0000 (14:22 +0000)]
Use Search.SOURCE from android-common

The SOURCE (search source identifier) constant is moving
from hidden in android.app.SearchManager to com.android.common.Search.

Part of http://b/issue?id=2429556

Change-Id: I4eee5dbac6f0cee2947175915186a17d06dd9fec

14 years agoMerge "send broadcast intents to voice search for logging purposes"
Leon Scroggins [Tue, 9 Feb 2010 21:32:38 +0000 (13:32 -0800)]
Merge "send broadcast intents to voice search for logging purposes"

14 years agosend broadcast intents to voice search for logging purposes
Leon Scroggins [Tue, 9 Feb 2010 20:31:26 +0000 (15:31 -0500)]
send broadcast intents to voice search for logging purposes

Fix for http://b/issue?id=2390720

14 years agoMerge "Update mdpi resources with 2.0 style icons"
Eugene Koh [Tue, 9 Feb 2010 20:23:48 +0000 (12:23 -0800)]
Merge "Update mdpi resources with 2.0 style icons"

14 years agoUse new assets with desaturated green.
Leon Scroggins [Tue, 9 Feb 2010 19:59:20 +0000 (14:59 -0500)]
Use new assets with desaturated green.

Fix for http://b/issue?id=2390713

14 years agoIf the user submits the same search again from voice search, stay in place.
Leon Scroggins [Mon, 8 Feb 2010 22:35:59 +0000 (17:35 -0500)]
If the user submits the same search again from voice search, stay in place.

Fix for http://b/issue?id=2428574

14 years agoDo not ellipsize the title bar in voice search mode.
Leon Scroggins [Mon, 8 Feb 2010 19:39:34 +0000 (14:39 -0500)]
Do not ellipsize the title bar in voice search mode.

Fix for http://b/issue?id=2427828

Apparently TextView, when set to ellipsize="end", will truncate
before going to three lines.  Turn off truncation when in voice
search mode.

14 years agoTrim the extra whitespace before passing to SearchDialog.
Leon Scroggins [Mon, 8 Feb 2010 19:08:30 +0000 (14:08 -0500)]
Trim the extra whitespace before passing to SearchDialog.

Fixes http://b/issue?id=2427810

14 years agoMerge "Update look of title bar when in voice search mode."
Leon Scroggins [Mon, 8 Feb 2010 15:36:05 +0000 (07:36 -0800)]
Merge "Update look of title bar when in voice search mode."

14 years agoUpdate mdpi resources with 2.0 style icons
Bai Tao [Sat, 6 Feb 2010 08:11:26 +0000 (16:11 +0800)]
Update mdpi resources with 2.0 style icons

14 years agoam 9df17a63: am 066e5308: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 22:17:14 +0000 (14:17 -0800)]
am 9df17a63: am 066e5308: reconcile main tree with open-source eclair

Merge commit '9df17a63e52390bd56b955611cdde28ca8e231ef'

* commit '9df17a63e52390bd56b955611cdde28ca8e231ef':
  android-2.1_r1 snapshot

14 years agoUpdate look of title bar when in voice search mode.
Leon Scroggins [Fri, 5 Feb 2010 21:41:49 +0000 (16:41 -0500)]
Update look of title bar when in voice search mode.

Fix for http://b/issue?id=2390713

Add the arcs to the end of the title.
Change to multiline.
Use the standard long press look.

14 years agoam 066e5308: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:46:03 +0000 (08:46 -0800)]
am 066e5308: reconcile main tree with open-source eclair

Merge commit '066e5308dc23b17b3f50ab3459b06ae6ec4bc12a' into eclair-plus-aosp

* commit '066e5308dc23b17b3f50ab3459b06ae6ec4bc12a':
  android-2.1_r1 snapshot

14 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:38 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

14 years agoMerge "Launch intents to open/delete downloads, and handle them in the browser."
Leon Scroggins [Fri, 5 Feb 2010 14:27:16 +0000 (06:27 -0800)]
Merge "Launch intents to open/delete downloads, and handle them in the browser."

14 years agoLaunch intents to open/delete downloads, and handle them in the browser.
Leon Scroggins [Tue, 26 Jan 2010 19:15:01 +0000 (14:15 -0500)]
Launch intents to open/delete downloads, and handle them in the browser.

Initial work for http://b/issue?id=2384554 : showing all downloads in the
browser.  On the BrowserDownloadPage, no longer rely on the filename,
since once the Browser shows downloads from other applications, the
filenames for those downloads will not be available, and this way
all downloads are handled the same.

Other applications which download files will need to handle the same
Intents as OpenDownloadReceiver in order to open/delete them from
the BrowserDownloadPage.

OpenDownloadReceiver is also a necessary step towards moving the
BrowserDownloadPage into its own application, if we ultimately
decide to do that.

14 years agoUse the extended ConsoleMessage class to populate the Error Console, and in colour!
Ben Murdoch [Thu, 28 Jan 2010 15:19:59 +0000 (15:19 +0000)]
Use the extended ConsoleMessage class to populate the Error Console, and in colour!

Also tag the messages from the console that we pipe to the system log with Browser rather than Tab to match previous behavior and make filtering the logs easier (See b/2376873)

Change-Id: I1e2bb03c5b4e57e531a97acaa17d475224598209

14 years agoMerge "This should fix the build."
Jeff Hamilton [Thu, 4 Feb 2010 05:36:48 +0000 (21:36 -0800)]
Merge "This should fix the build."

14 years agoThis should fix the build.
Jeff Hamilton [Thu, 4 Feb 2010 05:30:25 +0000 (23:30 -0600)]
This should fix the build.

Change-Id: Ib03e2d8500a53b5f8742b19415a421a602947ec3

14 years agoHandle voice search it provides html content to display.
Leon Scroggins [Tue, 2 Feb 2010 21:10:57 +0000 (16:10 -0500)]
Handle voice search it provides html content to display.

Fix for http://b/issue?id=2407710

14 years agoMerge "Logging page load time"
Kristian Monsen [Tue, 2 Feb 2010 18:17:46 +0000 (10:17 -0800)]
Merge "Logging page load time"

14 years agoLogging page load time
Kristian Monsen [Tue, 2 Feb 2010 13:37:09 +0000 (13:37 +0000)]
Logging page load time

Added a log message when a page is loaded. It will handle redirects as a new page load.

14 years agoImplement support for V8 counters
Andrei Popescu [Tue, 2 Feb 2010 00:30:38 +0000 (00:30 +0000)]
Implement support for V8 counters

14 years agoUse the constants defined in RecognizerResultsIntent for voice search.
Leon Scroggins [Mon, 1 Feb 2010 21:14:11 +0000 (16:14 -0500)]
Use the constants defined in RecognizerResultsIntent for voice search.

14 years agoLog when bookmarks are added
Kristian Monsen [Mon, 1 Feb 2010 18:41:07 +0000 (18:41 +0000)]
Log when bookmarks are added

Log when the user add a bookmark, sending the url of the bookmark and how the bookmark was added