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/SuggestionViewFactory.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/SuggestionViewFactory.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/SuggestionViewFactory.java
|
c5a3ecb62318a6be1d1a626a36b52829e989f740 |
|
17-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Make search widget corpus selection look like a dialog Fixes http://b/issue?id=2447061 Change-Id: Ia57ba9956b7c084435c7d145707c12a642977b05
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionViewFactory.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/SuggestionViewFactory.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/SuggestionViewFactory.java
|
9ad03a750a66b26441a19ff54b6057729c145eae |
|
06-Jan-2010 |
Bjorn Bringert <bringert@android.com> |
Share SearchSourceSelector with SearchDialog Uses the new SearchSourceSelector code in the home screen search widget and the Quick Search Box activity. The code is copied into the framework to also be used in SearchDialog. Also: - Implement instance state save/restore to retain the source selection and entered query across configuration changes (e.g. device rotations). - Better positioning of the source selection activity. - TODO: More dynamic positioning of the source selection activity. Change-Id: I31bd7b8479dc696c95106aa3dc8876ff67ef7d9a
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SuggestionViewFactory.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/SuggestionViewFactory.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/SuggestionViewFactory.java
|