• Home
  • History
  • Annotate
  • only in /packages/apps/QuickSearchBox/src/com/android/
History log of /packages/apps/QuickSearchBox/src/com/android/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ecf356c15143ab0583c64682de16d94a57f7dd1c 20-Sep-2013 Mathew Inwood <mathewi@google.com> Remove content provider querying from the search app.

The global search API that is used for this is being deprecated, since it
has long been beset by performance problems. Remove all related code from
the search app.

Bug: 10487397

Change-Id: Ifa91b50d784cb469cb39d6008284aa44ff54e62b
uicksearchbox/AbstractCorpus.java
uicksearchbox/AbstractInternalSource.java
uicksearchbox/AbstractPromoter.java
uicksearchbox/AbstractSource.java
uicksearchbox/AppsCorpus.java
uicksearchbox/Config.java
uicksearchbox/ContactsSource.java
uicksearchbox/Corpora.java
uicksearchbox/CorporaUpdateReceiver.java
uicksearchbox/Corpus.java
uicksearchbox/CorpusFactory.java
uicksearchbox/CorpusRanker.java
uicksearchbox/CorpusResult.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/CursorBackedSourceResult.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/EventLogLogger.java
uicksearchbox/Logger.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/Promoter.java
uicksearchbox/QsbApplication.java
uicksearchbox/QueryTask.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/ShortcutRefresher.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/ShortcutsProvider.java
uicksearchbox/ShouldQueryStrategy.java
uicksearchbox/SingleCorpusPromoter.java
uicksearchbox/SingleCorpusResultsPromoter.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/SingleSourceCorpusResult.java
uicksearchbox/Source.java
uicksearchbox/SourceShortcutRefresher.java
uicksearchbox/Sources.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionCursorProvider.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/VoiceSearch.java
uicksearchbox/WebCorpus.java
uicksearchbox/WebPromoter.java
uicksearchbox/google/AbstractGoogleSource.java
uicksearchbox/google/GoogleSuggestClient.java
uicksearchbox/google/GoogleSuggestionProvider.java
uicksearchbox/preferences/ClearShortcutsController.java
uicksearchbox/preferences/DeviceSearchFragment.java
uicksearchbox/preferences/OkCancelPreference.java
uicksearchbox/preferences/PreferenceController.java
uicksearchbox/preferences/PreferenceControllerFactory.java
uicksearchbox/preferences/SearchSettingsActivity.java
uicksearchbox/preferences/SearchableItemPreference.java
uicksearchbox/preferences/SearchableItemsController.java
uicksearchbox/preferences/SearchableItemsFragment.java
uicksearchbox/preferences/SettingsFragmentBase.java
uicksearchbox/ui/BaseSuggestionView.java
uicksearchbox/ui/ClusteredSuggestionsAdapter.java
uicksearchbox/ui/ContactSuggestionView.java
uicksearchbox/ui/CorporaAdapter.java
uicksearchbox/ui/CorpusView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/DefaultSuggestionViewFactory.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewSinglePane.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionsAdapter.java
uicksearchbox/ui/SuggestionsAdapterBase.java
uicksearchbox/ui/SuggestionsListAdapter.java
uicksearchbox/ui/SuggestionsListView.java
uicksearchbox/ui/SuggestionsView.java
05fcd71821a6b359c94baac8776fd0d11d7bff73 19-Sep-2013 Mathew Inwood <mathewi@google.com> Fix crash due to missing apps source.

The applications provider has been removed. We should not crash.

Change-Id: I89208a8fa61d8f660344750833f6669ca1b0a9d0
uicksearchbox/SearchableCorpusFactory.java
15a250bd2dd7fe70d29ca2f088a8d52d834ac598 09-May-2012 Bjorn Bringert <bringert@android.com> am d2ad41ea: Use Guava 11.0.2 in QSB

* commit 'd2ad41eabb20e9407003a1b6e894c5c9ad0498b9':
Use Guava 11.0.2 in QSB
d2ad41eabb20e9407003a1b6e894c5c9ad0498b9 08-May-2012 Bjorn Bringert <bringert@android.com> Use Guava 11.0.2 in QSB

Bug: 6457759
Change-Id: I7fe74e9e09ca722b5be4a90eb71d1c763395e715
uicksearchbox/QsbApplication.java
462599bdf19e8ca85450235c130d0b3a30458804 20-Jan-2012 Vladimir Baryshnikov <vovkab@gmail.com> Fix crash in QuickSearchBox widget.

Looks like mCorpusIndicatorIntent it is not used any more,
but causes NullPointerException as it never set.

Change-Id: I7b6bd80a82a60d3b5b73eefb1e3e155ae6471f04
uicksearchbox/SearchWidgetProvider.java
91da7b135300cbbe482e6d1da64bd52ce629245d 11-Aug-2011 Bjorn Bringert <bringert@android.com> Handle EXTRA_WEB_SEARCH_PENDINGINTENT (QSB)

Bug: 4988580

Change-Id: I5ef9d68c34f1b38d2194c06c5ac0b3b13e9047eb
uicksearchbox/google/GoogleSearch.java
723b496d757c34d8ea745c4f650b353f5791e1ce 24-May-2011 Mathew Inwood <mathewi@google.com> Get Search app usable on tablet & phone.

The new-style split pane UI is only used on x-large devices. Others
will use the phone style white UI.

Also tidied up unused and non-working code in SearchWidgetProvider.

Change-Id: Ic39170146426f6ba63fad4943f296f3ddd8a85dc
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/Suggestions.java
uicksearchbox/preferences/LegacySearchSettingsActivity.java
uicksearchbox/preferences/LegacySearchSettingsActivityBase.java
uicksearchbox/preferences/SearchSettingsActivityChooser.java
uicksearchbox/preferences/SearchableItemsActivity.java
9ddfa44af5b4211cd3a88b1d8a08f1afd0a9be56 11-Feb-2011 Bjorn Bringert <bringert@android.com> Use AndroidHttpClient instead of DefaultHttpClient

This fixes a crash on concurrent suggest requests.

Bug: 3438124
Change-Id: I6771ab20119dc556b52608e3cf09b79871be4794
uicksearchbox/google/GoogleSuggestClient.java
b28dcd61d3aec036c6a2b51571d11453ff6eb671 28-Jan-2011 Bjorn Bringert <bringert@android.com> Make it easier to exit QSB when searchbox is empty

1) Adds a clickable background pane which dismisses the app
if the searchbox is empty.

2) Brings back the code removed
in change Iee8f0cb3f4252a2dfb30127b6fe368c036d5bd90
but limits it to only dismiss the keyboard if the search
box is empty.

Bug: 3400032
Change-Id: Ic01cfe4fe207ee6b08cf6fd0ed68b2896f9f2e02
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
639c9f3e4e7900e3d4b18473e02909eece924f17 27-Jan-2011 Bjorn Bringert <bringert@android.com> Match launcher search button position

Bug: 3395262
Change-Id: If66b3c606b35a9921225a866c4d986b69b897241
uicksearchbox/ui/SearchActivityViewTwoPane.java
7e63d073c2fa1b9836871558eda2e3a78710214d 25-Jan-2011 Bjorn Bringert <bringert@android.com> Move Help button in QSB settings to App Bar

Bug: 3377933
Change-Id: I90450cd4fdb0186c6cd0514fc7aeed6df4e8b7e4
uicksearchbox/Help.java
uicksearchbox/preferences/SearchSettingsActivity.java
56f7e5cd8a8e4b7997a75f66d8263aa0f83eeab6 24-Jan-2011 Mathew Inwood <mathewi@google.com> Proper Honeycomb SDK version check.

Bug: 3174675
Change-Id: I7aeef30373a6898b31bfacb50fabd9396942097a
uicksearchbox/QsbApplication.java
43996e713327ab5e7e2e36f91b0b153d9d4d1137 24-Jan-2011 Justin Ho <justinho@google.com> Integrating new history_suggestion asset

Change-Id: I1e1ec0114ca1cfdae195a91cfb8299fbbcfa6615
uicksearchbox/ui/WebSearchSuggestionView.java
ce476118902a8c52a0ff5b398573caa88e018a70 20-Jan-2011 Bjorn Bringert <bringert@android.com> Add onStop() method to preference controllers

Bug: 3368475
Change-Id: Ic850dacb126ff94602940e9a7e7b4460c185a05e
uicksearchbox/preferences/ClearShortcutsController.java
uicksearchbox/preferences/LegacySearchSettingsActivityBase.java
uicksearchbox/preferences/PreferenceController.java
uicksearchbox/preferences/PreferenceControllerFactory.java
uicksearchbox/preferences/SearchableItemsController.java
uicksearchbox/preferences/SettingsFragmentBase.java
71f9f8ccd3c12d7d48e2fee4c55cd57e1970b797 19-Jan-2011 Bjorn Bringert <bringert@android.com> Support context-sensitive help

Bug: 3154500
Change-Id: Iafc5e652cef2cee87db4ca18150b2288a9c75c35
uicksearchbox/Config.java
uicksearchbox/Help.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/preferences/SearchSettingsActivity.java
3bcf2de0b52d088a928f0efe962608baa9cc1e39 18-Jan-2011 Bjorn Bringert <bringert@android.com> New search history removal confirmation UI

Before, this was a context menu, but that doesn't allow
OK and Cancel buttons. Now we use an AlertDialog instead
of a ContextMenu.

Bug: 3141702
Change-Id: I41d67d8db673c8d9d66dee8aedf2757bf89cd8be
uicksearchbox/SearchActivity.java
uicksearchbox/ui/BaseSuggestionView.java
uicksearchbox/ui/DefaultSuggestionView.java
ba46e3e010f777b6531face8fec018d54710df48 17-Jan-2011 Bjorn Bringert <bringert@android.com> Distinguish web search history suggestions in UI

This adds a left-hand side icon to web search history
suggestions. The current icon is just a placeholder.

Bug: 3141702
Change-Id: Ia984996ac7fd9d2fe949184093359ae947ad52a5
uicksearchbox/ui/WebSearchSuggestionView.java
09bfc59959dc7bab36edb66a41cb93c354e74626 06-Jan-2011 Mathew Inwood <mathewi@google.com> Add client=android parameter to Google suggest client.

This is to be compliant with the suggest CGI API. Also updated user-agent
to include real Android version, instead of just '1.0'.

Bug: 3327779
Change-Id: I65fcac04bc513a9a197b0d95dbdd76a1d50a6b46
uicksearchbox/google/GoogleSuggestClient.java
7a427f9830f7f9201299fae34a93016c77b0a569 11-Jan-2011 Mathew Inwood <mathewi@google.com> Get voice search icon from voice search package.

This ensures consistency between the icon used in the launcher, and that
used in QSB.

Bug: 3336825
Change-Id: Ife1bfe948d83844b6ae47acc44d401087959868c
uicksearchbox/VoiceSearch.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
748a3cd7cb44de0aedb05e3c5d19989e2e52164f 11-Jan-2011 Mathew Inwood <mathewi@google.com> Don't move highlight on enter in query text view.

This ensures that the highlight doesn't momentarily move to the suggestion
list when hitting enter to launch a search.

Bug: 3327509

This is a cherry pick of commit 101870845a3a30b7896c4b77ad0d01713af982f6
from master which was accidentally submitted to master instead of honeycomb.

Change-Id: Ia86157f51eec05366681ac90e72343014ed328ff
uicksearchbox/ui/SearchActivityView.java
04780ccd1ef55fca5234cdad4386d7248bb9b3dd 06-Jan-2011 Mathew Inwood <mathewi@google.com> Clicks outside of the searchbox should not exit the app.

bug:3327455
Change-Id: Icbeaed01283c4c5920299194a2fcb6fc6d038ecc
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
45f42cab0664a8a23975e8913dbe77c1fd8ad86c 21-Dec-2010 Mathew Inwood <mathewi@google.com> Fix keyboard navigation and highlight issues.

- Make all focusable UI elements have a focused state
- Fix issues with pressing enter on various UI elements
- Make some touch targets slightly bigger.

Bug: 3291344
Bug: 3291338
Bug: 3291333
Change-Id: I16a88b68d960c9a7b2f245b4915fda9cfd8d3206
uicksearchbox/ui/ClusteredSuggestionsAdapter.java
uicksearchbox/ui/ClusteredSuggestionsView.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionsListView.java
157aecaa2e7f4ba905efc467a2de43d79d42241b 20-Dec-2010 Bjorn Bringert <bringert@android.com> Merge "Update search widget design"
1ddba859a4e9583a238e8ee75fee553472d32811 17-Dec-2010 Bjorn Bringert <bringert@android.com> Update search widget design

Bug: 3137032
Change-Id: Ifa452bcbd39c3451bdccca83cc096dcafac412fb
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
f4e4f922ad11b7d5bdc6347436f1e129fbae9041 18-Dec-2010 Narayan Kamath <narayan@google.com> Fix a race condition in the SearchBaseUrlHelper.

This race condition is seen only when the app starts up
for the first time *and* checkSearchDomain( ) takes a
while to return, *and* getSearchDomain is called
beforei it does.

bug:3132422
Change-Id: I3e1bcc08ce6bffaedddb02e33832007b6e48db97
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/google/SearchBaseUrlHelper.java
8f65daa6e6df644d6cc6a9a2e100c01feb33bbd2 16-Dec-2010 Narayan Kamath <narayan@google.com> Account for language/locale changes in base urls.

If the user changes his locale / language, the base
search url should be changed as well (the hl= param).

bug:3287871

Change-Id: If460e1f6395bb0fcb009b5d8504cd13630ae4de3
uicksearchbox/SearchSettings.java
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/google/SearchBaseUrlHelper.java
bfafb70b43802f4ca37aab3ea7f6e9568aa7361f 15-Dec-2010 Bjorn Bringert <bringert@android.com> Add whitelist for hl country variants

google.com currently only supports hl=lang-country for
a small number of locales. This change adds a whilelist
of such locales. This workaround can be removed
once bug 3232296 is fixed.

Bug: 3232296
Change-Id: I1ec075efe1ceb7655286329fa908f170ea25546f
uicksearchbox/google/GoogleSearch.java
964deade9111e08f22dce9c3c97b84e9c0f5b27a 13-Dec-2010 Bjorn Bringert <bringert@android.com> Fix base domain race condition

Bug: 3278720
Change-Id: I568a76c32b113fcde9d5049984b32fb053180796
uicksearchbox/google/SearchBaseUrlHelper.java
1cbbe20d1c148a7966a0b69b01b705da9e491de1 10-Dec-2010 Mathew Inwood <mathewi@google.com> Fix bug in AsyncIconLoader.

Icons from different packages, but with the same resource id, could
have been displayed incorrectly when views were recycled before.
Now we ensure that the IDs used are always unique.

Bug: 3265363
Change-Id: If6bf1a7004afecb33b9ff0ce052ce5d37a7b6e3e
uicksearchbox/ui/DefaultSuggestionView.java
f919c948d7dc585d1ca5fe5f357ec327ea2323c4 10-Dec-2010 Mathew Inwood <mathewi@google.com> Fix crash seen in ClusteredSuggestionsAdapter.

Not sure of the exact cause of this crash, but looking at
SuggestionsListAdapter, it will just silently fail in the same
case. So copying that behaviour here.

Bug: 3215522
Change-Id: Ife17bf7a33028eb6c976e75a266278f200256e1b
uicksearchbox/ui/ClusteredSuggestionsAdapter.java
3109221113ff01d16dfa7d0844f93dccb7dd643b 07-Dec-2010 Bjorn Bringert <bringert@android.com> Don't shortcut typed searches

Typed searches are now always web searches, and we shouldn't
use shortcuts for any web searches, to simplify the history
experience.

Bug: 3261145
Change-Id: I2d050a4de535af07ee8d16a77177c4dbd503618e
uicksearchbox/Corpus.java
uicksearchbox/SearchActivity.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/WebCorpus.java
1259cf7175b0eacac403fb5298684bdbf3ef672c 06-Dec-2010 Narayan Kamath <narayan@google.com> Let SearchBaseUrlHelper listen for preference changes.

Also add a getSearchDomain( ) function that returns a URL suitable
for UI displays.

Change-Id: Ib783ee23d51ce6bc357c943f8ae3af6c2ea11866
uicksearchbox/QsbApplication.java
uicksearchbox/google/SearchBaseUrlHelper.java
3ee5c8a646ac4d49c0ae6040c7e383d2ad8e985b 03-Dec-2010 Narayan Kamath <narayan@google.com> Change name of another pref, increase visibility.

Useful for registering listeners on it.

Change-Id: Ic4c90e27b8a68af07e9460611d6dc81c14af0187
uicksearchbox/SearchSettingsImpl.java
b1cdcbce5d9c5edb20309c59b7cb52f76bbfac72 03-Dec-2010 Narayan Kamath <narayan@google.com> Make getSearchSettings() public.

Useful for UI components that want to listen to changed
settings.

Change-Id: Id01968974b8c465e5ce7853483e02396026a84c7
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/google/SearchBaseUrlHelper.java
8074f659cbe5406f0a31c8d1cd764660964f0d53 03-Dec-2010 Narayan Kamath <narayan@google.com> Rename use_google_com preference as per convention

Should be USE_GOOGLE_COM_PREF, not USE_GOOGLE_COM and
it should be visible to the PreferenceController. Also
add some @Override annotations as appropriate.

Change-Id: I43561893098c13e52ed3da74f283bc24d9621051
uicksearchbox/SearchSettingsImpl.java
c953ef06f0fc1fb4157fe67aa145cf702ee204d0 02-Dec-2010 Narayan Kamath <narayan@google.com> Introduce the SearchBaseUrlHelper class.

Issues requests to /searchdomaincheck to retrive the
users search domain based on IP. Following this, I will
submit another change to turn it on and add the settings
UI.

Change-Id: I91e37b3a4b853b088216df81f4a2fb6122cb54c4
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/google/GoogleSearch.java
uicksearchbox/google/SearchBaseUrlHelper.java
ef6dbc776667219ac89bd5f80c181f65260457ac 02-Dec-2010 Narayan Kamath <narayan@google.com> Move HttpHelper instantiation to c.android.qsb.

To be followed by another change to delete the old code.

Change-Id: If8ab341da1f5f88b0f3f74fdb51173fdf94d8a14
uicksearchbox/Config.java
uicksearchbox/QsbApplication.java
uicksearchbox/util/JavaNetHttpHelper.java
b9c2b333a595dca5ee949cebfa4a355975d7f9a9 01-Dec-2010 Narayan Kamath <narayan@google.com> Change the location of the HTTP helpers - Part 2.

Increase the visibility of the GetRequest constructor.

Change-Id: I4062b9aa1d586bda284e6e2384f3f66e589eb605
uicksearchbox/util/HttpHelper.java
353673935cec75d94d91e88d5e48ed52fde15a21 01-Dec-2010 Narayan Kamath <narayan@google.com> Merge "Add HTTP helper classes to c.a.quicksearchbox."
1ea50e57e0bb5bf1184e3c1e4fbda27c3d8e44a6 01-Dec-2010 Narayan Kamath <narayan@google.com> Add HTTP helper classes to c.a.quicksearchbox.

These classes have no non opensource dependencies. This
will be followed by a change to delete them from
googlequicksearchbox and to switch over code to using
these instances.

Change-Id: I1bf10e3d91118aceb81fba7c80c3ca0bcf47b120
uicksearchbox/util/HttpHelper.java
uicksearchbox/util/JavaNetHttpHelper.java
2e684983c6a20faa209e42f6c63337cfcb34fc71 30-Nov-2010 Amith Yamasani <yamasani@google.com> Implement fade-out transition when exiting QSB.

Also adjust the layouts to match the homescreen position of the search icon and hint text.

Bug: 3223441
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
f4a0ea4ca3c5f5d16c78d875dad8740a3faea586 22-Nov-2010 Amith Yamasani <yamasani@google.com> Updated assets and matching margins
uicksearchbox/ui/SearchActivityViewTwoPane.java
cd4accc7899fa7b756e1c430d6b196525abd5c3c 25-Nov-2010 Mathew Inwood <mathewi@google.com> Move HTTP timeouts to Config, and increase.

This improves reliability on slow GSM connections.

Bug: 3226928
Dependant on change: I960f53941b824a358f2ab68c1e5e255b61493c3d
Change-Id: If7204f73639019e0394a1ab6983c2431c166daf9
uicksearchbox/Config.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchableSources.java
uicksearchbox/google/GoogleSuggestClient.java
bb57ae79a795983f048d1f43aa6dfc538906bc6a 23-Nov-2010 Mathew Inwood <mathewi@google.com> Speculative fix for monkey crash observed.

Also fix a NPE seen in crash reports.

Bug: 3215522
Change-Id: Ic3f4f43dd69faba8e2b34964c10b90b379ff883b
uicksearchbox/ui/ClusteredSuggestionsView.java
uicksearchbox/ui/SuggestionsAdapterBase.java
138c0a8d821f02d13e73bfc579ad9bded7d4d683 23-Nov-2010 Ying Wang <wangying@google.com> Move icons to mipmap.

Change-Id: Id7da3d48f8b65c8077bc218529b543794b6c777e
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/google/AbstractGoogleSource.java
uicksearchbox/ui/CorporaAdapter.java
uicksearchbox/ui/SearchActivityViewSinglePane.java
2d08eed7ccfa02c33a9c8cac1c94d3663d3afcd9 23-Nov-2010 Bjorn Bringert <bringert@android.com> Merge "Use SharedPreferencesCompat"
269256d0aff25596395479cbfcd7cca5f60a2531 23-Nov-2010 Bjorn Bringert <bringert@android.com> Use SharedPreferencesCompat

Bug: 3220424
Change-Id: I8eaa46724e9250036a4a93c51ec3885ba8a404a3
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/util/Compat.java
74043a81e889ba4b931c04a0a7131892eb14c70d 23-Nov-2010 Mathew Inwood <mathewi@google.com> Merge "Fix to earlier preferences rework, to restore pre-HC support."
74102fa9e68c9ba8b9382e8ba1ef26e9fc6dfd0e 23-Nov-2010 Mathew Inwood <mathewi@google.com> Fix to earlier preferences rework, to restore pre-HC support.

Change-Id: Iec787b7d1278be9d6f79f77d44a6d1089b16aeae
uicksearchbox/preferences/LegacySearchSettingsActivityBase.java
d84f30fc2964eded2bf559c06d6d8e77ae26a2d0 23-Nov-2010 Bjorn Bringert <bringert@android.com> Use apply() to save preferences in Honeycomb and later

Bug: 3220424
Change-Id: I4327b8b729c10d35e107c214efbe466f5aa241c5
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/util/Compat.java
c8a0a093832240f517f7fe4dbf8fe168b6e3ebf7 22-Nov-2010 Mathew Inwood <mathewi@google.com> Some minor refactoring of preference controllers.

This is to support changes in GoogleQSB.

