History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3109221113ff01d16dfa7d0844f93dccb7dd643b 07-Dec-2010 Bjorn Bringert <bringert@android.com> Don't shortcut typed searches

Typed searches are now always web searches, and we shouldn't
use shortcuts for any web searches, to simplify the history
experience.

Bug: 3261145
Change-Id: I2d050a4de535af07ee8d16a77177c4dbd503618e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.java
34955d44dddabfc672a26263363190f971c337a8 02-Nov-2010 Mathew Inwood <mathewi@google.com> Remove 'Show web suggestions' from Search Settings.

Bug: 3145966
Dependant on change: Ida30fb0340f865057893045bb5a8faffac1d8ceb
Change-Id: Ia86b69c761e79a5a668cb2eeb34972f2acd9ee0e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.java
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/WebCorpus.java
848fa7a19abedc372452073abaf52780c7b6d78d 26-Jul-2010 Amith Yamasani <yamasani@google.com> Two-pane UI implemented.

Show query suggestions on the left and all other results on the right.

There is one major issue with this as it stands: *all* shortcuts currently
appear in the right pane. They need to be split between the left and right
pane as web results are (presumably).

Change-Id: I4b433fb319d9911a83ccd974493de246300a1ddc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.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/WebCorpus.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/WebCorpus.java
3cb8178193a41f6c74ee396c318385a50dd624e1 15-Jun-2010 Mathew Inwood <mathewi@google.com> Minor logging improvement & bugfixing.

Changed startup logging to include time takent to get the list of shortcuts. Also, changes to support bug 2758788.

Change-Id: Idd0c28910893619b9dc6e176b94f11daaba26caf
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.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/WebCorpus.java
0be2eb803011b1ef8c2c8277c330fe5ad975316b 12-May-2010 Bjorn Bringert <bringert@android.com> Use explicit intent when starting typed web search

This avoids a chooser dialog if both open-source QSB and GoogleQSB
are installed.

Bug: http://b/issue?id=2662308
Change-Id: I96956033cbbb8da7cc15ee57d863b3795160f85c
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.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/WebCorpus.java
b5fc08b7f16a32d3865f44b7f26d8aaa5304a2ad 19-Mar-2010 Bjorn Bringert <bringert@android.com> Disable debug logging and remove unused imports and classes

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

Change-Id: I2416c9b6c1b9e819ec17d7954b6b70bf106f0414
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.java
dbda78401b4b25ac1da77b2db75f0657f2705b1d 16-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Don't send 0 length queries to the browser.

Change-Id: Iedac00f92d5567f97afff2df879421183a5070fc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.java
2353e9c002c45c0adc8a979a49ff317cae5838b8 15-Mar-2010 Bjorn Bringert <bringert@android.com> Use resource names in stored shortcut icons URIs

This makes the URIs in shortcuts for suggestions produced
by QSB stable across upgrades (as long as the resource names
don't change).

http://b/issue?id=2513568

Change-Id: I17a8c06fcbc36f439c0751bb4dd0cb8789cb5e6b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.java
f95ce100dcbc77794b79b0187c566bb58b5978d3 11-Mar-2010 Bjorn Bringert <bringert@android.com> Logging improvements and better corpus selector handling

- Log latency for a fraction of corpus suggestion requests.

- Don't log qsb_start when choosing a corpus in the corpus
selector.

- Log qsb_exit when leaving QSB without doing a search, voice search
or clicking a suggestion.

- Create corpus selector dialog directly, instead of it being a
a managed dialog.

Change-Id: I2db3b4fa7b20cef339aff5715c72c9846103c9f8
Bugs: http://b/issue?id=2415859 and http://b/issue?id=2506462
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.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/WebCorpus.java
13ace1d0d0fa7e4c7aa7898a828763d8880db463 06-Mar-2010 Bjorn Bringert <bringert@android.com> Honor "show web suggestions" in QSB (again)

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

Change-Id: Ic3fcdb619d0a24b8985d2cbbfa7b47f1191d090c
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.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/WebCorpus.java
dfabb7cfae91f6af3b5a9a9584cdec5557d1fceb 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Update to reflect android-common no longer in framework.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.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/WebCorpus.java
c29c9f854db8fa0c85f17cc32bae33dc17c6b127 23-Feb-2010 Bjorn Bringert <bringert@android.com> Create shortcuts from web searches

Web searches and URLs entered in the All and Web corpora
now create shortcuts that show up in All.

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

Change-Id: I269fcf93590d2335e10d43255b8989ffd4103f5b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.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/WebCorpus.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/WebCorpus.java
bd92263c4f8df5e68e9d806167534e7067a5e5ed 23-Feb-2010 Bjorn Bringert <bringert@android.com> Honor the "show web suggestions" setting

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

Change-Id: I39a6c0423156892752a1dc4f24e48d582f59fccf
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/WebCorpus.java
a48af083ff81555261f334a1e050eae3b02a746c 17-Feb-2010 Bjorn Bringert <bringert@android.com> Use one thread pool per corpus / source

This gets rid of the scary DelayingSourceTaskExecutor,
and adds PerNameExecutor instead.

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

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