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/tests/src/com/android/quicksearchbox/MockCorpus.java
|
53aab8c4459f45664d04ec882d67094c52b78695 |
|
06-Oct-2010 |
Bjorn Bringert <bringert@android.com> |
Replace Source.isWebSuggestionSource() with getMaxShortcuts() Change-Id: I7986d291f0608b231a9708caf691a97694cc011d
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/MockCorpus.java
|
f3f70e5ae88f06ff6dabdec9e7c71a19ca1e7108 |
|
04-Oct-2010 |
Bjorn Bringert <bringert@android.com> |
Allow corpora to be excluded from All but still enabled Also removes the obsolete isLocationAware() method. Bug: 3054864 Change-Id: I0fbf707a1a9932e0ccc886d48a6dadc500e87422
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.java
|
49fd8e0994577badc6194c2c3b5f771f2b793fe4 |
|
28-Jun-2010 |
Bjorn Bringert <bringert@android.com> |
Refactoring to make QSB more modular Change-Id: I3bd5444bdcf4ac62a921c8c921306cc17aa440dc
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.java
|
46dfa30d57af775e1baa8c0a211ac6614b4f6261 |
|
28-May-2010 |
Bjorn Bringert <bringert@android.com> |
Fix broken unit test Change-Id: I65f2784dfc6643ee22e7e6679b36f08e50d44766
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.java
|
04a180b52fb4100a2f3747e795fb5d26e3207a4a |
|
16-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Add unit tests for ShortcutRefresher I copied the tests from Eclair GlobalSearch, but had to modify them heavily for the current API. I removed all source impression testing, since we don't track impressions any more. This change also includes some refactoring to make the code testable. Fixes http://b/issue?id=2444660 Change-Id: I64b43149cf2614d61890550f11eb3eb0c24b3dbd
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/MockCorpus.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/tests/src/com/android/quicksearchbox/MockCorpus.java
|