Dependant on change: Ie8cd06d527545270e2f2636cafa8a81a16ce79a7
Change-Id: I760a48f1de1f792771fc5a82f3b62b5000a10a88
uicksearchbox/QsbApplication.java
uicksearchbox/preferences/SettingsFragmentBase.java
e427814cd26a18ccb8ea958bfa821dd2a83e4f1f 22-Nov-2010 Jean-Baptiste Queru <jbq@google.com> am 49ecac0f: resolved conflicts for merge of baccf388 to gingerbread-plus-aosp

* commit '49ecac0f60307c1b8c6a29f4f9aca8ee07728869':
QuickSearch: Fix the network connection timeout constant
49ecac0f60307c1b8c6a29f4f9aca8ee07728869 22-Nov-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of baccf388 to gingerbread-plus-aosp

Change-Id: I97b3563fff96d5e0fddb814bec902b1edd175992
a059151661148e9e58ebd81a54927c1b35f7be1f 19-Nov-2010 Bjorn Bringert <bringert@android.com> Only dismiss keyboard on BACK, not QSB

Bug: 3211614
Change-Id: Iee8f0cb3f4252a2dfb30127b6fe368c036d5bd90
uicksearchbox/ui/SearchActivityView.java
cefec1fa95fe5f66b2f4a379406db485da5b4a7d 18-Nov-2010 Bjorn Bringert <bringert@android.com> Fix settings strings and clean up config strings

Bug: 3086181
Change-Id: I66ec1e484f53fa7a8f5471b555805f2b7fea11fd
uicksearchbox/ui/CorporaAdapter.java
55938341e72f1581d6caae51a31d8d72a1cd8138 16-Nov-2010 Amith Yamasani <yamasani@google.com> Add hint and transition effects.

Also put the background on the window instead of the activity view so that it fades smoothly
and doesn't cause a bright patch behind the keyboard transitions.

Change the close button between two states, depending on whether the query is empty or not.
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
77909685887bd6db7454b73cf274afc3aca2f58d 17-Nov-2010 Bjorn Bringert <bringert@android.com> Clean up suggestion layouts and fix spacing

This adds a special layout for web suggestions,
with fewer views, and moves all the web search suggestion specific
code out of DefaultSuggestionView.
It also gets rid of the per-source SuggestionViewFactories and creates
a global factory that delegates to other factories. This is to make
the choice of view dependent on the suggestion type instead of the
source.

Bug: 3202129
Bug: 3202115
Change-Id: Ie1963acd90bedda523f6c25c26b76b6a075b41af
uicksearchbox/AbstractSource.java
uicksearchbox/ContactsSource.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/Source.java
uicksearchbox/ui/BaseSuggestionView.java
uicksearchbox/ui/ClusteredSuggestionsAdapter.java
uicksearchbox/ui/ContactSuggestionView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/DefaultSuggestionViewFactory.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionViewFactory.java
uicksearchbox/ui/SuggestionViewInflater.java
uicksearchbox/ui/SuggestionsAdapter.java
uicksearchbox/ui/SuggestionsAdapterBase.java
uicksearchbox/ui/SuggestionsListAdapter.java
uicksearchbox/ui/WebSearchSuggestionView.java
423387a1fc13575c2c540491b7aeea77592d20fa 17-Nov-2010 Narayan Kamath <narayan@google.com> Merge "Do not store shortcuts that originated from an ACTION_WEB_SEARCH."
da4890b2ca6124231f609c5e4337e249ae89ca24 17-Nov-2010 Narayan Kamath <narayan@google.com> Do not store shortcuts that originated from an ACTION_WEB_SEARCH.

This applies primarily to shortcuts added by VoiceSearch through
the ShortCuts(content)Provider.

bug:3137844
Change-Id: I5d9bd2335deb9c5cd732f71d8e2d0b548d21b199
uicksearchbox/ShortcutsProvider.java
74c4910fd4ff4ac7b3e7cf3fd7fa81d4939c039b 17-Nov-2010 Bjorn Bringert <bringert@android.com> Merge "Allow hiding disabled menu items in two-pane popup menu"
73a375928e0b8f0b2bfa09e4b252cfcbdad4ef84 17-Nov-2010 Bjorn Bringert <bringert@android.com> Allow hiding disabled menu items in two-pane popup menu

Bug: 3154500
Change-Id: I5c702ce349b40508027b0b399e6a6297167c15c9
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
1fea9050e77409a78e81e089ff1530fcb0c5eb0a 17-Nov-2010 Mathew Inwood <mathewi@google.com> Merge "Some refactoring and tidyig up."
27691bfcdcf3d2918b45bfadd57b08547c317ce5 17-Nov-2010 Mathew Inwood <mathewi@google.com> Some refactoring and tidyig up.

Improvements to AbstractPromoter and AbstractSuggestionExtras
to support changes in GoogleQSB.

Change-Id: I2c266e5239c914203b973bce15877d56d01729e5
uicksearchbox/AbstractPromoter.java
uicksearchbox/AbstractSuggestionExtras.java
uicksearchbox/CursorBackedSuggestionExtras.java
uicksearchbox/QsbApplication.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/ShortcutPromoter.java
e576bbfc60b68647a3f8ce806fc93d99447fa1bd 16-Nov-2010 Bjorn Bringert <bringert@android.com> Merge "Add code for Help menu item."
5eee22a4ec6fc45deb9706ba535039ccae51b90a 16-Nov-2010 Bjorn Bringert <bringert@android.com> Add code for Help menu item.

Since help_url is currently empty, the menu item won't be shown.

Bug: 3154500
Change-Id: I23936012a1c8089318475f07fb38e289262777ea
uicksearchbox/Config.java
uicksearchbox/SearchActivity.java
66adf04c95e03e4d771d06c5c6ce33b0f1648e93 16-Nov-2010 Mathew Inwood <mathewi@google.com> Merge "Tidy up SuggestionUtils.normalizeUrl() and add some tests."
116affd19a834a2df4226a1ae37afcc1113a230e 16-Nov-2010 Mathew Inwood <mathewi@google.com> Always publish results even when none are promoted.

This fixes a bug which caused result never to be published
when a suggestions provider never returns, and there are no
shortcut matches.

Bug: 3200540
Change-Id: Ic63a69c4606f4e97d83028a9b26389b0dbd3b601
uicksearchbox/Suggestions.java
uicksearchbox/ui/ClusteredSuggestionsAdapter.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SuggestionsAdapterBase.java
uicksearchbox/ui/SuggestionsListAdapter.java
40736d6090ddc45af9c44a436dfcdaef93e5d025 16-Nov-2010 Mathew Inwood <mathewi@google.com> Tidy up SuggestionUtils.normalizeUrl() and add some tests.

Change-Id: Iad5e256dd960b5521eaf4379321f95267f4a7ee6
uicksearchbox/SuggestionUtils.java
fb1bd04959df1d63fd09a8d82d616bddd874961f 16-Nov-2010 Bjorn Bringert <bringert@android.com> Merge "Change overflow menu button to show a drop-down menu"
00efc7712fd9fce49f1c8e1a4de71784958f8a35 16-Nov-2010 Mathew Inwood <mathewi@google.com> Order corpora in right hand pane by popularity.

The ordering of the corpora in the Suggestions object is now
maintained so that the corpora appear in the order determined
by the corpus ranker.

Change-Id: I27e282af8d942de0c939748ab63a049a994bd7ad
uicksearchbox/Suggestions.java
f95d552f5a4d8b61219f4c06ce6698ed2a5f0e10 16-Nov-2010 Bjorn Bringert <bringert@android.com> Change overflow menu button to show a drop-down menu

The menu currently contains Search settings and Manage search history.

Bug: 3154500
Change-Id: I3ef7d2a1dd29d3b8ac4f74c9b980f3c8ff8c63cd
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewSinglePane.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
af1ca2cc65a2c2fdf6f396126e235d64e4da0936 16-Nov-2010 Mathew Inwood <mathewi@google.com> Only show shortcuts in the first cluster.

Now, the top 3 shortcuts are displayed in the first cluster
in the right hand pane. If there are less than 3 shortcuts
in the DB, the first cluster will have less than 3 items in
it.

Bug: 3162608
Change-Id: I833cc99d75742b6260c3f770d2c061f39b67d644
uicksearchbox/AbstractPromoter.java
uicksearchbox/BlendingPromoter.java
uicksearchbox/Config.java
uicksearchbox/QsbApplication.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/ResultFilter.java
uicksearchbox/ResultPromoter.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/SuggestionFilter.java
uicksearchbox/ui/ClusteredSuggestionsAdapter.java
9a8c6b416ac7ab00998d3496226712f1d442838f 12-Nov-2010 Peter Visontay <pvisontay@google.com> Fixed a bug that caused RankAwarePromoter return fewer results
when it promoted something that had already been promoted due
to a shortcut to it. Added test case testing this scenario.

Also refactored RankAwarePromoter to make it easier to
understand its ranking logic.

Change-Id: I8f7baabf233b35162871dc0f589f7b6c4db72d20
uicksearchbox/RankAwarePromoter.java
0dda8072a3c1364b035e6142f1dfa489cc2e3962 15-Nov-2010 Bjorn Bringert <bringert@android.com> Merge "Allow QSB start-up tracing without rebuilding app"
48ced2f683491d07d892ec81f88fe2e26f9207c2 15-Nov-2010 Bjorn Bringert <bringert@android.com> Allow QSB start-up tracing without rebuilding app

To trace QSB start-up:

$ adb shell am start -a android.search.action.GLOBAL_SEARCH --ez trace_start_up true

Change-Id: I54bdc4d73a7896bd7bd6bdfccf93d6cb10419305
uicksearchbox/SearchActivity.java
f32ccb142919068f22ac0a0c19459c9153f70eca 15-Nov-2010 Mathew Inwood <mathewi@google.com> Improvements to suggestion clustering in right pane.

Changes:
- Space between clusters increased to 50% of suggestion height.
- Color of lines between suggestions toned down.
- Don't show duplicate suggestions when the appear in the promoted
cluster
- Don't cluster when we only have results from one corpus
- Show web search that aren't web search suggestions in clusters.

Bug: 3162608
Change-Id: I68f93890a839dc203a36ccf2ba552c1dac69ab48
uicksearchbox/ListSuggestionCursorNoDuplicates.java
uicksearchbox/SuggestionUtils.java
uicksearchbox/ui/ClusteredSuggestionsAdapter.java
7a0c3a7c6fdabce949b59e0a2c6ec1d44a140c24 12-Nov-2010 Mathew Inwood <mathewi@google.com> Cluster results by suggestion type.

This uses a ExpandableListView for results, with the first
group showing promoted suggestions, and the remaining groups
showing all suggestions by corpus type.

Bug: 3162608
Dependant on change: I579339ca208a83ecb9813175da7b8afbb3aa3c9f
Change-Id: I20fbc3945a8b89e8d94287856874cdee561542e6
uicksearchbox/Config.java
uicksearchbox/EventLogLogger.java
uicksearchbox/EventLogTags.logtags
uicksearchbox/Logger.java
uicksearchbox/SearchActivity.java
uicksearchbox/SuggestionPosition.java
uicksearchbox/ui/ClusteredSuggestionsAdapter.java
uicksearchbox/ui/ClusteredSuggestionsView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionsAdapter.java
uicksearchbox/ui/SuggestionsAdapterBase.java
uicksearchbox/ui/SuggestionsListAdapter.java
fd4a4cbc1143a734d357897531daa7105db6459b 11-Nov-2010 Mathew Inwood <mathewi@google.com> Refactor suggestions adapters for clustering of results.

This allows an alternative SuggestionsView to be based on an
ExpandableListView instead of a regular list view.

Skeleton ExpnadableListView based classes added, but not functional
yet.

Bug: 3162608
Change-Id: Ic78e9397ed00423855732e5dcc1dd4d4136d6a90
uicksearchbox/SearchActivity.java
uicksearchbox/ui/ClusteredSuggestionsAdapter.java
uicksearchbox/ui/ClusteredSuggestionsView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionsAdapter.java
uicksearchbox/ui/SuggestionsAdapterBase.java
uicksearchbox/ui/SuggestionsListAdapter.java
uicksearchbox/ui/SuggestionsListView.java
uicksearchbox/ui/SuggestionsView.java
d3551cb5eceff9b0ce4718660710a00a1737a224 12-Nov-2010 Bjorn Bringert <bringert@android.com> Merge "New Holo assets and layout changes."
49f8d487114bdbe5e0cdd6da923e1e92e5ce1bbf 12-Nov-2010 Amith Yamasani <yamasani@google.com> New Holo assets and layout changes.
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionsAdapter.java
1841fee7aa9b5ea81275cc816949c47bf4b9e44e 11-Nov-2010 Mathew Inwood <mathewi@google.com> Don't show voice search hints when they're disabled.

This disables intent
com.android.quicksearchbox.action.SHOW_VOICE_SEARCH_HINT_NOW
when voice search hints are disabled by Config.

Bug: 3183310
Change-Id: I2a04e1d93b36b15e8d3925342c17287c0b8842f8
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/preferences/SearchSettingsActivity.java
uicksearchbox/preferences/SearchSettingsActivityChooser.java
0ae6a7bd188e2d1b398787e57276e51a9a4172cb 10-Nov-2010 Mathew Inwood <mathewi@google.com> Rearrange & (hopefully) clarify settings.

The 'clear shortcuts' setting is now only shown if zero-query shortcuts
are enabled.

Change-Id: Icb36092f56df91e2212ebc986e0630ec6196653d
uicksearchbox/preferences/SearchSettingsActivity.java
6b3427a174f1e51555db05aa27b4c14ac99ede72 10-Nov-2010 Mathew Inwood <mathewi@google.com> Rearrange and refactor settings.

Note, the current layout of settings is not final, but with these
changes reorganising them should be trivial.

Bug: 3146035
Dependant on change: Id7ca0fd84961cb5af8653b668db2eb32190131a0
Change-Id: I53721857894ff71e099dcb505bf6a4a4f7550fb5
uicksearchbox/preferences/ClearShortcutsController.java
uicksearchbox/preferences/DeviceSearchFragment.java
uicksearchbox/preferences/LegacySearchSettingsActivity.java
uicksearchbox/preferences/LegacySearchSettingsActivityBase.java
uicksearchbox/preferences/PreferenceController.java
uicksearchbox/preferences/PreferenceControllerFactory.java
uicksearchbox/preferences/SearchableItemsActivity.java
uicksearchbox/preferences/SearchableItemsController.java
uicksearchbox/preferences/SearchableItemsFragment.java
uicksearchbox/preferences/SettingsFragmentBase.java
uicksearchbox/preferences/SystemSearchFragment.java
uicksearchbox/preferences/SystemSearchSettingsController.java
80e8114aed515f658f992bf30487437c763b1edf 09-Nov-2010 Mathew Inwood <mathewi@google.com> Keep QSB in back stack.

Bug: 3120703
Change-Id: I34914e1ca5da0a965a55328772a83eea59461d5f
uicksearchbox/Config.java
uicksearchbox/SearchActivity.java
92180225a3c86c5f9cba04e2a6a7564fc1adeb94 08-Nov-2010 Mathew Inwood <mathewi@google.com> Migrate QSB settings to use fragments.

The old-style activity based settings are still present for use on pre-honeycomb
devices for which we want to maintain support.

Bug: 3140953
Dependant on change: Iaabe63beab4d3b910dfc3cf1146d03c2fe75bac1
Change-Id: I96c73fc4a54f6494ba07e65b977d80df74353772
uicksearchbox/OkCancelPreference.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchSettingsActivity.java
uicksearchbox/SearchSettingsController.java
uicksearchbox/SearchableItemPreference.java
uicksearchbox/SearchableItemsSettings.java
uicksearchbox/preferences/LegacySearchSettingsActivity.java
uicksearchbox/preferences/OkCancelPreference.java
uicksearchbox/preferences/SearchSettingsActivity.java
uicksearchbox/preferences/SearchSettingsActivityChooser.java
uicksearchbox/preferences/SearchableItemPreference.java
uicksearchbox/preferences/SearchableItemsActivity.java
uicksearchbox/preferences/SearchableItemsController.java
uicksearchbox/preferences/SearchableItemsFragment.java
uicksearchbox/preferences/SystemSearchFragment.java
uicksearchbox/preferences/SystemSearchSettingsController.java
8e5c87f8793bcfbfba354e962a545952af365cc7 04-Nov-2010 Deepika Sai Amuri <damuri@codeaurora.org> QuickSearch: Fix the network connection timeout constant

Searchdialog creates a http client by defining the network connection
timeout constant. The constant name has been modified in the latest
apache version. Hence, modified the suggestion provider to use this
constant.

Change-Id: I7d83e70d919b2a92a51cdecef4973b5a77fc6f6d
uicksearchbox/google/GoogleSuggestionProvider.java
c6e4a0851905e2702c56adea162b70c7204adf72 03-Nov-2010 Mathew Inwood <mathewi@google.com> Refactor logic out of settings screen.

This is to allow a two-pane settings screen to exist in parallel with
the eisting (deprecated) version. We need to keep the existing one to
allow continued support for Gingerbread & Froyo.

Dependant on change: I03a93f6d6394e09c4accff5c7fc1817a98ad828a

Change-Id: Id25009e2ad68cbb3fa8cf77f84b2371b2e833e23
uicksearchbox/SearchSettingsActivity.java
uicksearchbox/SearchSettingsController.java
e833f84eee7ab575c8d53dec9b133fa5de9c7e6d 02-Nov-2010 Mathew Inwood <mathewi@google.com> Dismiss QSB when clicking outside the panes.

Bug: 3145771
Change-Id: I0ba1220d6cac2dcd62e69ee82a71b04ac0c10b6d
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
34955d44dddabfc672a26263363190f971c337a8 02-Nov-2010 Mathew Inwood <mathewi@google.com> Remove 'Show web suggestions' from Search Settings.

Bug: 3145966
Dependant on change: Ida30fb0340f865057893045bb5a8faffac1d8ceb
Change-Id: Ia86b69c761e79a5a668cb2eeb34972f2acd9ee0e
uicksearchbox/SearchSettings.java
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/WebCorpus.java
4a0fa635519bf637b1182bcae071e3a6d28c6bd8 01-Nov-2010 Amith Yamasani <yamasani@google.com> Merge "Animate wallpaper tint on xlarge."
d4ed70991c334306c6f89af91573e2150e51ddd2 29-Oct-2010 Amith Yamasani <yamasani@google.com> Animate wallpaper tint on xlarge.

This makes the initial transition less jarring.

Bug: 3132162
uicksearchbox/ui/SearchActivityViewTwoPane.java
98cbee7f6266509a0805b3fef060f01caaef69e3 29-Oct-2010 Mathew Inwood <mathewi@google.com> Improve startup latency logging.

Now, the amount of time spent inside onCreate() is measured in
addition to the total amount of time to start QSB.

Dependant on change: Ia8430e8634138e3db6fc16e48d3025b27cfad24d

Change-Id: Ief63af918fb209b45bef2b915c125e9e18063d93
uicksearchbox/EventLogLogger.java
uicksearchbox/EventLogTags.logtags
uicksearchbox/Logger.java
uicksearchbox/SearchActivity.java
c1a36fcbedb625808b34286868af27c8b7b10cc0 27-Oct-2010 Bjorn Bringert <bringert@android.com> Hide non-all corpora from Searchable Items in xlarge UI

Bug: 3137824
Change-Id: Ie9159e6dc18c0defc7fcce71f4ab3ba6e289530b
uicksearchbox/SearchableItemsSettings.java
fb8ce18922dae59db424fce906b5c113797fe81e 21-Oct-2010 Bjorn Bringert <bringert@android.com> Allow removing individual history items.

Bug: 2864750
Change-Id: Ib7266f91e512a116e6cc14152462714242b4740a
uicksearchbox/AbstractSuggestionWrapper.java
uicksearchbox/CursorBackedSourceResult.java
uicksearchbox/SearchActivity.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Suggestion.java
uicksearchbox/SuggestionData.java
uicksearchbox/google/AbstractGoogleSourceResult.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionsAdapter.java
8749e77dddec9e7984ee86a7be6f5ba4fce44362 26-Oct-2010 Bjorn Bringert <bringert@android.com> Add mechanism for hiding web search shortcuts

Bug: 3086361
Change-Id: I05bcc0eb3a10a2a5747fe41246e889f7d38a3ccb
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
2f6c8b84b24d3adf767e8533627f6f63e73acbde 26-Oct-2010 Bjorn Bringert <bringert@android.com> Fix error messages when using browser suggest without network

Before, SuggestionCursorBackedCursor didn't close its SuggestionCursor.
This was never actually caused a leak, since it was only given
GenieCursors and dummy cursors, but it did cause an annoying leak
log message when using Browser web suggest in airplane mode.

Also, a NullPointerException exception was thrown by
SuggestionCursorBackedCursor.getColumnNames() if the backing cursor was null.

Bug: 3127561
Bug: 3132705
Change-Id: I08caa46d2094d74b362e110de921c1d7af2a254d
uicksearchbox/CursorBackedSourceResult.java
uicksearchbox/SuggestionCursorBackedCursor.java
7f5ff91319a8433abd92f3e3179158e38391e159 26-Oct-2010 Bjorn Bringert <bringert@android.com> Fix creating state bug in CachedLater

Before, mCreating was not cleared in store(), so the call sequence
getLater(), clear(), getLater() would result in the consumer in the
second getLater() never getting called.

The only real change here is adding "mCreating = false;" in store().
The rest is clean-up, debugging statements and unit tests.

Bug: 3131012
Change-Id: I0fc805eb70965cb85d31ab2142b41d709bdb8e22
uicksearchbox/SearchActivity.java
uicksearchbox/util/CachedLater.java
3540e5a9eab6ff33e6d45f1d908bcaf4c4f49152 26-Oct-2010 Bjorn Bringert <bringert@android.com> Clear suggestions when query is cleared

Bug: 3130934
Change-Id: Idc9c2413431a6d7be67c10619cadcd2db1d32058
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProviderImpl.java
233f899a01d805b27f17ce4f72fdbc7c279c6c36 22-Oct-2010 Peter Visontay <pvisontay@google.com> Suggestion to fix the "tablet displays zero-query web results" bug.

Bug: 3118529
Change-Id: I9cf4028f3bb50f74b70d5aac5b0500bef0e67c89
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/util/NoOpConsumer.java
dfc1772caf35942837d83331d787eb10734c37cb 20-Oct-2010 Bjorn Bringert <bringert@android.com> Get corpora excluded from All to work in the single pane UI

Bug: 3054864
Change-Id: Ie312ffe89b173a1a8d5eff7b5eb1136957971d6c
uicksearchbox/SearchActivity.java
uicksearchbox/Suggestions.java
uicksearchbox/ui/SearchActivityView.java
3be3f12c41baa6c91ebb4fef366bd3d9bfcbc093 19-Oct-2010 Bjorn Bringert <bringert@android.com> Refine QSB UI

This is an attempt to get a bit closer to the latest mocks.

