History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SourceShortcutRefresher.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/SourceShortcutRefresher.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/SourceShortcutRefresher.java
6855d589830271a191c1220bf3cb8bf35ae0ec58 10-Mar-2010 Bjorn Bringert <bringert@android.com> Fix shortcut refreshes that delete shortcuts

Fixes http://b/issue?id=2499859 (I hope)

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