History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Source.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
25cbd7d054b92df1fe857d155ccc12f8191c12cf 29-Jul-2010 Mathew Inwood <mathewi@google.com> Shortcut improvements.

- Change the name of GoogleSource so it's the same as earlier versions of QSB.
- Allow a SearchableSource to decide if it's compatible with another version
of that source.
- Allow SearchableSources.createSearchableSource to be overridden

This means that web shortcuts will persist after upgrading QSB.

Change-Id: Ia0a6a63153ba4642cf1e4cb1f9c92063014c6d01
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Source.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/Source.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/Source.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/Source.java
839a9fd2828f37c9dc8345f93aefa5b8ad2f857f 17-Jun-2010 Bjorn Bringert <bringert@android.com> Drop "query jamming" feature from QSB

Before, QSB put the text of web suggestions in the query field when
selecting a suggestion with the DPAD or trackball. The code for this
was complex and error-prone (see for example http://b/issue?id=2515755
and http://b/issue?id=2748984). Now there is an on-screen button to
put the suggestion text in the query field. Thus we should remove this
feature.

Bug http://b/issue?id=2776271

Change-Id: Iebafc24cffca0c7cf113e426564ad22bb93da738
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Source.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/Source.java
7a9b12c46680a5b88b5d9fcbcc553d0d5b74cb63 29-Mar-2010 Bjorn Bringert <bringert@android.com> Remove unused action key methods

The action key interface will not be exposed in Froyo,
and we weren't using these methods anyway.

Bug http://b/issue?id=2553524

Change-Id: I326e6784e232b303166b315314bb463ecae09941
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Source.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/Source.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/Source.java
5691f9062b2a558ba39c700d65bc522d397ebc75 25-Feb-2010 Bjorn Bringert <bringert@android.com> Show "Google" hint for Web and All, source hint for others

Also, show cursor when query text field is empty.

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

Change-Id: I521f684e3c7487cd6003ca309b684c221b96e619
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Source.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/Source.java
8d9d845323514c34bb07d6eb91146a975324fced 10-Feb-2010 Bjorn Bringert <bringert@android.com> Use new SearchableInfo.getSettingsDescriptionId()

Part of http://b/issue?id=2175247

Change-Id: Ib946283c9150084136a6ef7cdaaa6a183dbf50b1
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Source.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/Source.java
94e8a2be78530170f50e7895a558bf8011bbf8e8 18-Jan-2010 Bryan Mawhinney <bryanmawhinney@google.com> Implement refreshing of shortcuts in QSB.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Source.java
cec07f6776a01e811573653acb65f23a764fa55c 14-Jan-2010 Bjorn Bringert <bringert@android.com> Remove duplicate method Source.getSearchActivity().

It was the same as Source.getComponentName().

Change-Id: I60759517c3405cf3158cff55543eb23377bd36d4
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Source.java
d32d6753347e872aa5d9d6e9015ed7f24db3e362 08-Jan-2010 Bjorn Bringert <bringert@android.com> Remember last selected source, and show it in Launcher search widget

Change-Id: I775a1a3a757d5628ccc7c6fe8af6015ddd03e081
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Source.java
782dd228e78e9294692d639597f96c26283968bb 16-Dec-2009 Bjorn Bringert <bringert@android.com> Fix suggestion key, click and selection handling.

Typing on the suggestions list and pressing action keys
still doesn't work.

I also made SuggestionData mutable and got rid of the builder.
This this is only for tests anyway, it was annoying to have to
add every field in 6+ places in this class.

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