Change-Id: I142e358e46b9fed34478becd5e35bd5c3ae1d63a
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
6d5972d812d485c0c670bc67f0504a0552dabfb9 20-Oct-2010 Mathew Inwood <mathewi@google.com> Merge "Optionally don't keep QSB in back stack."
0fe82998ab9d499e99722b199f5e0db9fc12e433 20-Oct-2010 Mathew Inwood <mathewi@google.com> Optionally don't keep QSB in back stack.

This now is configurable using resources.

Bug: 3086496
Change-Id: I0ec5b20ca73a2d9e9169819cbcc9765a19e3ac0a
uicksearchbox/Config.java
uicksearchbox/SearchActivity.java
516781305d7427e79928c95c6ea2b7689a4bf6ce 20-Oct-2010 Mathew Inwood <mathewi@google.com> Improve PackageIconLoader thread handing.

It now used a NamedTaskExecutor, to ensure that threads don't get
leaked when the sources are recreated.

Dependant on change: I68c047ca9d96432dcf90e79bfc2195aaab48b0b9

Change-Id: Ia92f1e8feb920f7a2a5e31c984fc11e826828eff
uicksearchbox/AbstractInternalSource.java
uicksearchbox/AbstractSource.java
uicksearchbox/ContactsSource.java
uicksearchbox/PackageIconLoader.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/google/AbstractGoogleSource.java
uicksearchbox/google/GoogleSuggestClient.java
f5a8912d5da80378d38b667eba4aaa0555aea7bd 20-Oct-2010 Mathew Inwood <mathewi@google.com> Configure scrollability of two panes seperately.

This allows the suggestions to be non-scrollable while allowing the
results (right) pane to be scrollable.

Bug: 3086387
Change-Id: Ie55dabace070ad4b0627ee116a14f4f0c5b0f6ac
uicksearchbox/Config.java
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
76916fbfc516de9513c089ed2d1a18d4fd142f75 19-Oct-2010 Bjorn Bringert <bringert@android.com> Remove corpus selector from xlarge UI

Bug: 3053103
Change-Id: Ie70e320ed87c47ff774da05fd52a09c497ef3a25
uicksearchbox/ui/SearchActivityViewTwoPane.java
1fe2cb3896fa2a051bc8b716fa97b2c8398b71f1 18-Oct-2010 Mathew Inwood <mathewi@google.com> Remove unnecessary exception handing in Config.

Change-Id: I3de1e447b055a26d7ace3df38493868fa7b41b2b
uicksearchbox/Config.java
fdb80c2962c88ac62dcd7ee7f2fab1857b61506b 18-Oct-2010 Mathew Inwood <mathewi@google.com> Add option to limit suggestions displayed by space available.

This effectively makes the suggestions list non-scrollable, by
limiting the number of suggestions to the number that can fit in the
available space.

Also fixed an issue in RankAwarePromoted whereby it would promote too
many suggestions if the promoted list was non-empty before hand.

Bug: 3086387

Change-Id: Iae5740fbd32b104c73b1b7dbf446c7e61a3e2e6a
uicksearchbox/Config.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionsAdapter.java
uicksearchbox/ui/SuggestionsView.java
5c383769c9cf23ebb38e03f1245007b8f7e48950 18-Oct-2010 Mathew Inwood <mathewi@google.com> Fix query refinement.

Regression was introduced in change e29d52aa72c96c3147fa91d83aeb8dafc6d1f578.

Change-Id: I878556faf07fa10eaf172d22ef2f859d26407c81
uicksearchbox/ui/DefaultSuggestionView.java
e15fe38f0142174d223bfda0cd87d1a749a85fac 15-Oct-2010 Mathew Inwood <mathewi@google.com> Optionally don't show zero-query suggestions & shortcuts.

This change disables zero-qeury shortcuts for x-large devices only.

Bug: 3086273
Change-Id: I8c47af3f5696bf26482690e11ac046a21ac40150
uicksearchbox/Config.java
uicksearchbox/SearchActivity.java
uicksearchbox/ShouldQueryStrategy.java
uicksearchbox/SuggestionsProviderImpl.java
9e46c057d7f88d2a899e124f96d266c54250bb45 15-Oct-2010 Mathew Inwood <mathewi@google.com> Exit QSB when clicking X when query test empty.

Bug: 3086345
Change-Id: Iff13e5d17625cf90a340b4f5786c76243d551b6d
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SearchActivityView.java
e29d52aa72c96c3147fa91d83aeb8dafc6d1f578 08-Oct-2010 Mathew Inwood <mathewi@google.com> Load icons from other processes in a seperate thread.

This protects againts the process not responding, which previously caused QSB to
lock up. We also protect against the process throwing an exception in the same
case.

This change causes some icons to load after the suggestions are displayed. For
example, contact photos are displayed shortly after the contacts show, but the
quick contact badge is visible immediately. This only happens for suggestions
with content:// URIs for the icons.

Bug: 3064103

Change-Id: I23f36a82d381ea76897d65fe2f3ec46f6642b7d5
uicksearchbox/AbstractInternalSource.java
uicksearchbox/AbstractSource.java
uicksearchbox/CachingIconLoader.java
uicksearchbox/ContactsSource.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/IconLoader.java
uicksearchbox/PackageIconLoader.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/Source.java
uicksearchbox/google/AbstractGoogleSource.java
uicksearchbox/google/GoogleSuggestClient.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/util/AsyncCache.java
uicksearchbox/util/CachedLater.java
uicksearchbox/util/Now.java
uicksearchbox/util/NowOrLater.java
uicksearchbox/util/NowOrLaterWrapper.java
8b2936607176720172aee068abc5631bdf77e843 12-Oct-2010 Bjorn Bringert <bringert@android.com> Added strawman tablet corpus selection UI

Bug: 3053103
Change-Id: Iaca9605fe88c53581ef20a79d07724fc4bfd5e8b
uicksearchbox/ConcatPromoter.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SingleCorpusPromoter.java
uicksearchbox/SingleCorpusResultsPromoter.java
uicksearchbox/Suggestions.java
uicksearchbox/ui/CorporaAdapter.java
uicksearchbox/ui/CorpusView.java
uicksearchbox/ui/CorpusViewFactory.java
uicksearchbox/ui/CorpusViewInflater.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewSinglePane.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionsAdapter.java
8749e424d7645e708f238530621248abb567e3be 06-Oct-2010 Bjorn Bringert <bringert@android.com> Expose methods for hiding suggestions and keyboard

Change-Id: I0c12b8c7bb83b52c0096473e334b07bad612a515
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewSinglePane.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
ba1d5a6352faf0e7c6d9bf6980a323eeb08ec112 07-Oct-2010 Amith Yamasani <yamasani@google.com> Merge "Some layout and color changes for Holo theme."
c4e96e6c09422ab54984144ad618b2ecefb4b891 07-Oct-2010 Mathew Inwood <mathewi@google.com> Remove gl paramater from suggest & SRP URLs.

The country is now determined server side based on IP address. This resolves
problems for (e.g.) German speakers in Switzerland (previously, we set gl=de
which is incorrect).

Bug: http://b/issue?id=2813127

Change-Id: I06c8d7328220f7c7c679ab2913b8d693479a2a3b
uicksearchbox/google/GoogleSearch.java
uicksearchbox/google/GoogleSuggestClient.java
2cbf1d099dbd04c612e3cba34a70293705730fa0 05-Oct-2010 Amith Yamasani <yamasani@google.com> Some layout and color changes for Holo theme.

Added a close button to clear the text.
uicksearchbox/ui/SearchActivityView.java
53aab8c4459f45664d04ec882d67094c52b78695 06-Oct-2010 Bjorn Bringert <bringert@android.com> Replace Source.isWebSuggestionSource() with getMaxShortcuts()

Change-Id: I7986d291f0608b231a9708caf691a97694cc011d
uicksearchbox/BlendingPromoter.java
uicksearchbox/Config.java
uicksearchbox/SearchableSource.java
uicksearchbox/Source.java
uicksearchbox/google/AbstractGoogleSource.java
c04af2f079ba8bd5eabb1a166ed008fc6b65a3fe 05-Oct-2010 Mathew Inwood <mathewi@google.com> Remove erroneous dependancy on GoogleQSB.

Change-Id: I641d8c4d608d6eebf36c2a7275f8c1fa1fff6207
uicksearchbox/google/AbstractGoogleSource.java
5229b06f00d20aac76cd8519b37f2a579d61c54f 01-Oct-2010 Mathew Inwood <mathewi@google.com> Support for custom suggestion views.

Each Source can now define its own view factory to be used to display
suggestions from that source. Suggestions now also support extras (extra
columns in the cursor) that can be displayed in a custom suggestion layout.

Change-Id: Ie8dcedbbccfe7673804703adc8fabaae467626d9
uicksearchbox/AbstractSource.java
uicksearchbox/AbstractSuggestionExtras.java
uicksearchbox/AbstractSuggestionWrapper.java
uicksearchbox/ContactsSource.java
uicksearchbox/CursorBackedSourceResult.java
uicksearchbox/CursorBackedSuggestionExtras.java
uicksearchbox/JsonBackedSuggestionExtras.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Source.java
uicksearchbox/Suggestion.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionCursorBackedCursor.java
uicksearchbox/SuggestionCursorWrapper.java
uicksearchbox/SuggestionData.java
uicksearchbox/SuggestionExtras.java
uicksearchbox/google/AbstractGoogleSource.java
uicksearchbox/google/AbstractGoogleSourceResult.java
uicksearchbox/ui/ContactSuggestionView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionViewFactory.java
uicksearchbox/ui/SuggestionViewInflater.java
uicksearchbox/ui/SuggestionsAdapter.java
f3f70e5ae88f06ff6dabdec9e7c71a19ca1e7108 04-Oct-2010 Bjorn Bringert <bringert@android.com> Allow corpora to be excluded from All but still enabled

Also removes the obsolete isLocationAware() method.

Bug: 3054864
Change-Id: I0fbf707a1a9932e0ccc886d48a6dadc500e87422
uicksearchbox/AbstractInternalSource.java
uicksearchbox/Corpora.java
uicksearchbox/Corpus.java
uicksearchbox/CorpusRanker.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/Source.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/google/AbstractGoogleSource.java
uicksearchbox/google/GoogleSuggestClient.java
22da5e41bec9a5d36388c1e6f99bca392c3ac63e 02-Oct-2010 Bjorn Bringert <bringert@android.com> Sort corpora alphabetically in corpus selector

The corpus selection dialog (and the homescreen widget config corpus selector)
now show the corpora alphabetically (except for All and Web which are always
first).

Bug: 3056465
Change-Id: I95a8182f6fbe4024eb9774779aee064bc3b1f137
uicksearchbox/CorpusRanker.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/QsbApplication.java
uicksearchbox/ui/CorporaAdapter.java
de143166eb775e9135ab73bcc2d7cd062f6cf6f6 30-Sep-2010 Bjorn Bringert <bringert@android.com> Make it easier to have different themes for different configs

This should have no visible UI effects

Change-Id: I0d7bd0338adb4bef04f060705c27e5ba3c6dcbd8
uicksearchbox/QsbApplication.java
uicksearchbox/TextAppearanceFactory.java
8caa8428f1ade850e83977c33497dfa0f90406eb 24-Sep-2010 Bjorn Bringert <bringert@android.com> Generalize ChoiceActivity into a DialogActivity

This is to make it reusable for other QSB dialogs.

Bug: 2915296
Change-Id: I1f0ff59342599c003efd3c2f81f0eeb277c0189f
uicksearchbox/ChoiceActivity.java
uicksearchbox/DialogActivity.java
uicksearchbox/SearchWidgetConfigActivity.java
96fec862c3d494aebcb4e1d93589a241385a2ba7 21-Sep-2010 Bjorn Bringert <bringert@android.com> QSB settings overhaul

- Put Google and Phone search settings on the same screen.

- Use a local preference for SHOW_WEB_SUGGESTIONS instead
of the soon deprecated Settings.System.SHOW_WEB_SUGGESTIONS,
see http://b/issue?id=3021480

- Refactor settings code to get rid of un-mockable static methods.

- Define options menus in XML.

- Use DialogPreference for "Clear shortcuts" dialog.

Bug: 3017828
Change-Id: I198d19f8df809adfb91cc0df1f2b11998451cd6b
uicksearchbox/AbstractCorpus.java
uicksearchbox/Corpus.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/OkCancelPreference.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchSettingsActivity.java
uicksearchbox/SearchSettingsImpl.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/SearchableItemsSettings.java
uicksearchbox/WebCorpus.java
uicksearchbox/google/GoogleSettings.java
09552c760ad82eb90795e98de96c65005d6ebafc 03-Sep-2010 Mathew Inwood <mathewi@google.com> Change to make defaulting of Contacts corpora more reliable.

The package that provided contacts results is looked up at run-time now,
rather than being hardcoded. This should allow it to work on devices
where the default contacts provider is replaced.

Bug: 2970922

Change-Id: I598e8083cc12b4f6f447d5d48f5f83281d700cb3
uicksearchbox/AbstractCorpus.java
uicksearchbox/Config.java
uicksearchbox/SearchableSource.java
uicksearchbox/Source.java
uicksearchbox/google/AbstractGoogleSource.java
13b4f2dc4b339790c2b9b0220be47c8e77fd61ea 22-Sep-2010 Mathew Inwood <mathewi@google.com> Some tidying up and extra debug.

Change-Id: Ida60e25f7b3cb4a53c9f3c1bd4f0914b6f320dbf
uicksearchbox/Config.java
uicksearchbox/SearchActivity.java
uicksearchbox/google/AbstractGoogleSource.java
uicksearchbox/google/GoogleSource.java
uicksearchbox/google/GoogleSuggestClient.java
uicksearchbox/google/GoogleSuggestionProvider.java
uicksearchbox/util/AsyncCache.java
59ae239743a26ecc4e3d66485a412fd7c88cbcbf 20-Sep-2010 Bjorn Bringert <bringert@android.com> Fix NPE in EventLogLogger

Bug: 3010607
Change-Id: If29a328b990b47a835610b6e02175722b4a579c0
uicksearchbox/EventLogLogger.java
38eb02e676db9e5a633e3c88a90beb8a477b1ca1 17-Sep-2010 Bjorn Bringert <bringert@android.com> Allow per-suggestion Intent components

Bug: 2972252

Change-Id: I221f6d2be3a29374ef080bc66594f1740a25e8dd
uicksearchbox/AbstractSuggestionWrapper.java
uicksearchbox/CursorBackedSourceResult.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Suggestion.java
uicksearchbox/SuggestionData.java
uicksearchbox/SuggestionUtils.java
uicksearchbox/google/AbstractGoogleSourceResult.java
9d731c0bae275ee9b1c87b679820259c18cc68c8 03-Sep-2010 Bjorn Bringert <bringert@android.com> Allow overriding web search launching in SearchActivity subclasses

Change-Id: I8384d69a0050abb24b77947a9489d0bda73cfb97
uicksearchbox/SearchActivity.java
d255cdbe9ec83dd4e96285e2d14e78a24aab0432 03-Sep-2010 Bjorn Bringert <bringert@android.com> Remove obsolete comment

Addresses code review comment on change Idabcf673873f5c1c694ce343d61ef43bfac98589

Change-Id: I0079c8fdfea78d44e2f2e3172770553024d71917
uicksearchbox/SearchActivity.java
0a73d81f02118d0343d3f1c9219a8354466f72b3 02-Sep-2010 Mathew Inwood <mathewi@google.com> Refactored split between single pane & two pane UI.

SearchActivityView is now an abstract class, with SearchActivityViewSinglePane
and SearchActivityViewTwoPane deriving from it. This ensures that the corpus
selection dialog and other corpus selection code can never interfere with the
two pane UI.

Also updated the widget in xlarge so no corpus indicator is shown, just a
search icon.

Change-Id: I9236352bde35544dbb4f3be72c1e86ba8e6b4794
uicksearchbox/SearchActivity.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewSinglePane.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
5880fdc4f6fef3c9b5b95a49a0f23c37c69f89d5 27-Aug-2010 Bjorn Bringert <bringert@android.com> Make it easiser to build QSB prototypes UIs

Change-Id: Ie45b2fac41fcef737fa85b2b33b1652189a9035d
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SearchActivityView.java
7010c51b51c97fa43d7b24d2158ecbc1d064e0a6 25-Aug-2010 Bjorn Bringert <bringert@android.com> Separate one- and two-pane code, using resources to choose

This makes it easy to remove the xlarge code path
to allow to compiling the app with the Froyo
SDK.

Change-Id: Ibc295c92580d38b8ac7f8361b5ea964499445282
uicksearchbox/Config.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/ui/ContactSuggestionView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/QueryTextView.java
uicksearchbox/ui/SearchActivityView.java
uicksearchbox/ui/SearchActivityViewTwoPane.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionsAdapter.java
d03ca035087b7d9e494945f49d0901d6c1de333e 24-Aug-2010 Bjorn Bringert <bringert@android.com> Fix NPE when tapping corpus indicator

Bug: 2945594
Change-Id: Ib054ef4e5b609ecf40e2c9e832c3de8baab64b93
uicksearchbox/ui/CorporaAdapter.java
6859aead3af0680b2c9dc326244aa89835c2c852 24-Aug-2010 Bjorn Bringert <bringert@android.com> Get rid of the last shortcut DB reads on the UI thread

Bug: 2706190
Bug: 2892691
Change-Id: Idabcf673873f5c1c694ce343d61ef43bfac98589
uicksearchbox/AbstractCorpusRanker.java
uicksearchbox/CorpusRanker.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/ShortcutRefresher.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/ui/CorporaAdapter.java
uicksearchbox/util/AsyncCache.java
uicksearchbox/util/AsyncDataSetObservable.java
uicksearchbox/util/Consumers.java
uicksearchbox/util/SQLiteAsyncQuery.java
13904ef3365894e342285492c0ffeb2287504916 23-Aug-2010 Bjorn Bringert <bringert@android.com> Fix broken web suggest in two-pane UI

Change-Id: I8a4c1b7d3f035cc8bf0068caaca2a4243bf7649f
uicksearchbox/SearchActivity.java
f165f2d6c6f8173b94937ae3202f0b638348dffd 23-Aug-2010 Bjorn Bringert <bringert@android.com> Don't limit shortut count in single-corpus mode.

Bug: 2936385

Change-Id: Ia16a327d7e9d762a9d62795fca9c3c8c5b25e03b
uicksearchbox/ConcatPromoter.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/WebPromoter.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SuggestionsAdapter.java
b42184f1e6a1b7bb22797ff92cae696753aca770 20-Aug-2010 Bjorn Bringert <bringert@android.com> Get shortcuts asynchronously.

Other shortcut repository queries are still done on the main thread.
I'll fix that in spearate changes.

Bug: http://b/issue?id=2706190
Bug: http://b/issue?id=2892691
Change-Id: I7a6429afa876364a8609f80b448a1df0b5a65e3c
uicksearchbox/AbstractCorpusRanker.java
uicksearchbox/QueryTask.java
uicksearchbox/SearchActivity.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SourceProxy.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/Suggestions.java
uicksearchbox/util/Consumers.java
uicksearchbox/util/QuietlyCloseable.java
2607687d72deb8e06329597ab8bffcca9c746153 20-Aug-2010 Mathew Inwood <mathewi@google.com> Some support for UI tests.

Change-Id: I1aac69259dd9d59218350bbea6524438301b924f
uicksearchbox/SearchActivity.java
b83882b9efa37ec0f20a0f1c85cf5ccc93194aee 19-Aug-2010 Bjorn Bringert <bringert@android.com> Move Promoter to SuggestionsAdapter to have a single Suggestions object

Change-Id: Ie0521f7a8427015d394c442a4b6d31b96d91d85b
uicksearchbox/BlendedSuggestions.java
uicksearchbox/BlendingPromoter.java
uicksearchbox/BlendingSuggestionsProvider.java
uicksearchbox/ConcatPromoter.java
uicksearchbox/Corpora.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/FilteredSource.java
uicksearchbox/Promoter.java
uicksearchbox/PromoterWrapper.java
uicksearchbox/QsbApplication.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/ReferenceCountedSourceResult.java
uicksearchbox/ResultPromoter.java
uicksearchbox/ResultsCorpusFactory.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableItemsSettings.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutFilteringPromoter.java
uicksearchbox/ShortcutLimitingPromoter.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/ShortcutsProvider.java
uicksearchbox/SingleSourceSuggestions.java
uicksearchbox/SingleSourceSuggestionsProvider.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/WebPromoter.java
uicksearchbox/WebSuggestionFilteringPromoter.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SuggestionsAdapter.java
7f6a94f1ad3e3ec2546fb59310f5c5481032ff0c 12-Aug-2010 Mathew Inwood <mathewi@google.com> Fix the tests.

Most of the failures were caused by proguard being more aggressive by the look
of it. Added some @VisibleForTesting's fixes those.

Also some failured caused by the move to a 2-pane UI breaking assumptions made
in the tests.

Dependand on change: Icb5c0302aa320575085b0258b478933cb10e9c6b

Change-Id: I3e0d53c3fb299d9b9b41f51e1b34b648a8e63d86
uicksearchbox/Config.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/NoLogger.java
uicksearchbox/ShortcutCursor.java
e25e3e3c67916e4fcee431ad0eec3161c855b126 17-Aug-2010 Mathew Inwood <mathewi@google.com> Delete unused code, string and resources.

Depends on change: I5f56890beaae70945e004cb7bc6f5fa85c032a4c

Change-Id: I9c202c991a72ba010222a2017a23f8a73b1aeb01
uicksearchbox/NoLogger.java
4572856ac85bb53ea06e65d00beebdf336af9b27 16-Aug-2010 Mathew Inwood <mathewi@google.com> Filter shortcuts between the two panes, and other fixes.

Shortcuts are now split between the two panes in the same way as other
suggestions. Some problems with suggestions filtering have also been fixed,
which sometimes resulted in crashes. Other stuff:
- renames some classes for clarity
- renames some test code
- other tidying up and removal of dead code.

Change-Id: I75e22fe09340d3f31d79dfa29dc00fcf42b877ca
uicksearchbox/BlendedSuggestions.java
uicksearchbox/BlendingSuggestionsProvider.java
uicksearchbox/ConcatPromoter.java
uicksearchbox/FilteredSource.java
uicksearchbox/Promoter.java
uicksearchbox/PromoterWrapper.java
uicksearchbox/QsbApplication.java
uicksearchbox/QueryTask.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/ReferenceCountedSourceResult.java
uicksearchbox/RoundRobinPromoter.java
uicksearchbox/SearchActivity.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutFilteringPromoter.java
uicksearchbox/ShortcutLimitingPromoter.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/ShortcutRefresher.java
uicksearchbox/SingleSourceSuggestions.java
uicksearchbox/SingleSourceSuggestionsProvider.java
uicksearchbox/SourceShortcutRefresher.java
uicksearchbox/Suggestions.java
uicksearchbox/WebSuggestionFilteringPromoter.java
uicksearchbox/WebSuggestionsProvider.java
uicksearchbox/util/BatchingNamedTaskExecutor.java
uicksearchbox/util/PerNameExecutor.java
uicksearchbox/util/SingleThreadNamedTaskExecutor.java
120040ef31d79c1d69138b13ca7f256841f3298e 12-Aug-2010 Mathew Inwood <mathewi@google.com> Fix the tests.

