History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ecf356c15143ab0583c64682de16d94a57f7dd1c 20-Sep-2013 Mathew Inwood <mathewi@google.com> Remove content provider querying from the search app.

The global search API that is used for this is being deprecated, since it
has long been beset by performance problems. Remove all related code from
the search app.

Bug: 10487397

Change-Id: Ifa91b50d784cb469cb39d6008284aa44ff54e62b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
5229b06f00d20aac76cd8519b37f2a579d61c54f 01-Oct-2010 Mathew Inwood <mathewi@google.com> Support for custom suggestion views.

Each Source can now define its own view factory to be used to display
suggestions from that source. Suggestions now also support extras (extra
columns in the cursor) that can be displayed in a custom suggestion layout.

Change-Id: Ie8dcedbbccfe7673804703adc8fabaae467626d9
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
b42184f1e6a1b7bb22797ff92cae696753aca770 20-Aug-2010 Bjorn Bringert <bringert@android.com> Get shortcuts asynchronously.

Other shortcut repository queries are still done on the main thread.
I'll fix that in spearate changes.

Bug: http://b/issue?id=2706190
Bug: http://b/issue?id=2892691
Change-Id: I7a6429afa876364a8609f80b448a1df0b5a65e3c
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.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/SuggestionCursor.java
014e0d0c0a5102b7cc1c5576a3af25a646731dd0 24-Jun-2010 Bjorn Bringert <bringert@android.com> Show web suggestions as fullscreen IME completions.

Bug: 2671161

Change-Id: Ie2afcb90929970ef08f40e8ad91d37078f17bde2
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.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/SuggestionCursor.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/SuggestionCursor.java
145693e12b77c193a65b7eaa038a272dd1f48f33 22-Apr-2010 Bjorn Bringert <bringert@android.com> Add query refine button to query suggestions

Also allows suggestions with no text2 to use 2 lines for
text1, to better support the long queries that query refinement
works best for.

Bug: http://b/issue?id=2290886
Change-Id: I253f2a770f490ee76524b07eae8907a2f22f63fe
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
62adab88055fd0ef6779242245cdc8c3ae5f999c 05-Mar-2010 Bjorn Bringert <bringert@android.com> More refactoring to enable Apps+Market source

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

Change-Id: I3d4bae54e55ade6901fb9d061ada226efd098549
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
87e947cbd9f279a83337900ff8bbd5ab0a8dc455 02-Mar-2010 Bjorn Bringert <bringert@android.com> Fix moveToPosition() error in RankAwarePromoter

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

Change-Id: I1c8ac3a0037d130b47edbf7b9ac5c818aa0cf804
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
dbce1abe91200e83a41bcd95aaf5ea89496e5e48 02-Mar-2010 Bjorn Bringert <bringert@android.com> Store suggestion log type in shortcut repository

Change-Id: I24436d41e4de8f63c5b9e5a4edab5146ac5678ae
Fixes: http://b/issue?id=2480280
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
965d98377ddfdc52b772c2444d840000b665e000 01-Mar-2010 Bjorn Bringert <bringert@android.com> Support SUGGEST_COLUMN_TEXT_2_URL

Part of the fix for http://b/issue?id=2380681

Change-Id: Ifd03bdc9a466e8159724ffeba6642ee260d58920
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
883c1bf364e38c5b133afb55f8493a14b65f4dd4 19-Feb-2010 Bjorn Bringert <bringert@android.com> Add a suggestions footer view

Also, refactor source and corpus creation. This turned out not
to be needed to fix the bug, but I think it was a good thing anyway.

Also, include a suggestion type in the qsb_click log.
This is only set for Genie suggestions at the moment.

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

Change-Id: I332c0566fedecccaae194304310c1f13d7201e2d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.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/SuggestionCursor.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/SuggestionCursor.java
1e938ea2f5edefab446b9562b316bc5dc72adebb 24-Jan-2010 Bryan Mawhinney <bryanmawhinney@google.com> Show contact suggestions using QuickContactBadge.

Removes the idea of "secondary intents" previously used to achieve the same thing.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
94e8a2be78530170f50e7895a558bf8011bbf8e8 18-Jan-2010 Bryan Mawhinney <bryanmawhinney@google.com> Implement refreshing of shortcuts in QSB.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SuggestionCursor.java
abd33f7f8d8e56348a8a87bb9e7af491d83ee833 11-Jan-2010 Bjorn Bringert <bringert@android.com> Use source stats to order sources

This doesn't actually affect the ordering yet, since we aren't recording
impressions.

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