History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3540e5a9eab6ff33e6d45f1d908bcaf4c4f49152 26-Oct-2010 Bjorn Bringert <bringert@android.com> Clear suggestions when query is cleared

Bug: 3130934
Change-Id: Idc9c2413431a6d7be67c10619cadcd2db1d32058
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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/SuggestionsProviderImpl.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/SuggestionsProviderImpl.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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/SuggestionsProviderImpl.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.java
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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.java
b6ff9838c8cdd4d63cdf11c5237eabd9b79966bb 04-Jun-2010 Mathew Inwood <mathewi@google.com> Prevent shortcuts from non-selected corpora from showing in search activity.

Change-Id: I2c5c0b05553646047021903a2f04f626f2503d33
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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/SuggestionsProviderImpl.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/SuggestionsProviderImpl.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/SuggestionsProviderImpl.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.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/SuggestionsProviderImpl.java
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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionsProviderImpl.java
e6f46632869a288c82b75187af166931f82a6e12 12-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Show shortcuts in corpus-specific mode.

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