History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/RankAwarePromoter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
27691bfcdcf3d2918b45bfadd57b08547c317ce5 17-Nov-2010 Mathew Inwood <mathewi@google.com> Some refactoring and tidyig up.

Improvements to AbstractPromoter and AbstractSuggestionExtras
to support changes in GoogleQSB.

Change-Id: I2c266e5239c914203b973bce15877d56d01729e5
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/RankAwarePromoter.java
af1ca2cc65a2c2fdf6f396126e235d64e4da0936 16-Nov-2010 Mathew Inwood <mathewi@google.com> Only show shortcuts in the first cluster.

Now, the top 3 shortcuts are displayed in the first cluster
in the right hand pane. If there are less than 3 shortcuts
in the DB, the first cluster will have less than 3 items in
it.

Bug: 3162608
Change-Id: I833cc99d75742b6260c3f770d2c061f39b67d644
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/RankAwarePromoter.java
9a8c6b416ac7ab00998d3496226712f1d442838f 12-Nov-2010 Peter Visontay <pvisontay@google.com> Fixed a bug that caused RankAwarePromoter return fewer results
when it promoted something that had already been promoted due
to a shortcut to it. Added test case testing this scenario.

Also refactored RankAwarePromoter to make it easier to
understand its ranking logic.

Change-Id: I8f7baabf233b35162871dc0f589f7b6c4db72d20
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/RankAwarePromoter.java
fdb80c2962c88ac62dcd7ee7f2fab1857b61506b 18-Oct-2010 Mathew Inwood <mathewi@google.com> Add option to limit suggestions displayed by space available.

This effectively makes the suggestions list non-scrollable, by
limiting the number of suggestions to the number that can fit in the
available space.

Also fixed an issue in RankAwarePromoted whereby it would promote too
many suggestions if the promoted list was non-empty before hand.

Bug: 3086387

Change-Id: Iae5740fbd32b104c73b1b7dbf446c7e61a3e2e6a
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/RankAwarePromoter.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/src/com/android/quicksearchbox/RankAwarePromoter.java
4572856ac85bb53ea06e65d00beebdf336af9b27 16-Aug-2010 Mathew Inwood <mathewi@google.com> Filter shortcuts between the two panes, and other fixes.

Shortcuts are now split between the two panes in the same way as other
suggestions. Some problems with suggestions filtering have also been fixed,
which sometimes resulted in crashes. Other stuff:
- renames some classes for clarity
- renames some test code
- other tidying up and removal of dead code.

Change-Id: I75e22fe09340d3f31d79dfa29dc00fcf42b877ca
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/RankAwarePromoter.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/RankAwarePromoter.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/RankAwarePromoter.java
39bbcdc1a485ded93059de4a3f70bfda85e9f304 17-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Various changes to shorcut promotion logic.

- Default services are always shown before non-default
- All default sources must respond before non default are called
- The top slots above the keyboard are shared by any default source results.

Change-Id: I59c9dad0fac1f9664b5f40cc32cc38fb42507fb2
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/RankAwarePromoter.java
82bcf002f2f736afcd6cb548c19aa4e8ac12b421 04-Mar-2010 Bjorn Bringert <bringert@android.com> Use actual set of promoted corpora in suggestion promoter

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

Change-Id: I9de5b09eadf168377e7c7b2f11ce9ae247129f70
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/RankAwarePromoter.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/RankAwarePromoter.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/RankAwarePromoter.java
a4cd9e7cdd5bdc6198ce73eed55696554a146514 19-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Consider corpora rankings when choosing results to promote.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/RankAwarePromoter.java