History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchableCorpusFactory.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
96fec862c3d494aebcb4e1d93589a241385a2ba7 21-Sep-2010 Bjorn Bringert <bringert@android.com> QSB settings overhaul

- Put Google and Phone search settings on the same screen.

- Use a local preference for SHOW_WEB_SUGGESTIONS instead
of the soon deprecated Settings.System.SHOW_WEB_SUGGESTIONS,
see http://b/issue?id=3021480

- Refactor settings code to get rid of un-mockable static methods.

- Define options menus in XML.

- Use DialogPreference for "Clear shortcuts" dialog.

Bug: 3017828
Change-Id: I198d19f8df809adfb91cc0df1f2b11998451cd6b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchableCorpusFactory.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/SearchableCorpusFactory.java
96c7058210699c82445169048b7c0fdfb16f59ee 28-May-2010 Bjorn Bringert <bringert@android.com> Add config resource for hiding corpora from corpus selector

This is required to support sources that add shortcuts, but
aren't really searchable, like Voice Search.

Change-Id: I9bc1c244848f970ac698b722257000d0f937d025
Bugs: http://b/issue?id=2678486 and http://b/issue?id=2678067
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchableCorpusFactory.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/SearchableCorpusFactory.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/SearchableCorpusFactory.java
72f9b08ce84d0e13daf2d1c112d4e6d1d3ada045 09-Mar-2010 Bjorn Bringert <bringert@android.com> Use a separate thread pool for Web corpus, to avoid deadlock

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

Change-Id: I228d77a3ead794c7922d42fd51ff068f57dab40e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchableCorpusFactory.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/SearchableCorpusFactory.java
574cc4c7b12a766644353800e749719085badcf6 03-Mar-2010 Bjorn Bringert <bringert@android.com> Use a custom corpus class for Apps

This is in preparation for adding Market search to it,
and also fixes the missing Apps search hint.

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

Change-Id: Ia278519abddface4457680469ab7c011e0d77468
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchableCorpusFactory.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/SearchableCorpusFactory.java
dbdffd8316e75bc2813dbbcbef13d357970e8c84 23-Feb-2010 Bjorn Bringert <bringert@android.com> Add missing pieces for suggestions footer change.

This should have been part of I332c0566fedecccaae194304310c1f13d7201e2d
but I missed a git commit

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