History log of /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/PackageIconLoaderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
516781305d7427e79928c95c6ea2b7689a4bf6ce 20-Oct-2010 Mathew Inwood <mathewi@google.com> Improve PackageIconLoader thread handing.

It now used a NamedTaskExecutor, to ensure that threads don't get
leaked when the sources are recreated.

Dependant on change: I68c047ca9d96432dcf90e79bfc2195aaab48b0b9

Change-Id: Ia92f1e8feb920f7a2a5e31c984fc11e826828eff
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/PackageIconLoaderTest.java
e29d52aa72c96c3147fa91d83aeb8dafc6d1f578 08-Oct-2010 Mathew Inwood <mathewi@google.com> Load icons from other processes in a seperate thread.

This protects againts the process not responding, which previously caused QSB to
lock up. We also protect against the process throwing an exception in the same
case.

This change causes some icons to load after the suggestions are displayed. For
example, contact photos are displayed shortly after the contacts show, but the
quick contact badge is visible immediately. This only happens for suggestions
with content:// URIs for the icons.

Bug: 3064103

Change-Id: I23f36a82d381ea76897d65fe2f3ec46f6642b7d5
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/PackageIconLoaderTest.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/PackageIconLoaderTest.java
e1fc4581ebab65220a82bcdb3272b4eb85453837 13-Jan-2010 Bjorn Bringert <bringert@android.com> Fix some uses of hidden stuff in QuickSearchBox

This is needed to allow compiling against the SDK. We can't quite compile
against the SDK yet, since there is some more hidden stuff to sort
out.

- Use android-common library to get AndroidHttpClient.

- Stop using SearchableInfo.getActivityContext() and
SearchableInfo.getProviderContext().

- Copy android.provider.Settings.Secure.isLocationProviderEnabled()
convenience method into the app.

- Stop using Resources.getCompatibilityInfo().

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