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/SuggestionCursorProvider.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/SuggestionCursorProvider.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/SuggestionCursorProvider.java
|