History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ShortcutsProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ShortcutsProvider.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/ShortcutsProvider.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/ShortcutsProvider.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/ShortcutsProvider.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/ShortcutsProvider.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ShortcutsProvider.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ShortcutsProvider.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
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ShortcutsProvider.java