History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
d2ad41eabb20e9407003a1b6e894c5c9ad0498b9 08-May-2012 Bjorn Bringert <bringert@android.com> Use Guava 11.0.2 in QSB

Bug: 6457759
Change-Id: I7fe74e9e09ca722b5be4a90eb71d1c763395e715
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
56f7e5cd8a8e4b7997a75f66d8263aa0f83eeab6 24-Jan-2011 Mathew Inwood <mathewi@google.com> Proper Honeycomb SDK version check.

Bug: 3174675
Change-Id: I7aeef30373a6898b31bfacb50fabd9396942097a
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
71f9f8ccd3c12d7d48e2fee4c55cd57e1970b797 19-Jan-2011 Bjorn Bringert <bringert@android.com> Support context-sensitive help

Bug: 3154500
Change-Id: Iafc5e652cef2cee87db4ca18150b2288a9c75c35
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
8b2936607176720172aee068abc5631bdf77e843 12-Oct-2010 Bjorn Bringert <bringert@android.com> Added strawman tablet corpus selection UI

Bug: 3053103
Change-Id: Iaca9605fe88c53581ef20a79d07724fc4bfd5e8b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
f165f2d6c6f8173b94937ae3202f0b638348dffd 23-Aug-2010 Bjorn Bringert <bringert@android.com> Don't limit shortut count in single-corpus mode.

Bug: 2936385

Change-Id: Ia16a327d7e9d762a9d62795fca9c3c8c5b25e03b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
b83882b9efa37ec0f20a0f1c85cf5ccc93194aee 19-Aug-2010 Bjorn Bringert <bringert@android.com> Move Promoter to SuggestionsAdapter to have a single Suggestions object

Change-Id: Ie0521f7a8427015d394c442a4b6d31b96d91d85b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
69494b842a3f907164a457852c385f86dbe71d15 22-Jul-2010 Bjorn Bringert <bringert@android.com> Distinguish internal and external web suggestion queries

Bug: 2858489
Change-Id: I57f31ffcd92c45d35fb6af5000dada11472e7a01
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
b5560dbe16a8fb3148b0fb24c73836bf2e84dd61 14-Jul-2010 Mathew Inwood <mathewi@google.com> Basic support for automated UI testing.

Change-Id: I30cac526467958c9a25ee10a34f1e250157e0ac5
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
49fd8e0994577badc6194c2c3b5f771f2b793fe4 28-Jun-2010 Bjorn Bringert <bringert@android.com> Refactoring to make QSB more modular

Change-Id: I3bd5444bdcf4ac62a921c8c921306cc17aa440dc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
1aef21f8a84380351c7dd7c9bf66f80659d0d42e 27-May-2010 Mathew Inwood <mathewi@google.com> Refactored & simplified header/footer handling in SearchActivity.

Change-Id: I225e0d1b84ab7bc9ae0707cd1ff53fa00d1c1ba4
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
a4cd9e7cdd5bdc6198ce73eed55696554a146514 19-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Consider corpora rankings when choosing results to promote.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
ca78085bb2127559e6f55276a307bfa857018eca 25-Jan-2010 Bjorn Bringert <bringert@android.com> Log QSB events to EventLog

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

Change-Id: I1522539e9038d5062522c17d38b61069a90fd7cc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
af736c70f989ebd716e0e389a28c6604b218e14f 21-Jan-2010 Bjorn Bringert <bringert@android.com> Prepare Config for overriding

Change-Id: I3660649dfd7a3ee09f4a8cd23ce926b1392259d7
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
94e8a2be78530170f50e7895a558bf8011bbf8e8 18-Jan-2010 Bryan Mawhinney <bryanmawhinney@google.com> Implement refreshing of shortcuts in QSB.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
816804b67619af133860a1e28e92f58bc642260d 11-Jan-2010 Bjorn Bringert <bringert@android.com> Reduce suggestions flicker, delay suggestions until non-empty

Change-Id: I1355b4ecbf76265d2d4f8cf596d8b4595db7b1c6
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java
0484fb4d652bfa9d5c7fb238a7cec1a6f2244e44 08-Jan-2010 Bjorn Bringert <bringert@android.com> When a source is selected, query only that source.

Change-Id: Ic664cc4f4a6634af1e0bc5acc0818819fe874e41
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/QsbApplication.java