Most of the failures were caused by proguard being more aggressive by the look
of it. Added some @VisibleForTesting's fixes those.

Also some failured caused by the move to a 2-pane UI breaking assumptions made
in the tests.

Depends on change: I595127d00d4800e244ede57bfc475ddfc8521389

Change-Id: I335c637ab6818e173c1efe60cfd6d23bee7b1589
uicksearchbox/Config.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/NoLogger.java
uicksearchbox/ShortcutCursor.java
3f38435f152ab0a1164b85ffa43d024a2d05f000 12-Aug-2010 Mathew Inwood <mathewi@google.com> Merge commit '09208161' into manualmerge

Conflicts:
src/com/android/quicksearchbox/Suggestions.java

Change-Id: I3fbc3dcbd0962fda61a762889f6bfae95af4a875
9038d65a5a8ebcfada1ec3067f81a26f05622088 11-Aug-2010 Mathew Inwood <mathewi@google.com> Only refresh shortcuts that are displayed in the UI.

Change I6413d82f9051bb64487c65817bfbcdea0f0c3097 introduced a problem whereby
*all* the shortcuts were updated, as the shortcut repository did not filter them,
and it refreshed all the shortcuts it returned. Now, the refreshing is started
after the suggestion promotion stage, so that only shortcuts that are actually
displayed in the suggestions list will be refreshed. This results in far fewer
refreshes and database updates (which can be time consuming).

Change-Id: I4b4cac522d12a4e304ddebfca7466f670cc3811b
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutLimitingPromoter.java
uicksearchbox/ShortcutRefresher.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SourceShortcutRefresher.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/google/GoogleSuggestClient.java
aa7d79792baca59eb7afe00ea27abc5176ddd34b 06-Aug-2010 Mathew Inwood <mathewi@google.com> Some tidying up in SearchActivity with new 2-pane implementation.

All (most) code that deals with SuggestionsAdapter or SuggesionsView now handles
the two views & adpaters properly.

Change-Id: Ib791f5aa2acdc31d664340e1e861afb672b2e94d
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SuggestionsView.java
b1d058c5fb5dca0d5f0df5bf3433feaad65478bb 09-Aug-2010 Mathew Inwood <mathewi@google.com> Delay shortcut DB updates to avoid priority inversion.

When working with a large clicklog, updating the shortcuts in the database
after a refresh can be timeconsuming. The update is done on a low priority
background thread, but blocks DB reads which are done on the UI thread. This
can cause priority inversion. By delaying when the updates are performed, we
can reduce how often this priority inversion occurs, which reduces the user
visible latency in the UI.

Change-Id: I58ea6dbd6d1f75bcb477851b49c621d50cd61eb4
uicksearchbox/ShortcutRepositoryImplLog.java
d5cd9612d6937dfb174bfe6f4e486f283ef557e9 06-Aug-2010 Mathew Inwood <mathewi@google.com> Refactored how we deal with 1-pane vs 2-pane UI.

Now, there are seperate Corpora objects; a different CorpusFactory class is
used when we have a 2-pane UI (see new class ResultsCorpusFactory). This deals
with selecting the non-suggestion web source, which is more robuct that the
previous approach.

This resolves an issue whereby websuggestions appeared in both panes just after
the app was started.

Dependant on change: Iec798b578fefce6b1405fb6175d669ee5812dd37

Change-Id: Ifdfae6550cd97db0d9ad266c5f9966d239ad1da7
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/QsbApplication.java
uicksearchbox/ResultsCorpusFactory.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/SearchableItemsSettings.java
uicksearchbox/ShortcutsProvider.java
uicksearchbox/SingleSourceSuggestions.java
8b035c4a04574c4e2645646a6ce75e2ddbf938b8 05-Aug-2010 Mathew Inwood <mathewi@google.com> Fix leaking cursors.

Change-Id: I9a5b8495211e843f910bd423f9f4565aee162b85
uicksearchbox/FilteredSource.java
uicksearchbox/ReferenceCountedSourceResult.java
848fa7a19abedc372452073abaf52780c7b6d78d 26-Jul-2010 Amith Yamasani <yamasani@google.com> Two-pane UI implemented.

Show query suggestions on the left and all other results on the right.

There is one major issue with this as it stands: *all* shortcuts currently
appear in the right pane. They need to be split between the left and right
pane as web results are (presumably).

Change-Id: I4b433fb319d9911a83ccd974493de246300a1ddc
uicksearchbox/AbstractSource.java
uicksearchbox/BlendedSuggestions.java
uicksearchbox/BlendingSuggestionsProvider.java
uicksearchbox/Config.java
uicksearchbox/FilteredSource.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/QsbApplication.java
uicksearchbox/QueryTask.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchableSources.java
uicksearchbox/SingleSourceSuggestions.java
uicksearchbox/Source.java
uicksearchbox/SourceProxy.java
uicksearchbox/SuggestionPosition.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/WebCorpus.java
uicksearchbox/WebSuggestionsProvider.java
uicksearchbox/google/AbstractGoogleSource.java
uicksearchbox/google/GoogleSource.java
uicksearchbox/google/GoogleSuggestClient.java
uicksearchbox/google/GoogleSuggestionProvider.java
uicksearchbox/ui/SuggestionsAdapter.java
93ba3b9bf77395f7a148d384bac9a80ba8ce6ced 29-Jul-2010 Mathew Inwood <mathewi@google.com> Fix for bug 2879253.

The shortcut limiting has been removed from ShortcutRepository, as it is done later
by ShortcutPromoter anyway. Limiting the shortcuts in ShortcutRepository means that
(for example) if have have loads of voice search shortcuts in the log, we only
return these from ShortcutRepository evenm though there may be other shortcuts too.
Then when we filter the shortcuts, all but 2 shortcuts get removed by
ShortcutPromoter, leaving just 2 shortcuts left.

Change-Id: I6413d82f9051bb64487c65817bfbcdea0f0c3097
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutLimitingPromoter.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SuggestionsProviderImpl.java
25cbd7d054b92df1fe857d155ccc12f8191c12cf 29-Jul-2010 Mathew Inwood <mathewi@google.com> Shortcut improvements.

- Change the name of GoogleSource so it's the same as earlier versions of QSB.
- Allow a SearchableSource to decide if it's compatible with another version
of that source.
- Allow SearchableSources.createSearchableSource to be overridden

This means that web shortcuts will persist after upgrading QSB.

Change-Id: Ia0a6a63153ba4642cf1e4cb1f9c92063014c6d01
uicksearchbox/AbstractSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/ShortcutLimitingPromoter.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Source.java
uicksearchbox/google/GoogleSource.java
23db3f9877e691568fe2c955fd9d4f48a2eb937a 29-Jul-2010 Mathew Inwood <mathewi@google.com> Minor update after reviewing changes by yamasani.

Rename newCorpusSelectionDialog to createXxxx.

Change-Id: Ic3038d7071ae14e27490cc4ff0a623ab4715f308
uicksearchbox/SearchActivity.java
35c43805a450c17d5fc5e27dc073edc6e2cd7320 29-Jul-2010 Amith Yamasani <yamasani@google.com> Overrideable CorpusSelectionDialog

Change-Id: I837ae6771fd5056eaf89f1ba5bcf590ef1bf681e
uicksearchbox/SearchActivity.java
a3fdfe2d947db90faab3333abd593c2d3e5382a8 28-Jul-2010 Amith Yamasani <yamasani@google.com> Remove the "Add/Remove" string and change "Search in:" to "Search".

A bit of layout change was required to vertically center "Search" with
the settings icon.

Change-Id: I66d7206190f6dd4d8a9c493c02bdf7f471cd69cf
uicksearchbox/CorpusSelectionDialog.java
9827c9da923d193fcac285ad70cc8d68835ee6f0 23-Jul-2010 Mathew Inwood <mathewi@google.com> Fix interaction with voice search hints, so that disabling works properly.

Bug: 2862006

Change-Id: I2a7806785ee3b135c038b315d12ab32fda350777
uicksearchbox/SearchWidgetProvider.java
2dfefcf67c7c28c8337725ef30d623a47638b374 22-Jul-2010 Mathew Inwood <mathewi@google.com> Cache query test background resources to save reloading when editing text.

Bug: 2849233
Change-Id: If055f7e8b19295d75e86cb01dc8c05c8524f8fc0
uicksearchbox/SearchActivity.java
fab543fc2cbae4c3252ca98d51a047b6b0614224 22-Jul-2010 Bjorn Bringert <bringert@android.com> Merge "Change shortcut ordering algorithm to preserve click order" into froyo-ub-qsb
f881fbea9e0fab9b6af20c3690d0416d1ccc30b2 22-Jul-2010 Bjorn Bringert <bringert@android.com> Change shortcut ordering algorithm to preserve click order

This preserves the click order between shortcuts with the same number of clicks.
Before, there was a 30 days / 1000 = 43.2 minute granularity. Clicks in the same bucket
had an undefined ordering.

Bug: 2861317
Change-Id: If90e216c7efba3ea606205bd89e5aac9d89ffac9
uicksearchbox/ShortcutRepositoryImplLog.java
447f3b6524d5153b759ea9e7f6c47a0c3cc46b6d 22-Jul-2010 Mathew Inwood <mathewi@google.com> Make sure voice search hints always hide themselves.

Previously, when the intent com.android.quicksearchbox.action.SHOW_VOICE_SEARCH_HINT_NOW
was received, the hints would never hide themselves.

Bug: 2861388
Change-Id: Id315f4977b96513dbccde4e35df77bd184e8ec49
uicksearchbox/SearchWidgetProvider.java
702d6d0d4d4a8aa644c1b01f7f12b8001daa1b10 22-Jul-2010 Bjorn Bringert <bringert@android.com> Merge "Distinguish internal and external web suggestion queries" into froyo-ub-qsb
69494b842a3f907164a457852c385f86dbe71d15 22-Jul-2010 Bjorn Bringert <bringert@android.com> Distinguish internal and external web suggestion queries

Bug: 2858489
Change-Id: I57f31ffcd92c45d35fb6af5000dada11472e7a01
uicksearchbox/QsbApplication.java
uicksearchbox/google/GoogleClient.java
uicksearchbox/google/GoogleSource.java
uicksearchbox/google/GoogleSuggestClient.java
uicksearchbox/google/GoogleSuggestionProvider.java
c020c1844b0fb3a825e8a6fa6ad96288bc432fbc 22-Jul-2010 Bjorn Bringert <bringert@android.com> Add shortcut when clicking QuickContact badge

Bug: 2858540
Change-Id: I67456936742926c1fb5591170aaa325fcb016e8a
uicksearchbox/EventLogLogger.java
uicksearchbox/EventLogTags.logtags
uicksearchbox/Logger.java
uicksearchbox/NoLogger.java
uicksearchbox/SearchActivity.java
uicksearchbox/ui/ContactBadge.java
uicksearchbox/ui/ContactSuggestionView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/SuggestionClickListener.java
7399b784ec97c25084afa98bb0bcfcb70f7bc4ec 16-Jul-2010 Bjorn Bringert <bringert@android.com> Yet another VS hint UI.

Change-Id: Ic678b96e4fbaeb7e0b1a0c5111b2e5e62f3ece15
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/ui/CorpusViewInflater.java
072fd6bb77d7444a8f0aec9f886f78e1a25fbeae 16-Jul-2010 Bjorn Bringert <bringert@android.com> Revert "Revert "Integrated new assets from alcor.""

This change history is getting interesting.

This reverts commit 50ee27a5cc2bf781388501cc1f1a0f357ed3c1b2.
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/ui/CorpusViewInflater.java
6d255336e12226d9597007f42dbbe56fddf187b9 16-Jul-2010 Bjorn Bringert <bringert@android.com> Revert "Integrated new assets from alcor."

Reverting all the hint UI changes to implement a new UI where the hint sits
on top of the widget and has a close button.

This reverts commit aa648e63dd401db82bdf636c0bf52947c0067cf2.
uicksearchbox/SearchWidgetProvider.java
36cdac7349a76aa1db70ed7e8fa554ed54ad639d 16-Jul-2010 Bjorn Bringert <bringert@android.com> Revert "Tweak UI spacing and change All icon to magnifying glass"

Reverting all the hint UI changes to implement a new UI where the hint sits
on top of the widget and has a close button.

This reverts commit 02bb2f42e35f9ce621c1fcd23f7059e05027074d.
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/ui/CorpusViewFactory.java
uicksearchbox/ui/CorpusViewInflater.java
3779abc98667393afb68f0dd9906063a7f4cf3fd 16-Jul-2010 Bjorn Bringert <bringert@android.com> Clear icon2 background when binding a new suggestion

Bug: 2503914
Change-Id: I21606d0aae25e0f30e5a47341f8fb128cea1305d
uicksearchbox/ui/DefaultSuggestionView.java
02bb2f42e35f9ce621c1fcd23f7059e05027074d 16-Jul-2010 Bjorn Bringert <bringert@android.com> Tweak UI spacing and change All icon to magnifying glass

Change-Id: I0b9c20439057d68dd0e3ffee7a23784e803b342e
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/ui/CorpusViewFactory.java
uicksearchbox/ui/CorpusViewInflater.java
aa648e63dd401db82bdf636c0bf52947c0067cf2 14-Jul-2010 Mathew Inwood <mathewi@google.com> Integrated new assets from alcor.

mdpi assets are still missing.

Change-Id: Id4c05ffbf8b15a667eed6f3f6893a9b1a1714520
uicksearchbox/SearchWidgetProvider.java
50ee27a5cc2bf781388501cc1f1a0f357ed3c1b2 16-Jul-2010 Bjorn Bringert <bringert@android.com> Revert "Integrated new assets from alcor."

I screwed up and didn't see that this change had been merged, and edned up
amending it in highly non-trivial ways. I will submit another change
with includes this stuff plus a bunch more asset tweaks.

This reverts commit ad4007453d3dde6aeed9cc0aa65a300f11da51b8.
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/ui/CorpusViewInflater.java
a20a61d8141129e8734df8e953c7b311e72dd144 15-Jul-2010 Mathew Inwood <mathewi@google.com> Make pressing dpad open local suggestions.

Previously, pressing the dpad didn't do anything for local business suggestions (though it did work for web suggestions). Not sure why.

Change-Id: I707ef4efac0addc8a2fdbabeaebfb9ffff08a669
uicksearchbox/SearchActivity.java
b5560dbe16a8fb3148b0fb24c73836bf2e84dd61 14-Jul-2010 Mathew Inwood <mathewi@google.com> Basic support for automated UI testing.

Change-Id: I30cac526467958c9a25ee10a34f1e250157e0ac5
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
ad4007453d3dde6aeed9cc0aa65a300f11da51b8 14-Jul-2010 Mathew Inwood <mathewi@google.com> Integrated new assets from alcor.

Existing 9 patches have been modified, and done away with stacked backgrounds due to issues with padding being added together, would not look right. A few minor issues remain with focused / pressed corpus selector backgrounds.

Change-Id: I73c7e2b814ec0246def15029a00f7efade9e09fc
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/ui/CorpusViewInflater.java
f16bea9765ee9838d316655d38cb51b72a3b4acb 14-Jul-2010 Bjorn Bringert <bringert@android.com> More edit distance optimization

Reduces CPU time for formatSuggestion() in LevenshteinFormatterTest from 44 ms
to 30 ms (32% reduction). This is on top of mathewi's recent optimization. The
total reduction is now from 72 ms to 30 ms (58% reduction).

Also adds @SmallTest annotations to the edit distance tests so that
they will be included in the continuous test suite.

Bug: 2836498
Change-Id: I7cc4156df4f9e993ce72cd35001d1abaa7c239e3
uicksearchbox/LevenshteinSuggestionFormatter.java
uicksearchbox/SuggestionFormatter.java
uicksearchbox/SuggestionNonFormatter.java
uicksearchbox/util/LevenshteinDistance.java
8e753108eecbc4b18f5f45860b64a545388dd53d 14-Jul-2010 Mathew Inwood <mathewi@google.com> Merge "Performance improvement for suggestion bolding." into froyo-ub-qsb
fbbf9be564b7675b2986dea38babfcbe55e5694b 14-Jul-2010 Mathew Inwood <mathewi@google.com> Performance improvement for suggestion bolding.

The amount of time spend inside LevenshteinSuggestionFormatter.formatSuggestion is reduced from 72ms to 44ms when runnig the tests. The number of memory allocations is also reduced.

Bug: 2836498

Change-Id: I97826e2499b4647812c58e762336a807f034f1ee
uicksearchbox/LevenshteinSuggestionFormatter.java
uicksearchbox/util/LevenshteinDistance.java
5f71d5746ec042ad2e5c1eee8c83514f92534372 14-Jul-2010 Bjorn Bringert <bringert@android.com> Log query refinement to event log

A click on the query refine button will now generate an event such as:
I/qsb_click( 1719): [1,com.android.browser/.BookmarkSearch::|google:8:|google:8:|google:8:|google:8:|google:8:|google:8:|google:8:,web,7,1]

The final 1 distinguishes this from regular suggestion clicks.

Bug: 2836179
Change-Id: Ic0580dd1bf398524a0143e1df6c331dbeabfc448
uicksearchbox/EventLogLogger.java
uicksearchbox/EventLogTags.logtags
uicksearchbox/Logger.java
uicksearchbox/NoLogger.java
uicksearchbox/SearchActivity.java
e83204ae5e130fed7e7f0acdbca0ed29a9bbc934 13-Jul-2010 Mathew Inwood <mathewi@google.com> Change behaviour of corpus icon in widget when hints visible.

Now, clicking on the corpus icon launches QSB as well as hiding the voice search hints.

Also fixed a bug which caused the voice search button to dissappear when voice search hints expired.

Change-Id: I5b1e7054c048f69e7d3ef0c34ea1820a39c7e1a8
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
3a7125b39b72f7417684c4d3040abeb4a81bd6b3 13-Jul-2010 Bjorn Bringert <bringert@android.com> Trim and collapse all whitespace in typed queries

This solves issues with shortcuts being saved with trailing whitespace
or internal whitespace differences between shortcuts and web search history.

Bug: 2836527
Change-Id: Ie2f2c4a3cc4f035e7201ed1dc608e7502c2b1383
uicksearchbox/SearchActivity.java
8782fd5a04fa913b368782d759628cadeaac74cf 13-Jul-2010 Bjorn Bringert <bringert@android.com> Always allow broadcast intent to show VS hint

Bug: 2503349
Change-Id: I37d66bd9beaf47885718e5de0ef6af8291eb1532
uicksearchbox/SearchWidgetProvider.java
5d8047bba2e05cc0cc1ca6684a53f26656a60584 09-Jul-2010 Mathew Inwood <mathewi@google.com> Implemented new voice search hints UX.

The voice search hints now replace the query text box in the widget. While a voice search hint is displayed, the behaviour of the widget is chanhed slightly:
- Click the hint launches voice search help (if available), else just voice search.
- The corpus selector changes its behaviour such that it hides the hint. The arrow is removed to indicate that it no longer behaves as a selector.

Bug: 2503349

Change-Id: I1e3bf36c930cbeb2d754893c08ce0bf202798cda
uicksearchbox/Config.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/VoiceSearch.java
f695d6bf59f2a3b2d58ab2480f2178825e712eff 06-Jul-2010 Mathew Inwood <mathewi@google.com> Implemented voice search hint heuristics.

Voice search hints are now displayed at intervals as defined by Config. They are shown for a while, then hidden again.

Bug: 2812974
Change-Id: I983250ab1296031fa9b38f17fa105e5b88fd976b
uicksearchbox/Config.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/VoiceSearch.java
437bf770c713726606d710ba68ceab538e22b3bd 12-Jul-2010 Mathew Inwood <mathewi@google.com> Reduce amount of string processing done at startup.

Making the strings static doesn't help a great deal as they're still concatenated at runtime, not compile time. But combining two calls to buildShortcutQuery into 1 also helps. Results in a saving of about 1% of startup time.

Change-Id: I5f7382d4e542ae88ec3b1d89c404506f641b8fbd
uicksearchbox/ShortcutRepositoryImplLog.java
f97ad17bd38e8b8331c53f4ba543998e7a0e7e4a 12-Jul-2010 Mathew Inwood <mathewi@google.com> Update after code review.

Change-Id: Ic58f249e7903d0eaac6b520f86691b4c56e8f8c3
uicksearchbox/ui/DefaultSuggestionView.java
b6aa0562dd2067537eb8a38403c13f9ea2c100f7 08-Jul-2010 Mathew Inwood <mathewi@google.com> New Corpus Selection dialog assets from mkoser.

Also improved behaviour of the same dialog when using trackball. Previously, could not move focus from the corpus GridView to the 'Add/Remove' button.

Bug: 2495099
Change-Id: I1f96f1c7d0c66f34006916589a5dc67e81d241f2
uicksearchbox/CorpusSelectionDialog.java
ee809978630e01cd7426d5df4f465c0dfcb57ea2 07-Jul-2010 Mathew Inwood <mathewi@google.com> Move focus to query editor when using query refinement button.

Change-Id: I65117793fdb288bf05d74c8f5ea029f4c232960e
uicksearchbox/SearchActivity.java
66ee1cc883f77fee930587503ecdcd8d18f12b23 06-Jul-2010 Mathew Inwood <mathewi@google.com> Made query refinement button usuable with trackball/dpad.

This required moving handing of suggestion clicks from SuggestionsView into the views within the list. Moving the focus between the query refinement button and the suggestion itself is done manually.

Bug: 2816727.

Change-Id: I0b69311b2d30c66a28f5447dc9e0e5f6dab3b704
uicksearchbox/SearchActivity.java
uicksearchbox/ShortcutLimitingPromoter.java
uicksearchbox/ui/ContactSuggestionView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionsAdapter.java
uicksearchbox/ui/SuggestionsView.java
a6d2f595994da302265c1b28929241be146b705a 02-Jul-2010 Bjorn Bringert <bringert@android.com> Merge "Replace "Voice Search" settings with "Search Widget" settings" into froyo-ub-qsb
971e5addc8a2092726a7531444c9ef019410a511 02-Jul-2010 Bjorn Bringert <bringert@android.com> Merge "New look for query editing" into froyo-ub-qsb
44dca900d1d5e1a2e1a13da1691be94474b4a79a 02-Jul-2010 Bjorn Bringert <bringert@android.com> Replace "Voice Search" settings with "Search Widget" settings

This may go away completely, depending on what the final hints UI will be, but
I wanted to get the strings in.

Change-Id: I5ff71208f5793a648f723543105703084c394b57
uicksearchbox/SearchSettings.java
c835fcfccedfe778da3296f0bf7ac21013c8b113 01-Jul-2010 Mathew Inwood <mathewi@google.com> Changes to support bug 2750953.

