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/ListSuggestionCursor.java
|
120040ef31d79c1d69138b13ca7f256841f3298e |
|
12-Aug-2010 |
Mathew Inwood <mathewi@google.com> |
Fix the tests. Most of the failures were caused by proguard being more aggressive by the look of it. Added some @VisibleForTesting's fixes those. Also some failured caused by the move to a 2-pane UI breaking assumptions made in the tests. Depends on change: I595127d00d4800e244ede57bfc475ddfc8521389 Change-Id: I335c637ab6818e173c1efe60cfd6d23bee7b1589
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ListSuggestionCursor.java
|
9038d65a5a8ebcfada1ec3067f81a26f05622088 |
|
11-Aug-2010 |
Mathew Inwood <mathewi@google.com> |
Only refresh shortcuts that are displayed in the UI. Change I6413d82f9051bb64487c65817bfbcdea0f0c3097 introduced a problem whereby *all* the shortcuts were updated, as the shortcut repository did not filter them, and it refreshed all the shortcuts it returned. Now, the refreshing is started after the suggestion promotion stage, so that only shortcuts that are actually displayed in the suggestions list will be refreshed. This results in far fewer refreshes and database updates (which can be time consuming). Change-Id: I4b4cac522d12a4e304ddebfca7466f670cc3811b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ListSuggestionCursor.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/ListSuggestionCursor.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/ListSuggestionCursor.java
|
bf61e445cbe423cc2554b722b6dd38675015c36d |
|
03-Mar-2010 |
Bjorn Bringert <bringert@android.com> |
Only consider enabled corpora for promotion (doh!) Before, all corpora, not just enabled ones, where considered for promotion in RankAwarePromoter. This had the effect that web was the only promoted source ever to be queried. Also adds a lot of debug printing that helped track this down. Fixed in http://b/issue?id=2486251 Change-Id: Ia739111b2ab1bf2c5aba8dd1eca29614ca20c407
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ListSuggestionCursor.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/ListSuggestionCursor.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/src/com/android/quicksearchbox/ListSuggestionCursor.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/ListSuggestionCursor.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/ListSuggestionCursor.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/ListSuggestionCursor.java
|
94e8a2be78530170f50e7895a558bf8011bbf8e8 |
|
18-Jan-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Implement refreshing of shortcuts in QSB.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ListSuggestionCursor.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/ListSuggestionCursor.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/ListSuggestionCursor.java
|