History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/AbstractSource.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
77909685887bd6db7454b73cf274afc3aca2f58d 17-Nov-2010 Bjorn Bringert <bringert@android.com> Clean up suggestion layouts and fix spacing

This adds a special layout for web suggestions,
with fewer views, and moves all the web search suggestion specific
code out of DefaultSuggestionView.
It also gets rid of the per-source SuggestionViewFactories and creates
a global factory that delegates to other factories. This is to make
the choice of view dependent on the suggestion type instead of the
source.

Bug: 3202129
Bug: 3202115
Change-Id: Ie1963acd90bedda523f6c25c26b76b6a075b41af
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/AbstractSource.java
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/src/com/android/quicksearchbox/AbstractSource.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/src/com/android/quicksearchbox/AbstractSource.java
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/AbstractSource.java
848fa7a19abedc372452073abaf52780c7b6d78d 26-Jul-2010 Amith Yamasani <yamasani@google.com> Two-pane UI implemented.

Show query suggestions on the left and all other results on the right.

There is one major issue with this as it stands: *all* shortcuts currently
appear in the right pane. They need to be split between the left and right
pane as web results are (presumably).

Change-Id: I4b433fb319d9911a83ccd974493de246300a1ddc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/AbstractSource.java
25cbd7d054b92df1fe857d155ccc12f8191c12cf 29-Jul-2010 Mathew Inwood <mathewi@google.com> Shortcut improvements.

- Change the name of GoogleSource so it's the same as earlier versions of QSB.
- Allow a SearchableSource to decide if it's compatible with another version
of that source.
- Allow SearchableSources.createSearchableSource to be overridden

This means that web shortcuts will persist after upgrading QSB.

Change-Id: Ia0a6a63153ba4642cf1e4cb1f9c92063014c6d01
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/AbstractSource.java
49fd8e0994577badc6194c2c3b5f771f2b793fe4 28-Jun-2010 Bjorn Bringert <bringert@android.com> Refactoring to make QSB more modular

Change-Id: I3bd5444bdcf4ac62a921c8c921306cc17aa440dc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/AbstractSource.java