Change-Id: I95060b46314f33597b5deefcaec529498ff5b97e
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableSources.java
uicksearchbox/VoiceSearch.java
6b8dba4c144efb18faa9720d022db2aa7a532f59 01-Jul-2010 Bjorn Bringert <bringert@android.com> New look for query editing

Bug: 2290886
Change-Id: Ie16e6d577582c3f9d635762d8cdcaee40a2a5582
uicksearchbox/ui/DefaultSuggestionView.java
132a8afcb4970d1b783a6dba7944dc0dd5063101 30-Jun-2010 Mathew Inwood <mathewi@google.com> Allow suggested & query text style to be defined in XML.

Also refactored the creation of the formatting objects, for more flexibility and better testability.

Change-Id: I059a57ce9c4206e90a8e46492efd89a55694fed3
uicksearchbox/LevenshteinSuggestionFormatter.java
uicksearchbox/QsbApplication.java
uicksearchbox/SuggestionFormatter.java
uicksearchbox/SuggestionNonFormatter.java
uicksearchbox/TextAppearanceFactory.java
08ff0a7cb6b99db79508fa3124730eb81411bc56 30-Jun-2010 Bjorn Bringert <bringert@android.com> Limit the number of shortcuts per corpus in All mode

Bug: 2796586
Change-Id: I38f20930d4d9d819b6b1876c4c8af3b80dff69bc
uicksearchbox/ConcatPromoter.java
uicksearchbox/Config.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/PromoterWrapper.java
uicksearchbox/QsbApplication.java
uicksearchbox/ShortcutLimitingPromoter.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/Source.java
uicksearchbox/SuggestionsProviderImpl.java
2fb3a129925a42e72944b836e85a1a2d55a0d950 29-Jun-2010 Mathew Inwood <mathewi@google.com> Implemented suggestion bolding.

The part of the query that the user did not type is highlighed, currently in bold.

Bug: 2806529.

Change-Id: I087c4cd80faf878a54e1fa8d4c2833eef4329a62
uicksearchbox/LevenshteinSuggestionFormatter.java
uicksearchbox/QsbApplication.java
uicksearchbox/SuggestionFormatter.java
uicksearchbox/SuggestionNonFormatter.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/util/LevenshteinDistance.java
e46ac8349b012ec2c649d4e20bc835fec9ec681f 29-Jun-2010 Bjorn Bringert <bringert@android.com> Remove all use of public drawables in QSB

Before, QSB used a number of public drawables. This is not safe, as
partner platform customizations can change the color schemes in the
icons, which may not match the color scheme in QSB. This can be a
usability problem, e.g. with grey icons on grey backgrounds.

Changes made:

- Copy drawable.sym_def_app_icon.png from the framework
to corpus_icon_apps.png and corpus_icon_default.png. This introduces
as useful distinction between the Apps corpus icon and the icon used for
corpora that have no icon.

- Fix bug in SearchableSource where it looked up the default corpus
icon in the corpus package instead of in the QSB package.

- Copy ic_menu_preferences.png from the framework resources and use it
as the menu icon for Settings.

- Copy btn_dialog.xml from the framework resources and use it in
the Voice Search hint.

- Re-enable Voice Search hints. They had been accidentally disabled by
an earlier change.

Bug: 2807186
Bug: 2807268
Change-Id: I66c8f58af7737be3a4c8a0fb330acc15f1bb6808
uicksearchbox/AppsCorpus.java
uicksearchbox/Config.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchableSource.java
93bd2e70b8b08da1ec37fd0e990dac05551d2e90 29-Jun-2010 Bjorn Bringert <bringert@android.com> Another big QSB refactoring

- Change GoogleSource to return a suggestion cursor backed directly
by the JSON returned by the server, to avoid unecessary conversions
when showing web suggestions in QSB and improve laziness.

- Add SuggestionCursorBackedCursor to keep the web suggestion
ContentProvider working after the above.

- Extract Suggestion interface from SuggestionCursor, and use it to
replace DataSuggestionCursor use with ListSuggestionCursor.

- Add GoogleClient.isLocationAware(). GoogleSource previously
always returned true.

Change-Id: Ibe5ab2839267546b15488fa0a31e8535c014232a
uicksearchbox/AbstractSuggestionCursor.java
uicksearchbox/AbstractSuggestionCursorWrapper.java
uicksearchbox/AbstractSuggestionWrapper.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/DataSuggestionCursor.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/ListSuggestionCursorNoDuplicates.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/ShortcutsProvider.java
uicksearchbox/Suggestion.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionCursorBackedCursor.java
uicksearchbox/SuggestionCursorProvider.java
uicksearchbox/SuggestionData.java
uicksearchbox/SuggestionPosition.java
uicksearchbox/SuggestionUtils.java
uicksearchbox/google/AbstractGoogleSourceResult.java
uicksearchbox/google/GoogleClient.java
uicksearchbox/google/GoogleSource.java
uicksearchbox/google/GoogleSuggestClient.java
uicksearchbox/google/GoogleSuggestionProvider.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/SuggestionViewFactory.java
uicksearchbox/ui/SuggestionViewInflater.java
49fd8e0994577badc6194c2c3b5f771f2b793fe4 28-Jun-2010 Bjorn Bringert <bringert@android.com> Refactoring to make QSB more modular

Change-Id: I3bd5444bdcf4ac62a921c8c921306cc17aa440dc
uicksearchbox/AbstractSource.java
uicksearchbox/AppsCorpus.java
uicksearchbox/Config.java
uicksearchbox/CorporaUpdateReceiver.java
uicksearchbox/Corpus.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/CursorBackedSourceResult.java
uicksearchbox/EventLogLogger.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/NoLogger.java
uicksearchbox/QsbApplication.java
uicksearchbox/QsbApplicationWrapper.java
uicksearchbox/QueryTask.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableItemsSettings.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/ShortcutsProvider.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/Source.java
uicksearchbox/VoiceSearch.java
uicksearchbox/WebCorpus.java
uicksearchbox/google/GoogleClient.java
uicksearchbox/google/GoogleSettings.java
uicksearchbox/google/GoogleSource.java
uicksearchbox/google/GoogleSuggestClient.java
uicksearchbox/google/GoogleSuggestionProvider.java
uicksearchbox/ui/ContactSuggestionView.java
uicksearchbox/ui/DefaultSuggestionView.java
2fd5aa82682f077660faa8ec60c04238026a8731 28-Jun-2010 Mathew Inwood <mathewi@google.com> Make logging more consistent.

Always use Log.d, never Log.v.

Change-Id: I3d32c9005f5b2798c99d1b253c99e728e40c0cc8
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableSources.java
uicksearchbox/Suggestions.java
uicksearchbox/ui/SuggestionsAdapter.java
a48053f425e7a65f48bcabe1e0cf0cfb54162167 28-Jun-2010 Mathew Inwood <mathewi@google.com> Fix for bug 2798081.

This fixes the specific case where you have 'All' selected, no query entered, switch to contacts, enter a query then switch back. The case when a query had already been entered before switching from 'All' to another corpus was fixed previously.

Change-Id: I7b52a7eb698b9fb2dc16c21261066203c09f3858
uicksearchbox/ShouldQueryStrategy.java
uicksearchbox/SuggestionsProviderImpl.java
1923b7bd8926e274d013c66d23af219c755e6060 25-Jun-2010 Bjorn Bringert <bringert@android.com> Fix code review comments

Addresses code review comments on I6e25b77e73ca7b7b6869c283e2496bfa14242248

Change-Id: I8420221cc95e33d0b0b6f070814c1cf92cbb667a
uicksearchbox/Suggestions.java
13b2fc952b2fe3dee4ccdd3e7f7d090e688bf655 25-Jun-2010 Mathew Inwood <mathewi@google.com> Simplified suggestion filtering when switching between corpora.

Fixes bugs 2798084, 2798081. Don't understand why it fixes the 2nd one.

Change-Id: I6e25b77e73ca7b7b6869c283e2496bfa14242248
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchActivity.java
uicksearchbox/Suggestions.java
65e08c8c2a133ac50eccb4b94914f12b75695c56 25-Jun-2010 Bjorn Bringert <bringert@android.com> Merge "Delay suggestion updates 200 ms and group them" into froyo-ub-qsb
ced9f76b761536341d739e9a243c98a4bf90638c 25-Jun-2010 Bjorn Bringert <bringert@android.com> Delay suggestion updates 200 ms and group them

New corpus results are now delayed for 200 ms, unless it is the
last set of results. If a new result comes in before the timeout,
the timeout is reset.

Bug: 2796507
Change-Id: I545c3bdddba9e0d94fed781660577d80d918727e
uicksearchbox/Config.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/ui/SuggestionsAdapter.java
20c51f89fdba5105efdf0a37f50bf7fa013d5b8d 24-Jun-2010 Mathew Inwood <mathewi@google.com> Show non-web suggestions when a non-web corpus is selected.

Non-web suggestions are still filtered out when 'All' is selected, to avoid abiguity about what a suggestion is.

Bug: 2795430
Change-Id: Ic04cbb4859d26e0ec8ae880df3941cdce163866b
uicksearchbox/SearchActivity.java
014e0d0c0a5102b7cc1c5576a3af25a646731dd0 24-Jun-2010 Bjorn Bringert <bringert@android.com> Show web suggestions as fullscreen IME completions.

Bug: 2671161

Change-Id: Ie2afcb90929970ef08f40e8ad91d37078f17bde2
uicksearchbox/AbstractSuggestionCursor.java
uicksearchbox/SearchActivity.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/QueryTextView.java
288002f8258274e67876bd86b02e13acaf255815 23-Jun-2010 Mathew Inwood <mathewi@google.com> Add corpus icons to 'Searchable items' settings screen.

Change-Id: I90e051e48932ba405353c38c4a4ad6e93fd0fec9
uicksearchbox/SearchSettings.java
uicksearchbox/SearchableItemPreference.java
uicksearchbox/SearchableItemsSettings.java
754cb6b769c5955fc707a6c5ab6689b64df102b3 22-Jun-2010 Mathew Inwood <mathewi@google.com> Clear suggestions immediately when swicthing between corpora.

When switching from All to a specific corpora, the suggestions are filtered so that the results are available immediately. When switching from a specific corpora to All, we leave the suggestions in place, since they are still appropriate. When switching between individual seperate corpora, all suggestions are cleared.

Bug: 2750930

Change-Id: Ie284dee7bd93ebf048d86f025b4c30111f3dd403
uicksearchbox/SearchActivity.java
uicksearchbox/ShortcutsProvider.java
uicksearchbox/Suggestions.java
uicksearchbox/ui/SuggestionsAdapter.java
bc7b800dd19fa4cfdd597a4de76c3e3c46aa80b2 22-Jun-2010 Mathew Inwood <mathewi@google.com> Fix merge screwup earlier change.

Change-Id: Ida01566f8b1ea6bc4fec9c7363a57232152b918a
re: I586dfa4226bbbad83d4f2ed70c9935a638f6caf5
uicksearchbox/QueryTask.java
cd1e3ba5f7c3f5242345ff6f674281e3d6366e24 22-Jun-2010 Mathew Inwood <mathewi@google.com> Allow corpora to differ results when only 1 is selected.

Corpus and Source now know when they're the only corpus/source being queried so can tailor the results returned accordingly.

Change-Id: I586dfa4226bbbad83d4f2ed70c9935a638f6caf5
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/QueryTask.java
uicksearchbox/SearchableSource.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/Source.java
uicksearchbox/SuggestionCursorProvider.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/WebCorpus.java
f5e1499b48ac06de4e6e6460a7f14c3a7ac4eadd 21-Jun-2010 Mathew Inwood <mathewi@google.com> Changes to support bug 2602198.

Allow Google QSB to know when the focused state of the query text view on suggestions list changes.

Change-Id: Idd56c99c9f4bc64b9a2866d03de699999c03e566
uicksearchbox/SearchActivity.java
839a9fd2828f37c9dc8345f93aefa5b8ad2f857f 17-Jun-2010 Bjorn Bringert <bringert@android.com> Drop "query jamming" feature from QSB

