History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ecf356c15143ab0583c64682de16d94a57f7dd1c 20-Sep-2013 Mathew Inwood <mathewi@google.com> Remove content provider querying from the search app.

The global search API that is used for this is being deprecated, since it
has long been beset by performance problems. Remove all related code from
the search app.

Bug: 10487397

Change-Id: Ifa91b50d784cb469cb39d6008284aa44ff54e62b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
3bcf2de0b52d088a928f0efe962608baa9cc1e39 18-Jan-2011 Bjorn Bringert <bringert@android.com> New search history removal confirmation UI

Before, this was a context menu, but that doesn't allow
OK and Cancel buttons. Now we use an AlertDialog instead
of a ContextMenu.

Bug: 3141702
Change-Id: I41d67d8db673c8d9d66dee8aedf2757bf89cd8be
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
1cbbe20d1c148a7966a0b69b01b705da9e491de1 10-Dec-2010 Mathew Inwood <mathewi@google.com> Fix bug in AsyncIconLoader.

Icons from different packages, but with the same resource id, could
have been displayed incorrectly when views were recycled before.
Now we ensure that the IDs used are always unique.

Bug: 3265363
Change-Id: If6bf1a7004afecb33b9ff0ce052ce5d37a7b6e3e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
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/ui/DefaultSuggestionView.java
7a0c3a7c6fdabce949b59e0a2c6ec1d44a140c24 12-Nov-2010 Mathew Inwood <mathewi@google.com> Cluster results by suggestion type.

This uses a ExpandableListView for results, with the first
group showing promoted suggestions, and the remaining groups
showing all suggestions by corpus type.

Bug: 3162608
Dependant on change: I579339ca208a83ecb9813175da7b8afbb3aa3c9f
Change-Id: I20fbc3945a8b89e8d94287856874cdee561542e6
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
fd4a4cbc1143a734d357897531daa7105db6459b 11-Nov-2010 Mathew Inwood <mathewi@google.com> Refactor suggestions adapters for clustering of results.

This allows an alternative SuggestionsView to be based on an
ExpandableListView instead of a regular list view.

Skeleton ExpnadableListView based classes added, but not functional
yet.

Bug: 3162608
Change-Id: Ic78e9397ed00423855732e5dcc1dd4d4136d6a90
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
49f8d487114bdbe5e0cdd6da923e1e92e5ce1bbf 12-Nov-2010 Amith Yamasani <yamasani@google.com> New Holo assets and layout changes.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
fb8ce18922dae59db424fce906b5c113797fe81e 21-Oct-2010 Bjorn Bringert <bringert@android.com> Allow removing individual history items.

Bug: 2864750
Change-Id: Ib7266f91e512a116e6cc14152462714242b4740a
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
5c383769c9cf23ebb38e03f1245007b8f7e48950 18-Oct-2010 Mathew Inwood <mathewi@google.com> Fix query refinement.

Regression was introduced in change e29d52aa72c96c3147fa91d83aeb8dafc6d1f578.

Change-Id: I878556faf07fa10eaf172d22ef2f859d26407c81
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.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/ui/DefaultSuggestionView.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/ui/DefaultSuggestionView.java
7010c51b51c97fa43d7b24d2158ecbc1d064e0a6 25-Aug-2010 Bjorn Bringert <bringert@android.com> Separate one- and two-pane code, using resources to choose

This makes it easy to remove the xlarge code path
to allow to compiling the app with the Froyo
SDK.

Change-Id: Ibc295c92580d38b8ac7f8361b5ea964499445282
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
c020c1844b0fb3a825e8a6fa6ad96288bc432fbc 22-Jul-2010 Bjorn Bringert <bringert@android.com> Add shortcut when clicking QuickContact badge

Bug: 2858540
Change-Id: I67456936742926c1fb5591170aaa325fcb016e8a
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
3779abc98667393afb68f0dd9906063a7f4cf3fd 16-Jul-2010 Bjorn Bringert <bringert@android.com> Clear icon2 background when binding a new suggestion

