History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.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/SuggestionsAdapter.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/SuggestionsAdapter.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/SuggestionsAdapter.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/SuggestionsAdapter.java
49f8d487114bdbe5e0cdd6da923e1e92e5ce1bbf 12-Nov-2010 Amith Yamasani <yamasani@google.com> New Holo assets and layout changes.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.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/SuggestionsAdapter.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/ui/SuggestionsAdapter.java
8b2936607176720172aee068abc5631bdf77e843 12-Oct-2010 Bjorn Bringert <bringert@android.com> Added strawman tablet corpus selection UI

Bug: 3053103
Change-Id: Iaca9605fe88c53581ef20a79d07724fc4bfd5e8b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.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/SuggestionsAdapter.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/SuggestionsAdapter.java
f165f2d6c6f8173b94937ae3202f0b638348dffd 23-Aug-2010 Bjorn Bringert <bringert@android.com> Don't limit shortut count in single-corpus mode.

Bug: 2936385

Change-Id: Ia16a327d7e9d762a9d62795fca9c3c8c5b25e03b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.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/ui/SuggestionsAdapter.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/ui/SuggestionsAdapter.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/SuggestionsAdapter.java
2fd5aa82682f077660faa8ec60c04238026a8731 28-Jun-2010 Mathew Inwood <mathewi@google.com> Make logging more consistent.

Always use Log.d, never Log.v.

Change-Id: I3d32c9005f5b2798c99d1b253c99e728e40c0cc8
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java
ced9f76b761536341d739e9a243c98a4bf90638c 25-Jun-2010 Bjorn Bringert <bringert@android.com> Delay suggestion updates 200 ms and group them

New corpus results are now delayed for 200 ms, unless it is the
last set of results. If a new result comes in before the timeout,
the timeout is reset.

Bug: 2796507
Change-Id: I545c3bdddba9e0d94fed781660577d80d918727e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java
754cb6b769c5955fc707a6c5ab6689b64df102b3 22-Jun-2010 Mathew Inwood <mathewi@google.com> Clear suggestions immediately when swicthing between corpora.

When switching from All to a specific corpora, the suggestions are filtered so that the results are available immediately. When switching from a specific corpora to All, we leave the suggestions in place, since they are still appropriate. When switching between individual seperate corpora, all suggestions are cleared.

Bug: 2750930

Change-Id: Ie284dee7bd93ebf048d86f025b4c30111f3dd403
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java
e6f46632869a288c82b75187af166931f82a6e12 12-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Show shortcuts in corpus-specific mode.

Change-Id: Ibc101f26a9aede7992a43731975d99eb96318568
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java
e06b7cbf55301a24cfd7525a91107e3cd2c9f48e 04-Mar-2010 Bjorn Bringert <bringert@android.com> Only included queried corpora in qsb_click log event

Change-Id: I4ce89b02f7957a427508e58226c5b9867e819b32
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.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/SuggestionsAdapter.java
ca78085bb2127559e6f55276a307bfa857018eca 25-Jan-2010 Bjorn Bringert <bringert@android.com> Log QSB events to EventLog

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

Change-Id: I1522539e9038d5062522c17d38b61069a90fd7cc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.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/SuggestionsAdapter.java
94e8a2be78530170f50e7895a558bf8011bbf8e8 18-Jan-2010 Bryan Mawhinney <bryanmawhinney@google.com> Implement refreshing of shortcuts in QSB.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java
cef2c4c9d54f513babd74801dbed5cbf709b9b79 19-Jan-2010 Bjorn Bringert <bringert@android.com> Disable some QSB logspam

Change-Id: I6d75009c3273a88d80c7e3b661e70afcb3f49175
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java
816804b67619af133860a1e28e92f58bc642260d 11-Jan-2010 Bjorn Bringert <bringert@android.com> Reduce suggestions flicker, delay suggestions until non-empty

Change-Id: I1355b4ecbf76265d2d4f8cf596d8b4595db7b1c6
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java
0484fb4d652bfa9d5c7fb238a7cec1a6f2244e44 08-Jan-2010 Bjorn Bringert <bringert@android.com> When a source is selected, query only that source.

Change-Id: Ic664cc4f4a6634af1e0bc5acc0818819fe874e41
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java
713194910648268c094fa81b81f40ce2f7e39333 18-Dec-2009 Bjorn Bringert <bringert@android.com> Use list UI with corpus selector

TODO: The corpus selection window has the wrong vertical position.
TODO: Suggestion icon clicks don't work.
TODO: The corpus selector does not show focused and pressed states.

Change-Id: I950308f5f32e11f39dabedfcacdd8e78701e6a57
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java
185bb2e3881452c084fde44d9bee657f65881b0e 04-Dec-2009 Bjorn Bringert <bringert@android.com> Make tab order stable

- Overhauls suggestions handling to make tab order stable.

- Refactors SuggestionsView to split it into some
general tab components (TabView, TabAdapter), and
QSB-specific parts (SuggestionsView, SuggestionsAdapter,
SuggestionCursorAdapter).

- Moves UI code to .ui subpackage.

- Converts some error and warning logs to exceptions to make
them easier to find during development and dogfooding.

- Recycles suggestion views.

This code is currently pretty slow.

TODO: Don't populate views that aren't visible.
TODO: Delay update until the currently visible source reports.
TODO: Batch updates.

Change-Id: If42889d20499c34d94e1dc0acdc12a3ae53a23b0
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionsAdapter.java