Before, QSB put the text of web suggestions in the query field when
selecting a suggestion with the DPAD or trackball. The code for this
was complex and error-prone (see for example http://b/issue?id=2515755
and http://b/issue?id=2748984). Now there is an on-screen button to
put the suggestion text in the query field. Thus we should remove this
feature.

Bug http://b/issue?id=2776271

Change-Id: Iebafc24cffca0c7cf113e426564ad22bb93da738
uicksearchbox/AbstractSuggestionCursor.java
uicksearchbox/AbstractSuggestionCursorWrapper.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableSource.java
uicksearchbox/Source.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/ui/SuggestionSelectionListener.java
uicksearchbox/ui/SuggestionsView.java
6ae65b29ce9313a4f0624ef825f75151db5ec2fe 17-Jun-2010 Bjorn Bringert <bringert@android.com> Allow overriding content view in SearchActivity subclasses

Change-Id: Ie3d6feafc676882ffb0bb31b3b3b978fa447532a
uicksearchbox/SearchActivity.java
3cb8178193a41f6c74ee396c318385a50dd624e1 15-Jun-2010 Mathew Inwood <mathewi@google.com> Minor logging improvement & bugfixing.

Changed startup logging to include time takent to get the list of shortcuts. Also, changes to support bug 2758788.

Change-Id: Idd0c28910893619b9dc6e176b94f11daaba26caf
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/SearchActivity.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/WebCorpus.java
267d93c257837859e7a31f41f9276c086d1dd82b 08-Jun-2010 Bjorn Bringert <bringert@android.com> Trim leading whitespace when launching searches

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

Change-Id: I1d943e0ef14c5eac83b0439ba8bb883a3d48773f
uicksearchbox/SearchActivity.java
7a8de4943c83f8db49c5bcc282cff3f724f91a43 08-Jun-2010 Bjorn Bringert <bringert@android.com> Include all enabled default corpora in the first batch

This avoids a problem where default corpora where not queried
because the number of default corpora was larger than the number
of promoted sources.

Bug: http://b/issue?id=2750913
Change-Id: I2a93ea8c1df930499f02088683c4268340099a77
uicksearchbox/SuggestionsProviderImpl.java
c9cdac4f63e717208539ff9be5a282a5eacd2429 07-Jun-2010 Mathew Inwood <mathewi@google.com> Further changes to support bug 2601034.

Change-Id: Idaec547d0ba25ba5b017b2f47e371bc871990188
uicksearchbox/MultiSourceCorpus.java
1e53e72fbfc32995a97bbd25ae44bfea7b8781de 07-Jun-2010 Mathew Inwood <mathewi@google.com> Changes to support bug 2601034.

Change-Id: I597808a9fb5174e5a0829ff476288e2afee3a070
uicksearchbox/AppsCorpus.java
uicksearchbox/Corpus.java
uicksearchbox/SearchableSources.java
uicksearchbox/Sources.java
b6ff9838c8cdd4d63cdf11c5237eabd9b79966bb 04-Jun-2010 Mathew Inwood <mathewi@google.com> Prevent shortcuts from non-selected corpora from showing in search activity.

Change-Id: I2c5c0b05553646047021903a2f04f626f2503d33
uicksearchbox/SuggestionsProviderImpl.java
ca9c7b7bc0183aa1b6d160bf76597c96e70831f6 01-Jun-2010 Mathew Inwood <mathewi@google.com> Minor change to support bug:
http://b/issue?id=2602198

Change-Id: I2953b8f2b9ec73c90b1782225c9ec653a63dac99
uicksearchbox/SearchActivity.java
6dc33ea158221e543621cb8197a1d773914081e0 28-May-2010 Mathew Inwood <mathewi@google.com> Merge "Added ability to add extra views overlaying the search edit text box." into qsb-market-0
96c7058210699c82445169048b7c0fdfb16f59ee 28-May-2010 Bjorn Bringert <bringert@android.com> Add config resource for hiding corpora from corpus selector

This is required to support sources that add shortcuts, but
aren't really searchable, like Voice Search.

Change-Id: I9bc1c244848f970ac698b722257000d0f937d025
Bugs: http://b/issue?id=2678486 and http://b/issue?id=2678067
uicksearchbox/AbstractCorpus.java
uicksearchbox/AppsCorpus.java
uicksearchbox/Config.java
uicksearchbox/Corpora.java
uicksearchbox/Corpus.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/QsbApplication.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/SearchableItemsSettings.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/WebCorpus.java
uicksearchbox/ui/CorporaAdapter.java
18959800eddb7127e4fd9b24e91458d0584cc257 28-May-2010 Mathew Inwood <mathewi@google.com> Added ability to add extra views overlaying the search edit text box.

For bug: http://b/issue?id=2602198

Change-Id: Ibcaa6aaaad0e4a00ab28aed7680760f3b63847af
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SuggestionsView.java
08961a4a0bfc0302f134e54a48d72355ede27706 28-May-2010 Bjorn Bringert <bringert@android.com> Only show query refinement button on web suggestions

Bug: http://b/issue?id=2723969
Change-Id: I7f0d30d2d96fcedd0c417ccf63a9bdad5e4697bb
uicksearchbox/AbstractSuggestionCursor.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/DataSuggestionCursor.java
uicksearchbox/ui/DefaultSuggestionView.java
1aef21f8a84380351c7dd7c9bf66f80659d0d42e 27-May-2010 Mathew Inwood <mathewi@google.com> Refactored & simplified header/footer handling in SearchActivity.

Change-Id: I225e0d1b84ab7bc9ae0707cd1ff53fa00d1c1ba4
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SuggestionsDecoration.java
uicksearchbox/ui/SuggestionsView.java
54af8b26e73f9aa2a01473517cf6d9980a95fe55 27-May-2010 Mathew Inwood <mathewi@google.com> Added support for a header view above the suggestion list, to complement the existing footer view.

To support bug: http://b/issue?id=2602198

Change-Id: Ief369cc8267777f2276deb53c3bdcffb712e67d4
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/ui/EmptySuggestionsFooter.java
uicksearchbox/ui/SuggestionsDecoration.java
uicksearchbox/ui/SuggestionsFooter.java
21bff9bbf4286907b01d3153bff2fbd6b5ec5df8 13-May-2010 Bjorn Bringert <bringert@android.com> Clean up corpus update handling

This fixes two problems:
- makes the Voice Search button in the search widget and the QSB app
update immediately when Voice Search is installed or uninstalled.
- updates the corpus selection dialog and the currently selected
corpus correctly when corpora are installed or uninstalled.

Bug: http://b/issue?id=2522135
Change-Id: I04b212763e922cb2a9b2542b30ec4091a7dea506
uicksearchbox/Corpora.java
uicksearchbox/CorporaUpdateReceiver.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableSources.java
uicksearchbox/Sources.java
a64c1410e4c3d2ac351f99fcb7bceababbe859a8 13-May-2010 Bjorn Bringert <bringert@android.com> Address comments on TBR changes

This addresses code review comments by mathewi on these changes:
Idf3a6d892ba84307a887785725aa072bd28c59b6
I59bdb2b2b885417ef9d1871af5c9f838063d622d

Change-Id: Id5a525c0a0c9845e0d6f8de050058f0affef1eb0
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/ShortcutsProvider.java
0be2eb803011b1ef8c2c8277c330fe5ad975316b 12-May-2010 Bjorn Bringert <bringert@android.com> Use explicit intent when starting typed web search

This avoids a chooser dialog if both open-source QSB and GoogleQSB
are installed.

Bug: http://b/issue?id=2662308
Change-Id: I96956033cbbb8da7cc15ee57d863b3795160f85c
uicksearchbox/WebCorpus.java
bf18086dbcdc3cbc50409940b58fbc3a7dcf3a88 12-May-2010 Bjorn Bringert <bringert@android.com> Ellipsize single-line suggestion titles in the middle

Bug: http://b/issue?id=2665463
Change-Id: I489f381027f554593274e103207200dee40ae277
uicksearchbox/ui/DefaultSuggestionView.java
86e26bb90fe12a2a1daf7785767fbde8d75647ed 11-May-2010 Bjorn Bringert <bringert@android.com> Allow external apps to add shortcuts

This is needed to get Voice Search shortcuts into QSB

Bug http://b/issue?id=2365954

Change-Id: I59bdb2b2b885417ef9d1871af5c9f838063d622d
uicksearchbox/ShortcutsProvider.java
81a0897ff9685f3313c58294bf7973700c468b2b 11-May-2010 Bjorn Bringert <bringert@android.com> Refactoring to prepare for external shortcuts

This change is meant to have no user-visible effects

Change-Id: Idf3a6d892ba84307a887785725aa072bd28c59b6
uicksearchbox/AbstractSuggestionCursor.java
uicksearchbox/Launcher.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Source.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/VoiceSearch.java
uicksearchbox/WebCorpus.java
dd6d9a1a8d559c87f54412eb4e6569ed62193d60 07-May-2010 Mathew Inwood <mathewi@google.com> Don't dismiss keyboard if pressing 'Go' when no query.

The previous change didn't resolve the problem in the case when we navigate back to QSB after performing one search; the mTookAction flag is sticky for the whole QSB session.

Bug: http://b/issue?id=2466682
Change-Id: I266b6706ef534a8cebfd8c7c4f3afdd5388cfb31
uicksearchbox/SearchActivity.java
d6b9bd42f22582a8ccec657bd6d715465de98ec9 06-May-2010 Mathew Inwood <mathewi@google.com> Don't dismiss keyboard if pressing 'Go' when no query.

Bug: http://b/issue?id=2466682
Change-Id: I17ecd82734f5990da3511cac89dfa9e1be22069e
uicksearchbox/SearchActivity.java
1a9de3a4cfc0d6142c961ae11f940f1f77910afd 06-May-2010 Mathew Inwood <mathewi@google.com> Use more columns in CorpusSelectionDialog when in landscape mode.

bug: http://b/issue?id=2641580
Change-Id: I23a88091b0b739ef12b6c0a828d771e1eec98cfc
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchableItemsSettings.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/ui/SuggestionsView.java
2f09363e9ed5ae8e91e4495ccfa6533a2f45d8ce 22-Apr-2010 Bjorn Bringert <bringert@android.com> Show Voice Search hints in search widget

Bug: http://b/issue?id=2503349
Change-Id: Iab3727247fd74b92fe515df59e49868f49d2c621
uicksearchbox/SearchSettings.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
64380d2626b958f1d6215d551d3ee4fd25909f0b 27-Apr-2010 Bjorn Bringert <bringert@android.com> Merge remote branch 'goog/froyo' into merge_froyo_to_qsb-market-0
f36e998667852333addf155fb4bd22132e6a916e 27-Apr-2010 Bjorn Bringert <bringert@android.com> Fix another source of ANRs in search widget

Change I7cc589fa0ef7d8665c28eb1403b34d0de44001c0 fixed
one call to getCorpora() when updating the All search widget.
This fixes the other call to getCorpora() in the default path.

Bug: http://b/issue?id=2614736
Change-Id: Ifcfb6a236b8a1499c93a7e5bc3159706f7b5b858
uicksearchbox/SearchWidgetProvider.java
b081b4cbd2d05f253d319dbae10ada83402875d8 22-Apr-2010 Bjorn Bringert <bringert@android.com> Merge remote branch 'goog/froyo' into froyo_to_qsb-market-0
8c0cbecc705dfbc5192471dcbbfcddbadaf9ae6e 22-Apr-2010 Bjorn Bringert <bringert@android.com> Remove unnecessary query text view focus call

Bug http://b/issue?id=2290886

Change-Id: I29984fec0127287a0a54495ed03a1f7fc5014de0
uicksearchbox/SearchActivity.java
145693e12b77c193a65b7eaa038a272dd1f48f33 22-Apr-2010 Bjorn Bringert <bringert@android.com> Add query refine button to query suggestions

Also allows suggestions with no text2 to use 2 lines for
text1, to better support the long queries that query refinement
works best for.

Bug: http://b/issue?id=2290886
Change-Id: I253f2a770f490ee76524b07eae8907a2f22f63fe
uicksearchbox/SearchActivity.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionsView.java
d138468fcef9adfd77ee5f7ee054f811b1df21a0 21-Apr-2010 Bjorn Bringert <bringert@android.com> Fix QSB ANR's when updating All search widget

Before, the corpus list was constructed unnecessarily when updating
a search widget set to the All corpus. Creating the corpus list
is a pretty expensive operation, especially the first time after
boot before SearchManagerService has updated the list of global
searchables.

Bug: http://b/issue?id=2614736
Change-Id: I7cc589fa0ef7d8665c28eb1403b34d0de44001c0
uicksearchbox/SearchWidgetProvider.java
1d870d9687e1831241e528a558fcd008f8309604 09-Apr-2010 Bjorn Bringert <bringert@android.com> Add link to Searchable Items to corpus selection dialog

Bug http://b/issue?id=2495099

Change-Id: Ifa8f0ea24d580189ef180115bf2a60b949a65565
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchableItemsSettings.java
3f00b91235290a95a8ff9394a3612935d602ef20 03-Apr-2010 Bjorn Bringert <bringert@android.com> Allow Apps corpus Go button to use a custom search activity

Bug: http://b/issue?id=2559078
Change-Id: Id8fbdecb42e8cb21ef57085fb9c35df0d347fcdb
uicksearchbox/AppsCorpus.java
uicksearchbox/SearchableSource.java
b46040af250f9d5cf65ea4e39595c7b88531241a 31-Mar-2010 Bjorn Bringert <bringert@android.com> Guard against null from getSearchablesInGlobalSearch()

Bug http://b/issue?id=2531294

Change-Id: Ibb813cda8de76452fe9e26a899f91aafa5014253
uicksearchbox/SearchableSources.java
06d52e1ca8fa2e13455af86cacab668d124c1989 31-Mar-2010 Bjorn Bringert <bringert@android.com> Pass search intents to ApplicationsProvider on Go

Bug http://b/issue?id=2559078

Change-Id: I00e7db95e980179252471cf368bd630a5f907b08
uicksearchbox/AppsCorpus.java
7a9b12c46680a5b88b5d9fcbcc553d0d5b74cb63 29-Mar-2010 Bjorn Bringert <bringert@android.com> Remove unused action key methods

The action key interface will not be exposed in Froyo,
and we weren't using these methods anyway.

Bug http://b/issue?id=2553524

Change-Id: I326e6784e232b303166b315314bb463ecae09941
uicksearchbox/SearchableSource.java
uicksearchbox/Source.java
148154b406d3e483018e98f8f0296b59302020a3 26-Mar-2010 Bjorn Bringert <bringert@android.com> Write to click log asynchronously

This moves all write operations (except table creation)
to asynchronous transactions. This inclueds:
- Click logging
- Storing refreshed shortcuts
- Clearing history

Bug http://b/issue?id=2537681

Change-Id: Ia134ada5afc23310f6557ff7a34e5f03348c3935
uicksearchbox/QsbApplication.java
uicksearchbox/QueryThreadFactory.java
uicksearchbox/SearchSettings.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/util/PriorityThreadFactory.java
uicksearchbox/util/SQLiteTransaction.java
5e83b8d8c8c9569c03a283e57bcd412d59a5b053 25-Mar-2010 Bjorn Bringert <bringert@android.com> Don't log clicks asynchronously

It can throw IndexOutOfBoundsException, because the
cursor has already been closed.

Bug http://b/issue?id=2537681

Change-Id: I86465591166e35b81ca25c3446d77933ab9a6fcf
uicksearchbox/ShortcutRepositoryImplLog.java
87331ef11a1ac6c907c008354e3aab5eb6f87404 25-Mar-2010 Bjorn Bringert <bringert@android.com> Click logging performance improvements

- Logs clicks asynchronously.

- Gets rid of SourceLog, and adds a corpus field to ClickLog that
is used instead. This should reduce the amount of work done
when logging clicks.

- Uses the 30 day threshold for both source ranking and shortcuts.

Bug http://b/issue?id=2537681

Change-Id: I70cf6031b667fcc41bc23cc8d61351607a1058fd
uicksearchbox/Config.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
d98911178013162737fbba74387b51d2a08b0493 25-Mar-2010 Amith Yamasani <yamasani@google.com> Show IME on launching QSB, even when hardware keyboard is available.

Bug: 2500129

After the window receives focus, post a message to request the soft
input method to show. If done any sooner, the window and view focus
and IME decisions have not settled down yet.
uicksearchbox/SearchActivity.java
11234b9966c6b0e5c17d00e3b973c0d49a8d1f57 23-Mar-2010 Bjorn Bringert <bringert@android.com> Reduce QSB start-up time

This change reduces the QSB start-up CPU time by
about 40% by doing the following:

- Don't get zero-query suggestions in onResume(), do it with a 100 ms
delay instead, like when typing

- Don't log the qsb_start event in onResume(), do it in the first
updateSuggestions().

- Get rid of one level in the view hierarchy.

Bug: http://b/issue?id=2537351

Change-Id: Ic9c566c2497446f71318af4a85090acd06d5b9a8
uicksearchbox/SearchActivity.java
uicksearchbox/ui/ActivityClosingView.java
uicksearchbox/ui/SearchActivityView.java
25f44e14e0638b84b0a3f40f3f1a663cc3e999cb 19-Mar-2010 Bjorn Bringert <bringert@android.com> Create source contexts lazily

Bug http://b/issue?id=2500425

Change-Id: Ibf99370918722ff0b4332912f8ae8bdb46f137e2
uicksearchbox/PackageIconLoader.java
uicksearchbox/SearchableSource.java
b5fc08b7f16a32d3865f44b7f26d8aaa5304a2ad 19-Mar-2010 Bjorn Bringert <bringert@android.com> Disable debug logging and remove unused imports and classes

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

Change-Id: I2416c9b6c1b9e819ec17d7954b6b70bf106f0414
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/ListSuggestionCursorNoDuplicates.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/ProgressListener.java
uicksearchbox/Promoter.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/RoundRobinPromoter.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableSource.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/ShouldQueryStrategy.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/WebCorpus.java
uicksearchbox/google/GoogleSuggestionProvider.java
uicksearchbox/ui/CorporaAdapter.java
uicksearchbox/ui/CorpusViewInflater.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SuggestionsView.java
uicksearchbox/util/BatchingNamedTaskExecutor.java
uicksearchbox/util/SingleThreadNamedTaskExecutor.java
b7bc4b742da11c7ecc0412d64644355ec1b27110 18-Mar-2010 Dan Egnor <egnor@google.com> Merge "Assign explicit numbers to QSB event log tags (for unbundled stability)"
ab39f4ab5898d48dd463cc99fd16442a2b996637 18-Mar-2010 Dan Egnor <egnor@google.com> Assign explicit numbers to QSB event log tags (for unbundled stability)

Change-Id: I3eb1a693ab3c6e44c9d91ac41731536c9d2abcec
uicksearchbox/EventLogTags.logtags
a2e7aa5776322f0f2c30a4969276ac6cb553b658 17-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Dismiss QSB on BACK even if IME is up"
c36735de23beadc017c484596b551d7c4eaff289 17-Mar-2010 Bjorn Bringert <bringert@android.com> Dismiss QSB on BACK even if IME is up

Bug: http://b/2503930
Change-Id: I978ce593bfc9994f5b3553f9a81c2026b8cc5666
uicksearchbox/ui/ActivityClosingView.java
39bbcdc1a485ded93059de4a3f70bfda85e9f304 17-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Various changes to shorcut promotion logic.

- Default services are always shown before non-default
- All default sources must respond before non default are called
- The top slots above the keyboard are shared by any default source results.

Change-Id: I59c9dad0fac1f9664b5f40cc32cc38fb42507fb2
uicksearchbox/Config.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/Promoter.java
uicksearchbox/QsbApplication.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/RoundRobinPromoter.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/util/BatchingNamedTaskExecutor.java
b4141cf7b4b2c77b2abaf35c8508763f10220f2d 17-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Perform simple url normalization when doing duplicate detection.

Fixes http://b/2500216

Change-Id: I4700e00381a82477c16dcaf36ca09e26b31aa0ba
uicksearchbox/CursorBackedSuggestionCursor.java
fceab7c8d7915d4e941df080544797484e9ea4d8 16-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Set SOURCE=launcher-widget for searches started from widget"
53af86dde19652fcb290410387f6faae19fcee56 16-Mar-2010 Bjorn Bringert <bringert@android.com> Set SOURCE=launcher-widget for searches started from widget

Bug: http://b/issue?id=2315234
Change-Id: I3d29d2c53d0c1fc643dfc5f53d84caebd81f6587
uicksearchbox/SearchWidgetProvider.java
5794f1b9fbcec73caf2758b9a893f38282827b56 16-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Don't send 0 length queries to the browser."
6f8fc42e68237bfb6f474faff8086d910d2934d5 16-Mar-2010 Bjorn Bringert <bringert@android.com> Guard against enter key on empty suggestions list

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

Change-Id: I829fef3514306aa85d2a7f466f597b02fb964b90
uicksearchbox/SearchActivity.java
dbda78401b4b25ac1da77b2db75f0657f2705b1d 16-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Don't send 0 length queries to the browser.

Change-Id: Iedac00f92d5567f97afff2df879421183a5070fc
uicksearchbox/WebCorpus.java
2353e9c002c45c0adc8a979a49ff317cae5838b8 15-Mar-2010 Bjorn Bringert <bringert@android.com> Use resource names in stored shortcut icons URIs

This makes the URIs in shortcuts for suggestions produced
by QSB stable across upgrades (as long as the resource names
don't change).

http://b/issue?id=2513568

Change-Id: I17a8c06fcbc36f439c0751bb4dd0cb8789cb5e6b
uicksearchbox/AppsCorpus.java
uicksearchbox/PackageIconLoader.java
uicksearchbox/SearchableSource.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/WebCorpus.java
uicksearchbox/ui/CorpusViewInflater.java
uicksearchbox/util/Util.java
dfe0df4a730c54bdc963b891f9a3080c38055ebb 15-Mar-2010 Bjorn Bringert <bringert@android.com> QSB IME and BACK fixes

- Open soft keyboard with hard keyboard closed

- Use extract UI in landscape mode.

- Fix this error:
1. Tap home screen search widget corpus indicator.
2. Tap outside corpus selection dialog to dismiss it.
3. Tap corpus indicator in QSB top left.
4. Press BACK
5. All of QSB was dismissed

Bugs: http://b/issue?id=2500129 and http://b/issue?id=2438199

Change-Id: I0d51999e7205246d5ab470be494397b86b73e795
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchActivity.java
cc10dcf07c4e787abd66f4e2cfed31a09580a3b0 14-Mar-2010 Bjorn Bringert <bringert@android.com> Allow installing QuickSearchBox in data partition

Changes:

- Only use sources that the QSB process can read. This will exclude
any sources protected by the GLOBAL_SEARCH permission when
QSB is in the data partition.

- Add permission to read bookmarks, needed by Web source
when QuickSearchBox doesn't have the GLOBAL_SEARCH permission.

- Change QuickSearchBox icon to a generic magnifying glass, to make it
different from GoogleQuickSearchBox.

- Change All corpus icon to be the same as the app icon
(magnifying glass).

- Set package name in home screen search widget intents, so that
the correct search app is started.

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

Change-Id: I47892b011c06ebb000cd975bad057eeecc4d34db
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/ui/CorpusViewInflater.java
67939fd87e5ee8007eaa4581fac1c3c5dedc3f97 15-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Don't show shortcuts for upgraded apps"
1cf04d9020e00d153fc796af2c63bfb5cc8e203c 14-Mar-2010 Bjorn Bringert <bringert@android.com> Fix qsb_latency event log tag syntax

See http://b/issue?id=2415859

Change-Id: I07a0c93f3e7b557651786faeecb54d844d5e94cf
uicksearchbox/EventLogTags.logtags
6d5cbd67f7a5f824babb5c892b0f30bfd9f4ff23 12-Mar-2010 Bjorn Bringert <bringert@android.com> Don't show shortcuts for upgraded apps

This required moving the limit on the number of shortcuts
returned from the SQL query to the ShortcutCursor constructor.

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

Change-Id: Icd2c71c31433429c005926497c1767ccc713beb4
uicksearchbox/Config.java
uicksearchbox/SearchableSource.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Source.java
uicksearchbox/SuggestionsProviderImpl.java
e6f46632869a288c82b75187af166931f82a6e12 12-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Show shortcuts in corpus-specific mode.

Change-Id: Ibc101f26a9aede7992a43731975d99eb96318568
uicksearchbox/SearchActivity.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/ui/SuggestionsAdapter.java
11c44a74cb2519c0c8630486784aa916b964070e 12-Mar-2010 Bjorn Bringert <bringert@android.com> Dismiss QSB on BACK after clicking widget corpus selector

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

Change-Id: I823a7b047560426a667744acb5ef41e6c9b84fda
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchActivity.java
d952bb758b8bcda1769a4338a31e16830546ca5f 12-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Fix ShouldQueryStrategy.shouldQuery"
a65408ff321345557f93effa41395174640870eb 12-Mar-2010 Bjorn Bringert <bringert@android.com> Fix ShouldQueryStrategy.shouldQuery

updateQuery() didn't store the last query for widening or different
queries.

Also adds regression tests for this bug.

Also checks queryAfterNoResults before storing the empty corpus.

Also adds some missing test size annotations and removes
unneccessary "synchronized" from ShouldQueryStrategy
(after some recent changes it's only used from the main
thread.).

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

Change-Id: I9f3ca6962ec5fe7a1de2baef1ffab2db4add0756
uicksearchbox/ShouldQueryStrategy.java
4ef1338a23b040df2ef180c48ff85e14a9d70906 12-Mar-2010 Bjorn Bringert <bringert@android.com> Delay suggestion update a bit, to reduce load when typing quickly

This currently uses a 100 ms delay before updating the suggestions.
If a new character is typed before the timeout, the timeout
is reset. At least on Passion, the key repeat interval
when holding down backspace is ~ 50 ms, so this avoids
redundant suggestion queries when holding down backspace.

Also removes obsolete progress update code.

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

Change-Id: I8856a320a37dfa15dd801e0217d40eec79f5894b
uicksearchbox/Config.java
uicksearchbox/SearchActivity.java
f95ce100dcbc77794b79b0187c566bb58b5978d3 11-Mar-2010 Bjorn Bringert <bringert@android.com> Logging improvements and better corpus selector handling

- Log latency for a fraction of corpus suggestion requests.

- Don't log qsb_start when choosing a corpus in the corpus
selector.

- Log qsb_exit when leaving QSB without doing a search, voice search
or clicking a suggestion.

- Create corpus selector dialog directly, instead of it being a
a managed dialog.

Change-Id: I2db3b4fa7b20cef339aff5715c72c9846103c9f8
Bugs: http://b/issue?id=2415859 and http://b/issue?id=2506462
uicksearchbox/Config.java
uicksearchbox/CorpusResult.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/EventLogLogger.java
uicksearchbox/EventLogTags.logtags
uicksearchbox/LatencyTracker.java
uicksearchbox/Logger.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/SingleSourceCorpusResult.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/WebCorpus.java
503aceaac1aad820f2958a03f7327df18a07f713 08-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Send zero length queries to the web corpus.

This allows the web provider to warm up, and will allow us to show zero
query suggestions in future.

Change-Id: Ida7ce02e4a145ecae2a3c488875107e9e97b25c0
uicksearchbox/SuggestionsProviderImpl.java
72cad65b75d16dccc314057795f871ab3a9705d9 10-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Fix shortcut refreshes that delete shortcuts"
bc99ea27ec20f72cf6b7c37294e5755fd5174cb7 10-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Update suggestions when moving left/right from sugggestion"
510524fcacc684757be07b8db20f7a53fbd59593 10-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Use a separate thread pool for Web corpus, to avoid deadlock"
72f9b08ce84d0e13daf2d1c112d4e6d1d3ada045 09-Mar-2010 Bjorn Bringert <bringert@android.com> Use a separate thread pool for Web corpus, to avoid deadlock

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

Change-Id: I228d77a3ead794c7922d42fd51ff068f57dab40e
uicksearchbox/AppsCorpus.java
uicksearchbox/Config.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/WebCorpus.java
6855d589830271a191c1220bf3cb8bf35ae0ec58 10-Mar-2010 Bjorn Bringert <bringert@android.com> Fix shortcut refreshes that delete shortcuts

Fixes http://b/issue?id=2499859 (I hope)

Change-Id: Ibe3ef5b81072b839c4aebe75e58c7ccae8603ff8
uicksearchbox/ShortcutRefresher.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SourceShortcutRefresher.java
4afd6f1587b1c2f3686190d55f1640ecfba03699 09-Mar-2010 Bjorn Bringert <bringert@android.com> Update suggestions when moving left/right from sugggestion

This is a pretty quick way to do query refinement
if you know about it.

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

Change-Id: Ifc4e2b2ac0c4636390e2f497d014027e7a7cafc0
uicksearchbox/SearchActivity.java
3bce74730e2008a5f0fe2f056731e3e93a640d8b 09-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Use @VisibleForTesting instead of proguard.flags"
c963d16e55b6dc2bf37526455ff2c05150b2bfa2 09-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Make it easier to identify individual worker threads in QSB.

Change-Id: Iae0adc8c92455a604d1558e6485eff7052561d31
uicksearchbox/QueryThreadFactory.java
uicksearchbox/util/SingleThreadNamedTaskExecutor.java
870b826dfbc5ef7518826007f22343dc963d6d04 09-Mar-2010 Bjorn Bringert <bringert@android.com> Use @VisibleForTesting instead of proguard.flags

Change-Id: Ib6a8cceaa24da843d46ea3561c9d237a21c2b83e
uicksearchbox/DataSuggestionCursor.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SuggestionData.java
uicksearchbox/Suggestions.java
bec800c72ba867bcd1d477685a8e838a6187a30d 05-Mar-2010 Bjorn Bringert <bringert@android.com> Use blue "g" icon for All corpus

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

Change-Id: If3c0de48e9d65056bcd7e91e9441edb23a7baf8c
uicksearchbox/ui/CorpusViewInflater.java
538795433316cd90fde6eca8013086e91936ebbb 08-Mar-2010 Bjorn Bringert <bringert@android.com> Merge changes I7f6b4620,I75d2a863

* changes:
Don't do busy waiting in BarrierConsumer
Always use the same SuggestionsProvider
57c5d7c3b9b8dd64e386201c42b9109e06d06d4e 08-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Fix suggestion selection handling"
6e46d19f56cd88eb2b78f6cffcdba6f508478539 08-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Honor "show web suggestions" in QSB (again)"
32b3062031c2853b08da65378af629f2964621bd 06-Mar-2010 Bjorn Bringert <bringert@android.com> Don't do busy waiting in BarrierConsumer

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

Change-Id: I7f6b4620865f920ed17e09882715a475bba81615
uicksearchbox/util/BarrierConsumer.java
47d02f7285794bb39b2a2d828d32b5329dd8ecb0 06-Mar-2010 Bjorn Bringert <bringert@android.com> Always use the same SuggestionsProvider

This fixes a problem where a new SuggestionsProvider was created
for every keystroke when in single-corpus mode. That resulted
in old pending query tasks not being cancelled. This increased
suggestion latency a lot when typing quickly.

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

Change-Id: I75d2a86349cdec8735a26c48c1fb737fac772f78
uicksearchbox/AbstractSuggestionsProvider.java
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SingleCorpusSuggestionsProvider.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/SuggestionsProviderImpl.java
uicksearchbox/util/SingleThreadNamedTaskExecutor.java
5c8bb23b605edf07f0e6f5aa6b0841753ffbf6c7 06-Mar-2010 Bjorn Bringert <bringert@android.com> Fix suggestion selection handling

This change addresses two problems with how suggestion selection
events were fired:

- When a suggestion was selected with the trackball, and focus then
moved away from the suggestions list, and back in, no selection
event was fired. This is because ListView retains the selection
position. This is worked around by firing selection events
on suggestion list focus changes when the list view already
has a selected position.

- If the suggestion list changes so that the old selection is no
longer valid (only happens when the suggestion list becomes shorter),
ListView changes the selection so that the position is still valid.
Before, this triggered a suggestion selection event. We now suppress
all selection events that happen when the list does not have focus.

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

Change-Id: Ibfbed15bf136ab8f9c9d4172c014c152e56c5089
uicksearchbox/ui/SuggestionsView.java
13ace1d0d0fa7e4c7aa7898a828763d8880db463 06-Mar-2010 Bjorn Bringert <bringert@android.com> Honor "show web suggestions" in QSB (again)

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

Change-Id: Ic3fcdb619d0a24b8985d2cbbfa7b47f1191d090c
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/WebCorpus.java
dc2c74eef51811886e6f080eaa8692804a00a1f4 06-Mar-2010 Bjorn Bringert <bringert@android.com> Order Searchable Items: Web first, the rest alphabetically

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

Change-Id: I4ceec8f4615e9ac357f6132cf05a8dfe3f7faefe
uicksearchbox/SearchSettings.java
62adab88055fd0ef6779242245cdc8c3ae5f999c 05-Mar-2010 Bjorn Bringert <bringert@android.com> More refactoring to enable Apps+Market source

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

Change-Id: I3d4bae54e55ade6901fb9d061ada226efd098549
uicksearchbox/Corpora.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Sources.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/ui/DefaultSuggestionView.java
ce4cdcf739b57563ddcdbed6944128b8c1f7522a 04-Mar-2010 Bjorn Bringert <bringert@android.com> Boost ranking of default enabled corpora

This includes a refactoring to have the CorpusRanker
wrap a Corpora object and cache the ranked corpus list.

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

Change-Id: If3eb02426cfc4dcc00d932d21e2541181f076dc5
uicksearchbox/AbstractCorpusRanker.java
uicksearchbox/AbstractSuggestionsProvider.java
uicksearchbox/CorpusRanker.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/EventLogLogger.java
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/Logger.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/ui/CorporaAdapter.java
uicksearchbox/util/Util.java
f69873ae02e6d8f8a550f5fa43b5b1f2cbea96ff 04-Mar-2010 Bjorn Bringert <bringert@android.com> Corpus selector UI fixes

- Dismiss corpus selector on any touch outside corpus grid

- Dismiss dialog when moving up-and-out of corpus grid with
trackball/dpad.

- Dismiss corpus dialog on typing on hard keyboard.

- Select the current corpus on start. As is normal with GridViews
and Listviews, this doesn't highlight the selection in touch mode.

- Don't preserve corpus selection dialog when leaving QSB

- Keep dialog at right vertical offset event when it needs to scroll.

Fixes part of http://b/issue?id=2482918
Fixes http://b/issue?id=2481106
Fixes http://b/issue?id=2473693

Change-Id: I276628763d1d252ce9ec4b7094b934ed29d5a44d
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchActivity.java
uicksearchbox/ui/CorporaAdapter.java
e06b7cbf55301a24cfd7525a91107e3cd2c9f48e 04-Mar-2010 Bjorn Bringert <bringert@android.com> Only included queried corpora in qsb_click log event

Change-Id: I4ce89b02f7957a427508e58226c5b9867e819b32
uicksearchbox/EventLogLogger.java
uicksearchbox/Logger.java
uicksearchbox/SearchActivity.java
uicksearchbox/Suggestions.java
uicksearchbox/ui/SuggestionsAdapter.java
82bcf002f2f736afcd6cb548c19aa4e8ac12b421 04-Mar-2010 Bjorn Bringert <bringert@android.com> Use actual set of promoted corpora in suggestion promoter

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

Change-Id: I9de5b09eadf168377e7c7b2f11ce9ae247129f70
uicksearchbox/AbstractSuggestionsProvider.java
uicksearchbox/Promoter.java
uicksearchbox/QsbApplication.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/RoundRobinPromoter.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/Suggestions.java
uicksearchbox/ui/Util.java
uicksearchbox/util/Util.java
bf61e445cbe423cc2554b722b6dd38675015c36d 03-Mar-2010 Bjorn Bringert <bringert@android.com> Only consider enabled corpora for promotion (doh!)

Before, all corpora, not just enabled ones, where considered
for promotion in RankAwarePromoter. This had the effect that web
was the only promoted source ever to be queried.

Also adds a lot of debug printing that helped track this down.

Fixed in http://b/issue?id=2486251

Change-Id: Ia739111b2ab1bf2c5aba8dd1eca29614ca20c407
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/SearchableSource.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SingleSourceCorpusResult.java
uicksearchbox/SuggestionPosition.java
eba26da75665ac3b9a411e74267395f332ff851a 03-Mar-2010 Bjorn Bringert <bringert@android.com> Don't start empty searches.

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

Change-Id: I2e1649c65575a54c55401c135caafc97b874c127
uicksearchbox/SearchActivity.java
b26d8541710a84b1ed67dbfd1a98d75c85e7a19e 03-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Use a custom corpus class for Apps"
46910a0edfe481c5497fcc7afd000ada54793614 03-Mar-2010 Bjorn Bringert <bringert@android.com> Don't show shortcuts from disabled corpora

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

Change-Id: Ia811d3f0ae0d3cf80af944a72324762f44ec146f
uicksearchbox/ShortcutRepositoryImplLog.java
574cc4c7b12a766644353800e749719085badcf6 03-Mar-2010 Bjorn Bringert <bringert@android.com> Use a custom corpus class for Apps

This is in preparation for adding Market search to it,
and also fixes the missing Apps search hint.

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

Change-Id: Ia278519abddface4457680469ab7c011e0d77468
uicksearchbox/AppsCorpus.java
uicksearchbox/SearchableCorpusFactory.java
f252dc7a25ba08b973ecc1cfbbce58eb78d42167 26-Feb-2010 Bjorn Bringert <bringert@android.com> Refactoring to make it easier to add the apps+market corpus

I created an abstract MultiSourceCorpus implementation
of Corpus, and changed WebCorpus to use that as its base class.
Once we have Market suggestions, I will use the same bas class for
the Apps corpus. This is part of the fix for http://b/issue?id=2312744

Change-Id: I804555a95ace92eeafd4922e27f86a90dda7889e
uicksearchbox/AbstractSuggestionsProvider.java
uicksearchbox/Corpus.java
uicksearchbox/EventLogLogger.java
uicksearchbox/MultiSourceCorpus.java
uicksearchbox/QsbApplication.java
uicksearchbox/QueryTask.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/SearchableSource.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/Source.java
uicksearchbox/SourceShortcutRefresher.java
uicksearchbox/SuggestionCursorProvider.java
uicksearchbox/SuggestionData.java
uicksearchbox/WebCorpus.java
uicksearchbox/util/BarrierConsumer.java
uicksearchbox/util/Consumer.java
87e947cbd9f279a83337900ff8bbd5ab0a8dc455 02-Mar-2010 Bjorn Bringert <bringert@android.com> Fix moveToPosition() error in RankAwarePromoter

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

Change-Id: I1c8ac3a0037d130b47edbf7b9ac5c818aa0cf804
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/DataSuggestionCursor.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/RankAwarePromoter.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionCursorWrapper.java
dbce1abe91200e83a41bcd95aaf5ea89496e5e48 02-Mar-2010 Bjorn Bringert <bringert@android.com> Store suggestion log type in shortcut repository

Change-Id: I24436d41e4de8f63c5b9e5a4edab5146ac5678ae
Fixes: http://b/issue?id=2480280
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionData.java
3673ad4f2b3893f15675820ab2240ec0a64b7970 03-Mar-2010 Bjorn Bringert <bringert@android.com> Don't close cursors in finalize()

This can cause lock-ups, see
https://sites.google.com/a/google.com/db_in_android/

Change-Id: I293021d3bdc7a549147afa80593fa162b135ac00
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/Suggestions.java
965d98377ddfdc52b772c2444d840000b665e000 01-Mar-2010 Bjorn Bringert <bringert@android.com> Support SUGGEST_COLUMN_TEXT_2_URL

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

Change-Id: Ifd03bdc9a466e8159724ffeba6642ee260d58920
uicksearchbox/AbstractSuggestionCursorWrapper.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/DataSuggestionCursor.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionData.java
uicksearchbox/ui/DefaultSuggestionView.java
dfabb7cfae91f6af3b5a9a9584cdec5557d1fceb 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Update to reflect android-common no longer in framework.
uicksearchbox/WebCorpus.java
uicksearchbox/google/GoogleSuggestionProvider.java
59920d0365c0ab334935a4f6a6804eae1d278662 24-Feb-2010 Bjorn Bringert <bringert@android.com> Fix corpus selector shadow and background

See http://b/issue?id=2380798

Change-Id: I19ad7e99de566896d112d02cbb010c26ccb8ec45
uicksearchbox/CorpusSelectionDialog.java
5691f9062b2a558ba39c700d65bc522d397ebc75 25-Feb-2010 Bjorn Bringert <bringert@android.com> Show "Google" hint for Web and All, source hint for others

Also, show cursor when query text field is empty.

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

Change-Id: I521f684e3c7487cd6003ca309b684c221b96e619
uicksearchbox/Corpus.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableSource.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/Source.java
uicksearchbox/WebCorpus.java
535931433926d342c6277034cad91143ae28b72d 24-Feb-2010 Bjorn Bringert <bringert@android.com> Make search widget voice search button corpus-sensitive

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

Change-Id: I547bd3b3c097dc4eac5fd10a391ac0e5a8a6d4e6
uicksearchbox/Launcher.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
6c8a8cb66ccf57347c7aed4260132d342b242b0f 24-Feb-2010 Bjorn Bringert <bringert@android.com> Don't use fullscreen IME. Show IME when going back to QSB

Change-Id: Iee63a057b567d3189ef2f171811de4ee5e65ae71
uicksearchbox/SearchActivity.java
c29c9f854db8fa0c85f17cc32bae33dc17c6b127 23-Feb-2010 Bjorn Bringert <bringert@android.com> Create shortcuts from web searches

Web searches and URLs entered in the All and Web corpora
now create shortcuts that show up in All.

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

Change-Id: I269fcf93590d2335e10d43255b8989ffd4103f5b
uicksearchbox/Corpora.java
uicksearchbox/Corpus.java
uicksearchbox/DataSuggestionCursor.java
uicksearchbox/Launcher.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/SuggestionData.java
uicksearchbox/WebCorpus.java
26d85260316193a1aeff5d407d4f32f5297be012 23-Feb-2010 Bjorn Bringert <bringert@android.com> Show menu in corpus selector, update corpus list dynamically

Fixes http://b/issue?id=2444698
"Corpus selection dialog should show QSB menu (search settings) on MENU press"

Change-Id: I7ffe3c646eb5dfbb716f9e69d6ae081859d37909
uicksearchbox/Corpora.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/ui/CorporaAdapter.java
dbdffd8316e75bc2813dbbcbef13d357970e8c84 23-Feb-2010 Bjorn Bringert <bringert@android.com> Add missing pieces for suggestions footer change.

This should have been part of I332c0566fedecccaae194304310c1f13d7201e2d
but I missed a git commit

Change-Id: Id670c164aeb89814b700e3f0e93206686704efb6
uicksearchbox/Corpora.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/WebCorpus.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/EmptySuggestionsFooter.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionsFooter.java
uicksearchbox/ui/SuggestionsView.java
883c1bf364e38c5b133afb55f8493a14b65f4dd4 19-Feb-2010 Bjorn Bringert <bringert@android.com> Add a suggestions footer view

Also, refactor source and corpus creation. This turned out not
to be needed to fix the bug, but I think it was a good thing anyway.

Also, include a suggestion type in the qsb_click log.
This is only set for Genie suggestions at the moment.

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

Change-Id: I332c0566fedecccaae194304310c1f13d7201e2d
uicksearchbox/AbstractSuggestionCursorWrapper.java
uicksearchbox/Corpora.java
uicksearchbox/Corpus.java
uicksearchbox/CorpusFactory.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/EventLogLogger.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableCorpusFactory.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSources.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/Sources.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/WebCorpus.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionsFooter.java
uicksearchbox/ui/SuggestionsView.java
bd92263c4f8df5e68e9d806167534e7067a5e5ed 23-Feb-2010 Bjorn Bringert <bringert@android.com> Honor the "show web suggestions" setting

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

Change-Id: I39a6c0423156892752a1dc4f24e48d582f59fccf
uicksearchbox/SearchSettings.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/WebCorpus.java
uicksearchbox/google/GoogleSettings.java
a4cd9e7cdd5bdc6198ce73eed55696554a146514 19-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Consider corpora rankings when choosing results to promote.
uicksearchbox/QsbApplication.java
uicksearchbox/RankAwarePromoter.java
475e8b34b1b62e6764a1d5b3c97bc64de8ea1595 19-Feb-2010 Bjorn Bringert <bringert@android.com> Shortcut the clicked suggestion, not the first

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

Change-Id: I122c9fe536b9658299c52f27ff2bdc835c57eb22
uicksearchbox/ShortcutRepositoryImplLog.java
9cd13d913d2a212d2d022806c69ca5337663da37 18-Feb-2010 Bjorn Bringert <bringert@android.com> Merge "Use new assets"
a576b1abd602c08dcf0d470facc43fac0243b07c 18-Feb-2010 Bjorn Bringert <bringert@android.com> Use new assets

Updates these assets:
- Corpus selection dialog background, frame and arrow
- Icon for everything corpus
- Search button icon
- Corpus indicator background
- Corpus selection dialog item background

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

Change-Id: I59db3fae68daa286fe5f6d7060744b5a9f88d131
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/ui/CorporaAdapter.java
uicksearchbox/ui/CorpusIndicator.java
a48af083ff81555261f334a1e050eae3b02a746c 17-Feb-2010 Bjorn Bringert <bringert@android.com> Use one thread pool per corpus / source

This gets rid of the scary DelayingSourceTaskExecutor,
and adds PerNameExecutor instead.

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

Change-Id: I0e76e393d13d36fbb6762d2cf983e9fbdf9cfac8
uicksearchbox/AbstractSuggestionsProvider.java
uicksearchbox/BatchingSourceTaskExecutor.java
uicksearchbox/DelayingSourceTaskExecutor.java
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/QsbApplication.java
uicksearchbox/QueryThreadFactory.java
uicksearchbox/SingleCorpusSuggestionsProvider.java
uicksearchbox/SourceShortcutRefresher.java
uicksearchbox/SourceTask.java
uicksearchbox/SourceTaskExecutor.java
uicksearchbox/ThreadPoolSourceTaskExecutor.java
uicksearchbox/WebCorpus.java
uicksearchbox/util/BatchingNamedTaskExecutor.java
uicksearchbox/util/Factory.java
uicksearchbox/util/NamedTask.java
uicksearchbox/util/NamedTaskExecutor.java
uicksearchbox/util/PerNameExecutor.java
uicksearchbox/util/SingleThreadNamedTaskExecutor.java
1deedd1b555d724dced4632978bd659550c76d8b 17-Feb-2010 Doug Zongker <dougz@android.com> Merge "let build system assign eventlog tag ID numbers"
c5a3ecb62318a6be1d1a626a36b52829e989f740 17-Feb-2010 Bjorn Bringert <bringert@android.com> Make search widget corpus selection look like a dialog

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

Change-Id: Ia57ba9956b7c084435c7d145707c12a642977b05
uicksearchbox/ChoiceActivity.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/ui/CorporaAdapter.java
uicksearchbox/ui/CorpusViewFactory.java
uicksearchbox/ui/CorpusViewInflater.java
uicksearchbox/ui/SuggestionViewFactory.java
uicksearchbox/ui/SuggestionViewInflater.java
6824bf661c9d96a4ff38d0f0c2f1da81dc6f8ac3 17-Feb-2010 Doug Zongker <dougz@android.com> let build system assign eventlog tag ID numbers

Change-Id: Ie65789331ede656e5017858bfd6efba982eaad30
uicksearchbox/EventLogTags.logtags
e4f5c630a1c9cdf75fe751dc728729c3ecb7ae07 16-Feb-2010 Bjorn Bringert <bringert@android.com> Update search box and search button UI

Fixes http://b/issue?id=2442441
(Remove voice search icon in search box when user starts to type, and replace with GO/Search)

Partly fixes http://b/issue?id=2428233
(Reconcile Google and QSB branding across the platform)

Partly fixes http://b/issue?id=2380798
(New visual design for QSB)

Change-Id: I57c4fd6264376e1a4376009e8275e61fb6a87946
uicksearchbox/SearchActivity.java
27e267fea996b25ca130422cddcce0dd6e928ef7 16-Feb-2010 Bjorn Bringert <bringert@android.com> Don't dismiss corpus selection dialgo in onStop()

This seems to have been a faux pas.

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

Change-Id: I24ef8480e7bf73ad6dfb0719584bb223c67d7000
uicksearchbox/SearchActivity.java
c15f386b167efb3f7559f2f7ee362497040b7fe6 16-Feb-2010 Bjorn Bringert <bringert@android.com> Hide IME mic button if voice search is enabled for corpus

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

Change-Id: Ib74a86b03f97083eb0be2c4c6e1fcaaf17622774
uicksearchbox/SearchActivity.java
7a1f40b4189a7435fe7177e759fde9fd2d032574 16-Feb-2010 Bjorn Bringert <bringert@android.com> Handle exceptions in CursorBackedSuggestionCursor

All operations on the Cursor in CursorBackedSuggestionCursor have to
catch RuntimeException, to keep buggy suggestion providers from
crashing QSB.

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

Change-Id: I03951c2912e0a238412f676c9243012718577401
uicksearchbox/CursorBackedSuggestionCursor.java
1cc0657d6d881e7a976ee60bb57c999b100fce25 16-Feb-2010 Bjorn Bringert <bringert@android.com> Merge "Add unit tests for ShortcutRefresher"
20b0b9aed197e63fe6914f2891d6419a740691d6 16-Feb-2010 Bjorn Bringert <bringert@android.com> Merge "Dismiss corpus selection dialog when user leaves QSB"
41fe9d1fc461c42907250d44d3537909e4c46a7d 16-Feb-2010 Bjorn Bringert <bringert@android.com> Dismiss corpus selection dialog when user leaves QSB

Change-Id: If1fb9184aaf197592c88dca9b28458c965c6fe94
uicksearchbox/SearchActivity.java
04a180b52fb4100a2f3747e795fb5d26e3207a4a 16-Feb-2010 Bjorn Bringert <bringert@android.com> Add unit tests for ShortcutRefresher

I copied the tests from Eclair GlobalSearch, but had to modify
them heavily for the current API. I removed all source impression
testing, since we don't track impressions any more.

This change also includes some refactoring to make the
code testable.

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

Change-Id: I64b43149cf2614d61890550f11eb3eb0c24b3dbd
uicksearchbox/AbstractSuggestionCursor.java
uicksearchbox/AbstractSuggestionCursorWrapper.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/Launcher.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/QsbApplication.java
uicksearchbox/ShortcutRefresher.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/SourceShortcutRefresher.java
36b71e01958ae60471b2f33861e362dfe49119eb 16-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Fix a couple of bugs preventing DefaultCorpusRanker from sorting correctly.
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/ReverseComparator.java
fde948e69f59589cf0d217ea414af7947de600bb 11-Feb-2010 Bjorn Bringert <bringert@android.com> Merge Google and Browser sources and call them Web

This required a gigantic refactoring of QuickSearchBox to work nicely.

This change also reduces the number of promoted source to 3,
since Web is now one source instead of two.

As a side effect of the recatoring, VoiceSearch now searches
the selected corpus (fixes http://b/issue?id=2438309)

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

Change-Id: Ife8d40ef62ea004e8d0f20a60e9196fc589f01fc
uicksearchbox/AbstractCorpus.java
uicksearchbox/AbstractSourceSuggestionCursor.java
uicksearchbox/AbstractSuggestionCursor.java
uicksearchbox/AbstractSuggestionCursorWrapper.java
uicksearchbox/AbstractSuggestionsProvider.java
uicksearchbox/Config.java
uicksearchbox/Corpora.java
uicksearchbox/Corpus.java
uicksearchbox/CorpusRanker.java
uicksearchbox/CorpusResult.java
uicksearchbox/CorpusSelectionDialog.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/DefaultCorpusRanker.java
uicksearchbox/DelayingSourceTaskExecutor.java
uicksearchbox/EventLogLogger.java
uicksearchbox/EventLogTags.logtags
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/Launcher.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/ListSuggestionCursorNoDuplicates.java
uicksearchbox/Logger.java
uicksearchbox/PackageIconLoader.java
uicksearchbox/Promoter.java
uicksearchbox/QsbApplication.java
uicksearchbox/ReverseComparator.java
uicksearchbox/RoundRobinPromoter.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableCorpora.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSourceFactory.java
uicksearchbox/SearchableSources.java
uicksearchbox/SelectSearchSourceDialog.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/ShortcutRefresher.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/ShouldQueryStrategy.java
uicksearchbox/SingleCorpusSuggestionsProvider.java
uicksearchbox/SingleSourceCorpus.java
uicksearchbox/SingleSourceCorpusResult.java
uicksearchbox/SingleSourceSuggestionsProvider.java
uicksearchbox/Source.java
uicksearchbox/SourceFactory.java
uicksearchbox/SourceLookup.java
uicksearchbox/SourceResult.java
uicksearchbox/SourceTask.java
uicksearchbox/Sources.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionCursorWrapper.java
uicksearchbox/SuggestionPosition.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/WebCorpus.java
uicksearchbox/WebSource.java
uicksearchbox/ui/CorporaAdapter.java
uicksearchbox/ui/CorpusIndicator.java
uicksearchbox/ui/CorpusView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SearchSourceSelector.java
uicksearchbox/ui/SourceView.java
uicksearchbox/ui/SourcesAdapter.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionSelectionListener.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionViewFactory.java
uicksearchbox/ui/SuggestionViewInflater.java
uicksearchbox/ui/SuggestionsAdapter.java
uicksearchbox/ui/SuggestionsView.java
ecf32641692eaa5051065ac783b721da7469f91b 15-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Don't try to fetch text for missing Source descriptions.
uicksearchbox/SearchableSource.java
3d382f0ca49a8150d504cf2629124a7f13175e1e 12-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Ignore leading whitespace at the start of queries.
uicksearchbox/SearchActivity.java
c3032152502d17a3d5e700403a15b792429b2c6e 11-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Open queries that like like urls in the browser directly.
uicksearchbox/Launcher.java
27d3d4eb3b0414cf7001020d8ddcfdde81fd516b 09-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Order sources by total clicks, and only query numPromotedSources initially.

If after numPromotedSources complete we don't have enough results,
then query the next numPromotedSources and so on.
uicksearchbox/AbstractSuggestionsProvider.java
uicksearchbox/BatchingSourceTaskExecutor.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Suggestions.java
2617a0177a6088d5aaf381263229bf5a62d2238d 10-Feb-2010 Bjorn Bringert <bringert@android.com> Show corpus window on top of QSB when started from widget

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

Change-Id: I2dde658344df71eeed307938a4aba63671ceaf70
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SelectSearchSourceActivity.java
uicksearchbox/SelectSearchSourceDialog.java
uicksearchbox/ui/SearchSourceSelector.java
76b349110c4c88d27967695a432c6e23232ac9d0 10-Feb-2010 Dan Egnor <egnor@google.com> Pass a Context to AndroidHttpClient.getInstance(), to enable
persistent SSL session caching.
uicksearchbox/google/GoogleSuggestionProvider.java
8d9d845323514c34bb07d6eb91146a975324fced 10-Feb-2010 Bjorn Bringert <bringert@android.com> Use new SearchableInfo.getSettingsDescriptionId()

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

Change-Id: Ib946283c9150084136a6ef7cdaaa6a183dbf50b1
uicksearchbox/SearchSettings.java
uicksearchbox/SearchableSource.java
uicksearchbox/Source.java
3f71a11f8858b9164ca83e8d2f558dd8a8a5e2de 10-Feb-2010 Bjorn Bringert <bringert@android.com> 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: Idef59c61ce6e2d7c0dba491e125417745372ce2b
uicksearchbox/SearchActivity.java
uicksearchbox/google/GoogleSearch.java
b1bbf50ebdbb99b5fe0ae8080a804c0868f42549 06-Feb-2010 Vasu Nori <vnori@google.com> Change SQLiteDatabase.ConflictAlgorithm to constants CONFLICT_*
uicksearchbox/ShortcutRepositoryImplLog.java
53bf1409474f26ab0f3754ee9b4d2de901a6be00 04-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Respect the queryAfterZeroResults flag.

Bug: 2380814
uicksearchbox/AbstractSuggestionsProvider.java
uicksearchbox/ShouldQueryStrategy.java
0ccab5903ba2c64ec4cdd33dbcea91b1e279d556 03-Feb-2010 Bjorn Bringert <bringert@android.com> Allow user to pick corpus when adding search widget

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

Change-Id: I318b6cf30469e1058364e6ce9c4dd1b936536c67
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetConfigActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SelectSearchSourceActivity.java
uicksearchbox/ui/SearchSourceSelector.java
905f56c52d322c4fd74c9989d0c3c54337f1e741 02-Feb-2010 Jeff Hamilton <jham@android.com> Remove the usage of GoogleSettings.

Change-Id: Ia444793e799179c84ea239b7329701caf3cfc0cd
uicksearchbox/google/GoogleSearch.java
ca78085bb2127559e6f55276a307bfa857018eca 25-Jan-2010 Bjorn Bringert <bringert@android.com> Log QSB events to EventLog

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

Change-Id: I1522539e9038d5062522c17d38b61069a90fd7cc
uicksearchbox/AbstractSourceSuggestionCursor.java
uicksearchbox/EventLogLogger.java
uicksearchbox/EventLogTags.logtags
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/Logger.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableSource.java
uicksearchbox/SearchableSourceFactory.java
uicksearchbox/Source.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionPosition.java
uicksearchbox/WebSource.java
uicksearchbox/ui/SuggestionsAdapter.java
a3eaf30ad57e12e02470edbefe104c8e6d08fda8 03-Feb-2010 Bjorn Bringert <bringert@android.com> Merge "Remove source stickiness"
447226345392f2721d72bb1e2278b541448f3796 03-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Ensure that promoted results are updated when shortcuts change.

Bug: 2416313
uicksearchbox/Suggestions.java
3dc19e33e2d23cae793a770e12a2ab89379f4f3f 03-Feb-2010 Bjorn Bringert <bringert@android.com> Remove source stickiness

Change-Id: I178e72e47d0a49271dc44f8cb19cdaf06b66fabc
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SourceLookup.java
uicksearchbox/Sources.java
93f03d8f650c584b2a8a50a0b9be37764ae24822 03-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Make getInflater accessible to subclasses of SuggestionViewInflater.
uicksearchbox/ui/SuggestionViewInflater.java
19c4f6bad5eaff8bc7f8adcaa9909724202463a0 03-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Use unhidden updateWithOnConflict for refreshing shortcuts.
uicksearchbox/ShortcutRepositoryImplLog.java
4a1c1325ac4b141b1610faeba49f2f3e54772eb6 30-Jan-2010 Bjorn Bringert <bringert@android.com> Remove geolocation code from open-source QuickSearchBox

This code was not tested well, used a @hidden extra to pass location
to the browser, and did not prompt the user to
opt-in to sharing location. If we want location in the open-source
QuickSearchBox in the future, we should take the code from
GoogleQuickSearchBox.

Change-Id: Iab269a356c1020c424d346cb91c34723f90f96e3
uicksearchbox/google/GoogleSearch.java
uicksearchbox/google/LocationUtils.java
ac17ac866d6f543c3a136e1e2361c01004c6547e 29-Jan-2010 Bjorn Bringert <bringert@android.com> Update QSB visual design and branding

Change-Id: I0b0ee1fff121d3c825ff3d5d9379e4a076d9047d
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SelectSearchSourceActivity.java
uicksearchbox/ShortcutRepositoryImplLog.java
1e938ea2f5edefab446b9562b316bc5dc72adebb 24-Jan-2010 Bryan Mawhinney <bryanmawhinney@google.com> Show contact suggestions using QuickContactBadge.

Removes the idea of "secondary intents" previously used to achieve the same thing.
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/Launcher.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/SearchActivity.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/ui/ContactSuggestionView.java
uicksearchbox/ui/DefaultSuggestionView.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionViewFactory.java
uicksearchbox/ui/SuggestionViewInflater.java
uicksearchbox/ui/SuggestionsAdapter.java
af736c70f989ebd716e0e389a28c6604b218e14f 21-Jan-2010 Bjorn Bringert <bringert@android.com> Prepare Config for overriding

Change-Id: I3660649dfd7a3ee09f4a8cd23ce926b1392259d7
uicksearchbox/Config.java
uicksearchbox/QsbApplication.java
94e8a2be78530170f50e7895a558bf8011bbf8e8 18-Jan-2010 Bryan Mawhinney <bryanmawhinney@google.com> Implement refreshing of shortcuts in QSB.
uicksearchbox/AbstractSuggestionCursor.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchableSource.java
uicksearchbox/ShortcutCursor.java
uicksearchbox/ShortcutRefresher.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Source.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionPosition.java
uicksearchbox/Suggestions.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionsAdapter.java
7be9c66fdc2e4df2e998d79a11bcf737ffddc2dc 20-Jan-2010 Bjorn Bringert <bringert@android.com> Allow typing anywhere in QSB

Forwards key events from the suggestions list and the source selector
to the query text view.

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

Change-Id: Ib63c26cff2d9f7c716c59cb4e50a8eaa90d19929
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SearchSourceSelector.java
7b9d59cd76eecd7645072c6728e2faf9ff9e180a 20-Jan-2010 Bjorn Bringert <bringert@android.com> Suggestion selection and IME hiding fixes

Changes:

- Selecting a suggestion puts SuggestionCursor.getSuggestionDisplayQuery() in the search box.

- Moving back up to search box restores the user's query.

- DPAD left keeps selected query, focuses search box and move cursor to the start of the query.

- DPAD right keeps selected query, focuses search box and move cursor to the end of the query.

- Input method only hides when focus moves to suggestions.

- Input method shows up when moving focus back to query.

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

Change-Id: I0d1b7ce1bcc72d275d6cd57d75ee7f5c509fc5bc
uicksearchbox/SearchActivity.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionSelectionListener.java
uicksearchbox/ui/SuggestionsView.java
cef2c4c9d54f513babd74801dbed5cbf709b9b79 19-Jan-2010 Bjorn Bringert <bringert@android.com> Disable some QSB logspam

Change-Id: I6d75009c3273a88d80c7e3b661e70afcb3f49175
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/DelayingSourceTaskExecutor.java
uicksearchbox/RoundRobinPromoter.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/Suggestions.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionViewInflater.java
uicksearchbox/ui/SuggestionsAdapter.java
154017089860da89ec020ed37e502d194253cc67 19-Jan-2010 Bjorn Bringert <bringert@android.com> Respect SearchManager.EXTRA_SELECT_QUERY

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

Change-Id: Ib2c01210008c08ba5208414b3e3cfcb660749194
uicksearchbox/SearchActivity.java
ebce9ae87d3ced1a5176aa406090ff9d76950e86 19-Jan-2010 Bjorn Bringert <bringert@android.com> Remove TODOs from SearchActivity

I've filed bugs about the ones that weren't already implemented.

Change-Id: I65e929e714c2636464b6c304f6390edcd86dd1ea
uicksearchbox/SearchActivity.java
6a8622297b91cd88304ff4890160528a55827b19 18-Jan-2010 Bjorn Bringert <bringert@android.com> More clean-up needed by GoogleQuickSearchBox

- Use implicit intents to communicate between app components, to
allow them to be replaced.

- Use . prefix in manifest, to reduce the differences between
QuickSearchBox/AndroidManifest.xml and GoogleQuickSearchBox/AndroidManifest.xml

Change-Id: Ia81e9d6354accd6cba5c66274fe0d579059d2aa8
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SelectSearchSourceActivity.java
18c681a8ab3c5227fb536501572c96b92c914a07 15-Jan-2010 Bjorn Bringert <bringert@android.com> Shuffle web search stuff around to prepare for GoogleQuickSearchBox

- Move Google search classes under com.android.quicksearchbox.

- Change Google suggestion URI to one that doesn't look like
a class name. The suggestion URI has never been published, so it should
be fine to change.

- Put query in the URI path instead of a selection value.

Change-Id: Id177caf3d44ba9802cf3ba2d3187c00324eb6415
ooglesearch/GoogleSearch.java
ooglesearch/LocationUtils.java
ooglesearch/Settings.java
ooglesearch/SuggestionProvider.java
uicksearchbox/SearchableSourceFactory.java
uicksearchbox/google/GoogleSearch.java
uicksearchbox/google/GoogleSettings.java
uicksearchbox/google/GoogleSuggestionProvider.java
uicksearchbox/google/LocationUtils.java
2e302537aae36ff8cf2130a0a650095db8ce894c 14-Jan-2010 Bjorn Bringert <bringert@android.com> Prepare for easy package name change

After this change, the only places that should need editing
to change the package name are:

- AndroidMainfest.xml, package attribute
- tests/AndroidManifest.xml, package attribute and targetPackage
- tests/src/com/android/quicksearchbox/TestUtil.java

A change is also needed in Launcher / Launcher2 to remove the hardcoded
package name for the search widget provider.

Change-Id: Ic5f15cb9900843abac27d4b9c0a4bb360bc1bff9
uicksearchbox/SearchableSourceFactory.java
cec07f6776a01e811573653acb65f23a764fa55c 14-Jan-2010 Bjorn Bringert <bringert@android.com> Remove duplicate method Source.getSearchActivity().

It was the same as Source.getComponentName().

Change-Id: I60759517c3405cf3158cff55543eb23377bd36d4
uicksearchbox/AbstractSourceSuggestionCursor.java
uicksearchbox/SearchableSource.java
uicksearchbox/Source.java
e1fc4581ebab65220a82bcdb3272b4eb85453837 13-Jan-2010 Bjorn Bringert <bringert@android.com> Fix some uses of hidden stuff in QuickSearchBox

This is needed to allow compiling against the SDK. We can't quite compile
against the SDK yet, since there is some more hidden stuff to sort
out.

- Use android-common library to get AndroidHttpClient.

- Stop using SearchableInfo.getActivityContext() and
SearchableInfo.getProviderContext().

- Copy android.provider.Settings.Secure.isLocationProviderEnabled()
convenience method into the app.

- Stop using Resources.getCompatibilityInfo().

Change-Id: I92b08a4801798f305d04ea629a1f432ecf3ea833
ooglesearch/GoogleSearch.java
uicksearchbox/PackageIconLoader.java
uicksearchbox/SearchableSource.java
uicksearchbox/ui/SearchSourceSelector.java
uicksearchbox/ui/Util.java
ed5e6d200a04ad04a507ac3b6d2dee61d51a9c91 13-Jan-2010 Bjorn Bringert <bringert@android.com> Use SearchManager.INTENT_ACTION_GLOBAL_SEARCH

instead of Intent.ACTION_GLOBAL_SEARCH

Change-Id: I77a68ad1c5ef5a7317c3857f8cc6c007d9ce8ad4
uicksearchbox/SelectSearchSourceActivity.java
e72a6418e84a89d2bfd4e9d22282eca95357e0da 12-Jan-2010 Bjorn Bringert <bringert@android.com> Move GoogleSearch into QuickSearchBox

Copies the code from packages/apps/GoogleSearch, renaming
resources to avoid clashes.

GoogleSearch seems to have bitrotted, I had to change HttpPost
to HttpGet to avoid getting "405 Method Not Allowed".

This makes the existing packages/apps/GoogleSearch obsolete.

Change-Id: I01d416de40b7ba277e2a4192af8437b3840a19f6
ooglesearch/GoogleSearch.java
ooglesearch/LocationUtils.java
ooglesearch/Settings.java
ooglesearch/SuggestionProvider.java
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchableSourceFactory.java
uicksearchbox/SourceFactory.java
uicksearchbox/SourceLookup.java
uicksearchbox/Sources.java
abd33f7f8d8e56348a8a87bb9e7af491d83ee833 11-Jan-2010 Bjorn Bringert <bringert@android.com> Use source stats to order sources

This doesn't actually affect the ordering yet, since we aren't recording
impressions.

Change-Id: I6dcccc77cf5d0a6574cd5b74d57600d8abd62fba
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/SearchableSource.java
uicksearchbox/SelectSearchSourceActivity.java
uicksearchbox/SourceLookup.java
uicksearchbox/Sources.java
uicksearchbox/SuggestionCursor.java
816804b67619af133860a1e28e92f58bc642260d 11-Jan-2010 Bjorn Bringert <bringert@android.com> Reduce suggestions flicker, delay suggestions until non-empty

Change-Id: I1355b4ecbf76265d2d4f8cf596d8b4595db7b1c6
uicksearchbox/Config.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/ui/DelayingSuggestionsAdapter.java
uicksearchbox/ui/SuggestionsAdapter.java
84b72b7b9dacd54de9eff630dbbb37de372560f6 11-Jan-2010 Bjorn Bringert <bringert@android.com> Make search button search in selected app instead of web search

This is how the old QSB works, and it makes QSB single-source search more like
in-app search.

TODO: Should we do the same for voice search?

Change-Id: I61adaf500085f73534a71d42f8a20e3255157f60
uicksearchbox/Launcher.java
uicksearchbox/SearchActivity.java
d32d6753347e872aa5d9d6e9015ed7f24db3e362 08-Jan-2010 Bjorn Bringert <bringert@android.com> Remember last selected source, and show it in Launcher search widget

Change-Id: I775a1a3a757d5628ccc7c6fe8af6015ddd03e081
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableSource.java
uicksearchbox/SelectSearchSourceActivity.java
uicksearchbox/Source.java
uicksearchbox/SourceLookup.java
uicksearchbox/Sources.java
0484fb4d652bfa9d5c7fb238a7cec1a6f2244e44 08-Jan-2010 Bjorn Bringert <bringert@android.com> When a source is selected, query only that source.

Change-Id: Ic664cc4f4a6634af1e0bc5acc0818819fe874e41
uicksearchbox/AbstractSuggestionsProvider.java
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/LatencyTracker.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableSource.java
uicksearchbox/SelectSearchSourceActivity.java
uicksearchbox/SingleSourceSuggestionsProvider.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/ui/SuggestionsAdapter.java
9ad03a750a66b26441a19ff54b6057729c145eae 06-Jan-2010 Bjorn Bringert <bringert@android.com> Share SearchSourceSelector with SearchDialog

Uses the new SearchSourceSelector code in the home screen
search widget and the Quick Search Box activity. The code
is copied into the framework to also be used in SearchDialog.

Also:
- Implement instance state save/restore to retain the source selection and entered
query across configuration changes (e.g. device rotations).
- Better positioning of the source selection activity.

- TODO: More dynamic positioning of the source selection activity.

Change-Id: I31bd7b8479dc696c95106aa3dc8876ff67ef7d9a
uicksearchbox/DelayingSourceTaskExecutor.java
uicksearchbox/Launcher.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SelectSearchSourceActivity.java
uicksearchbox/SourceLookup.java
uicksearchbox/ui/SearchSourceSelector.java
uicksearchbox/ui/SourceSelector.java
uicksearchbox/ui/SuggestionViewFactory.java
uicksearchbox/ui/SuggestionViewInflater.java
uicksearchbox/ui/Util.java
970c3017a56be51401c4e5878d128c14f3bbf027 07-Jan-2010 Bjorn Bringert <bringert@android.com> Don't show shortcut in home screen widget

Disabling pending UI feedback.

Change-Id: Ib70ec7dd69f8732f8287df6b71c2f767be5e8eb0
uicksearchbox/SearchWidgetProvider.java
926c918379f0af3139cf442b9b45f96e06190be0 06-Jan-2010 Joe Onorato <joeo@android.com> Stop spamming the log
uicksearchbox/Sources.java
713194910648268c094fa81b81f40ce2f7e39333 18-Dec-2009 Bjorn Bringert <bringert@android.com> Use list UI with corpus selector

TODO: The corpus selection window has the wrong vertical position.
TODO: Suggestion icon clicks don't work.
TODO: The corpus selector does not show focused and pressed states.

Change-Id: I950308f5f32e11f39dabedfcacdd8e78701e6a57
uicksearchbox/SearchActivity.java
uicksearchbox/SelectSearchSourceActivity.java
uicksearchbox/SuggestionsView.java
uicksearchbox/ui/SourceSelector.java
uicksearchbox/ui/SourceView.java
uicksearchbox/ui/SourcesAdapter.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionCursorAdapter.java
uicksearchbox/ui/SuggestionListView.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionViewFactory.java
uicksearchbox/ui/SuggestionViewInflater.java
uicksearchbox/ui/SuggestionsAdapter.java
uicksearchbox/ui/SuggestionsView.java
uicksearchbox/ui/TabAdapter.java
uicksearchbox/ui/TabHandleView.java
uicksearchbox/ui/TabView.java
uicksearchbox/ui/Util.java
a866323cdf0be7ca28102a9af048cc651838f3cd 17-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ib1ace241

* changes:
Hide QSB widget drop-down when there are no shortcuts
e1f9f3068739f1e8c452c87f2fc1ebb7570d6fab 16-Dec-2009 Bjorn Bringert <bringert@android.com> Hide QSB widget drop-down when there are no shortcuts

Having an empty-drop down was confusing, I've already gotten
several questions about what it is.

Also: Use RemoteViews.addView() for shortcut in QSB widget
This makes it possible to add more than one shortcut,
and avoid inflating a suggestion view when there are
no shortcuts.

Change-Id: Ib1ace24197239d0cc424b4bcbfc48ea70209f400
uicksearchbox/SearchWidgetProvider.java
782dd228e78e9294692d639597f96c26283968bb 16-Dec-2009 Bjorn Bringert <bringert@android.com> Fix suggestion key, click and selection handling.

Typing on the suggestions list and pressing action keys
still doesn't work.

I also made SuggestionData mutable and got rid of the builder.
This this is only for tests anyway, it was annoying to have to
add every field in 6+ places in this class.

Change-Id: I17c287b217fc1a03567123ddbd48638657b2f5cf
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchableSource.java
uicksearchbox/Source.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionListView.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionsView.java
uicksearchbox/ui/TabView.java
185bb2e3881452c084fde44d9bee657f65881b0e 04-Dec-2009 Bjorn Bringert <bringert@android.com> Make tab order stable

- Overhauls suggestions handling to make tab order stable.

- Refactors SuggestionsView to split it into some
general tab components (TabView, TabAdapter), and
QSB-specific parts (SuggestionsView, SuggestionsAdapter,
SuggestionCursorAdapter).

- Moves UI code to .ui subpackage.

- Converts some error and warning logs to exceptions to make
them easier to find during development and dogfooding.

- Recycles suggestion views.

This code is currently pretty slow.

TODO: Don't populate views that aren't visible.
TODO: Delay update until the currently visible source reports.
TODO: Batch updates.

Change-Id: If42889d20499c34d94e1dc0acdc12a3ae53a23b0
uicksearchbox/BatchedDataSetObserver.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/QsbApplication.java
uicksearchbox/SearchActivity.java
uicksearchbox/SourceLookup.java
uicksearchbox/SourceResult.java
uicksearchbox/Sources.java
uicksearchbox/SuggestionView.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/SuggestionsView.java
uicksearchbox/ui/SuggestionClickListener.java
uicksearchbox/ui/SuggestionCursorAdapter.java
uicksearchbox/ui/SuggestionListView.java
uicksearchbox/ui/SuggestionView.java
uicksearchbox/ui/SuggestionViewFactory.java
uicksearchbox/ui/SuggestionViewInflater.java
uicksearchbox/ui/SuggestionsAdapter.java
uicksearchbox/ui/SuggestionsView.java
uicksearchbox/ui/TabAdapter.java
uicksearchbox/ui/TabHandleView.java
uicksearchbox/ui/TabView.java
d7a95801d20a9405b4ab9c9b4beecd106e880166 11-Dec-2009 Bryan Mawhinney <bryanmawhinney@google.com> Delay before updating the view when we have no suggestions.

This reduces flicker a little, and moving the delay here allows us to simplify Suggestions.
Also fixes a small bug where the spinner could keep spinning indefinitely.
uicksearchbox/BatchedDataSetObserver.java
uicksearchbox/Config.java
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/SearchActivity.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsView.java
135bb6330e8746e6ef09199512800e1106a33b3b 07-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I7df22592 into eclair-mr2

* changes:
Focus search box in onResume().
b32ee8f1b45c65daff18b40c0614cf18843b8c17 07-Dec-2009 Bjorn Bringert <bringert@android.com> Focus search box in onResume().

This fixes a problem where the search box is not focused when QSB
is first started. Since the text box is the only place you can type,
it seems reasonable that it is focused on every entry to the app,
even if returning using BACK and something else (button, suggestion)
was focused before.
uicksearchbox/SearchActivity.java
227180196cf8d92172cbb62f8ddaacf864be28e7 07-Dec-2009 Bjorn Bringert <bringert@android.com> Use SearchManager to get list of searchables

SerchableInfo and the methods that return it are not yet exposed, but they
will be soon.
uicksearchbox/SearchSettings.java
uicksearchbox/SearchableSource.java
uicksearchbox/Sources.java
uicksearchbox/framework/SearchManagerService.java
uicksearchbox/framework/SearchableInfo.java
uicksearchbox/framework/Searchables.java
uicksearchbox/framework/styleable.java
3e44ff1f2a204db3f479698cf0b3eab3d451dec2 03-Dec-2009 Bjorn Bringert <bringert@android.com> Import QuickSearchBox package from perforce.

This moves code from
//depot/google3/java/com/google/android/apps/quicksearchbox/...
The only changes done in the move are the package names
and the license headers.

The code does not yet build, since there is no Android.mk.

Change-Id: I768b06d211f5ee6ecd6f9777ba2839c09744fbf1
uicksearchbox/AbstractSourceSuggestionCursor.java
uicksearchbox/AbstractSuggestionCursor.java
uicksearchbox/CachingIconLoader.java
uicksearchbox/Config.java
uicksearchbox/CursorBackedSuggestionCursor.java
uicksearchbox/DelayingSourceTaskExecutor.java
uicksearchbox/GlobalSuggestionsProvider.java
uicksearchbox/IconLoader.java
uicksearchbox/LatencyTracker.java
uicksearchbox/Launcher.java
uicksearchbox/ListSuggestionCursor.java
uicksearchbox/ListSuggestionCursorNoDuplicates.java
uicksearchbox/PackageIconLoader.java
uicksearchbox/ProgressListener.java
uicksearchbox/Promoter.java
uicksearchbox/QsbApplication.java
uicksearchbox/QueryThreadFactory.java
uicksearchbox/RoundRobinPromoter.java
uicksearchbox/SearchActivity.java
uicksearchbox/SearchSettings.java
uicksearchbox/SearchWidgetProvider.java
uicksearchbox/SearchableSource.java
uicksearchbox/ShortcutPromoter.java
uicksearchbox/ShortcutRepository.java
uicksearchbox/ShortcutRepositoryImplLog.java
uicksearchbox/Source.java
uicksearchbox/SourceLookup.java
uicksearchbox/SourceResult.java
uicksearchbox/SourceTask.java
uicksearchbox/SourceTaskExecutor.java
uicksearchbox/Sources.java
uicksearchbox/SuggestionCursor.java
uicksearchbox/SuggestionPosition.java
uicksearchbox/SuggestionView.java
uicksearchbox/Suggestions.java
uicksearchbox/SuggestionsProvider.java
uicksearchbox/SuggestionsView.java
uicksearchbox/ThreadPoolSourceTaskExecutor.java
uicksearchbox/framework/SearchManagerService.java
uicksearchbox/framework/SearchableInfo.java
uicksearchbox/framework/Searchables.java
uicksearchbox/framework/styleable.java