Bug: 2503914
Change-Id: I21606d0aae25e0f30e5a47341f8fb128cea1305d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
f97ad17bd38e8b8331c53f4ba543998e7a0e7e4a 12-Jul-2010 Mathew Inwood <mathewi@google.com> Update after code review.

Change-Id: Ic58f249e7903d0eaac6b520f86691b4c56e8f8c3
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
66ee1cc883f77fee930587503ecdcd8d18f12b23 06-Jul-2010 Mathew Inwood <mathewi@google.com> Made query refinement button usuable with trackball/dpad.

This required moving handing of suggestion clicks from SuggestionsView into the views within the list. Moving the focus between the query refinement button and the suggestion itself is done manually.

Bug: 2816727.

Change-Id: I0b69311b2d30c66a28f5447dc9e0e5f6dab3b704
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
6b8dba4c144efb18faa9720d022db2aa7a532f59 01-Jul-2010 Bjorn Bringert <bringert@android.com> New look for query editing

Bug: 2290886
Change-Id: Ie16e6d577582c3f9d635762d8cdcaee40a2a5582
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
2fb3a129925a42e72944b836e85a1a2d55a0d950 29-Jun-2010 Mathew Inwood <mathewi@google.com> Implemented suggestion bolding.

The part of the query that the user did not type is highlighed, currently in bold.

Bug: 2806529.

Change-Id: I087c4cd80faf878a54e1fa8d4c2833eef4329a62
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.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/ui/DefaultSuggestionView.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/ui/DefaultSuggestionView.java
014e0d0c0a5102b7cc1c5576a3af25a646731dd0 24-Jun-2010 Bjorn Bringert <bringert@android.com> Show web suggestions as fullscreen IME completions.

Bug: 2671161

Change-Id: Ie2afcb90929970ef08f40e8ad91d37078f17bde2
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
08961a4a0bfc0302f134e54a48d72355ede27706 28-May-2010 Bjorn Bringert <bringert@android.com> Only show query refinement button on web suggestions

Bug: http://b/issue?id=2723969
Change-Id: I7f0d30d2d96fcedd0c417ccf63a9bdad5e4697bb
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
bf18086dbcdc3cbc50409940b58fbc3a7dcf3a88 12-May-2010 Bjorn Bringert <bringert@android.com> Ellipsize single-line suggestion titles in the middle

Bug: http://b/issue?id=2665463
Change-Id: I489f381027f554593274e103207200dee40ae277
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
145693e12b77c193a65b7eaa038a272dd1f48f33 22-Apr-2010 Bjorn Bringert <bringert@android.com> Add query refine button to query suggestions

Also allows suggestions with no text2 to use 2 lines for
text1, to better support the long queries that query refinement
works best for.

Bug: http://b/issue?id=2290886
Change-Id: I253f2a770f490ee76524b07eae8907a2f22f63fe
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
62adab88055fd0ef6779242245cdc8c3ae5f999c 05-Mar-2010 Bjorn Bringert <bringert@android.com> More refactoring to enable Apps+Market source

Part of http://b/issue?id=2312744

Change-Id: I3d4bae54e55ade6901fb9d061ada226efd098549
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
965d98377ddfdc52b772c2444d840000b665e000 01-Mar-2010 Bjorn Bringert <bringert@android.com> Support SUGGEST_COLUMN_TEXT_2_URL

Part of the fix for http://b/issue?id=2380681

Change-Id: Ifd03bdc9a466e8159724ffeba6642ee260d58920
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
dbdffd8316e75bc2813dbbcbef13d357970e8c84 23-Feb-2010 Bjorn Bringert <bringert@android.com> Add missing pieces for suggestions footer change.

This should have been part of I332c0566fedecccaae194304310c1f13d7201e2d
but I missed a git commit

Change-Id: Id670c164aeb89814b700e3f0e93206686704efb6
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/DefaultSuggestionView.java
883c1bf364e38c5b133afb55f8493a14b65f4dd4 19-Feb-2010 Bjorn Bringert <bringert@android.com> Add a suggestions footer view

Also, refactor source and corpus creation. This turned out not
to be needed to fix the bug, but I think it was a good thing anyway.

Also, include a suggestion type in the qsb_click log.
This is only set for Genie suggestions at the moment.

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

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