History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ShouldQueryStrategy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/ShouldQueryStrategy.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/ShouldQueryStrategy.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/ShouldQueryStrategy.java
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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ShouldQueryStrategy.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/ShouldQueryStrategy.java
53bf1409474f26ab0f3754ee9b4d2de901a6be00 04-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Respect the queryAfterZeroResults flag.

Bug: 2380814
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ShouldQueryStrategy.java