History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.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/SearchActivityView.java
b28dcd61d3aec036c6a2b51571d11453ff6eb671 28-Jan-2011 Bjorn Bringert <bringert@android.com> Make it easier to exit QSB when searchbox is empty

1) Adds a clickable background pane which dismisses the app
if the searchbox is empty.

2) Brings back the code removed
in change Iee8f0cb3f4252a2dfb30127b6fe368c036d5bd90
but limits it to only dismiss the keyboard if the search
box is empty.

Bug: 3400032
Change-Id: Ic01cfe4fe207ee6b08cf6fd0ed68b2896f9f2e02
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
7a427f9830f7f9201299fae34a93016c77b0a569 11-Jan-2011 Mathew Inwood <mathewi@google.com> Get voice search icon from voice search package.

This ensures consistency between the icon used in the launcher, and that
used in QSB.

Bug: 3336825
Change-Id: Ife1bfe948d83844b6ae47acc44d401087959868c
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
748a3cd7cb44de0aedb05e3c5d19989e2e52164f 11-Jan-2011 Mathew Inwood <mathewi@google.com> Don't move highlight on enter in query text view.

This ensures that the highlight doesn't momentarily move to the suggestion
list when hitting enter to launch a search.

Bug: 3327509

This is a cherry pick of commit 101870845a3a30b7896c4b77ad0d01713af982f6
from master which was accidentally submitted to master instead of honeycomb.

Change-Id: Ia86157f51eec05366681ac90e72343014ed328ff
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
04780ccd1ef55fca5234cdad4386d7248bb9b3dd 06-Jan-2011 Mathew Inwood <mathewi@google.com> Clicks outside of the searchbox should not exit the app.

bug:3327455
Change-Id: Icbeaed01283c4c5920299194a2fcb6fc6d038ecc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
45f42cab0664a8a23975e8913dbe77c1fd8ad86c 21-Dec-2010 Mathew Inwood <mathewi@google.com> Fix keyboard navigation and highlight issues.

- Make all focusable UI elements have a focused state
- Fix issues with pressing enter on various UI elements
- Make some touch targets slightly bigger.

Bug: 3291344
Bug: 3291338
Bug: 3291333
Change-Id: I16a88b68d960c9a7b2f245b4915fda9cfd8d3206
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
2e684983c6a20faa209e42f6c63337cfcb34fc71 30-Nov-2010 Amith Yamasani <yamasani@google.com> Implement fade-out transition when exiting QSB.

Also adjust the layouts to match the homescreen position of the search icon and hint text.

Bug: 3223441
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
a059151661148e9e58ebd81a54927c1b35f7be1f 19-Nov-2010 Bjorn Bringert <bringert@android.com> Only dismiss keyboard on BACK, not QSB

Bug: 3211614
Change-Id: Iee8f0cb3f4252a2dfb30127b6fe368c036d5bd90
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
55938341e72f1581d6caae51a31d8d72a1cd8138 16-Nov-2010 Amith Yamasani <yamasani@google.com> Add hint and transition effects.

Also put the background on the window instead of the activity view so that it fades smoothly
and doesn't cause a bright patch behind the keyboard transitions.

Change the close button between two states, depending on whether the query is empty or not.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.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/SearchActivityView.java
f95d552f5a4d8b61219f4c06ce6698ed2a5f0e10 16-Nov-2010 Bjorn Bringert <bringert@android.com> Change overflow menu button to show a drop-down menu

The menu currently contains Search settings and Manage search history.

Bug: 3154500
Change-Id: I3ef7d2a1dd29d3b8ac4f74c9b980f3c8ff8c63cd
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.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/SearchActivityView.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/SearchActivityView.java
e833f84eee7ab575c8d53dec9b133fa5de9c7e6d 02-Nov-2010 Mathew Inwood <mathewi@google.com> Dismiss QSB when clicking outside the panes.

Bug: 3145771
Change-Id: I0ba1220d6cac2dcd62e69ee82a71b04ac0c10b6d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
dfc1772caf35942837d83331d787eb10734c37cb 20-Oct-2010 Bjorn Bringert <bringert@android.com> Get corpora excluded from All to work in the single pane UI

Bug: 3054864
Change-Id: Ie312ffe89b173a1a8d5eff7b5eb1136957971d6c
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
3be3f12c41baa6c91ebb4fef366bd3d9bfcbc093 19-Oct-2010 Bjorn Bringert <bringert@android.com> Refine QSB UI

This is an attempt to get a bit closer to the latest mocks.

Change-Id: I142e358e46b9fed34478becd5e35bd5c3ae1d63a
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
f5a8912d5da80378d38b667eba4aaa0555aea7bd 20-Oct-2010 Mathew Inwood <mathewi@google.com> Configure scrollability of two panes seperately.

This allows the suggestions to be non-scrollable while allowing the
results (right) pane to be scrollable.

Bug: 3086387
Change-Id: Ie55dabace070ad4b0627ee116a14f4f0c5b0f6ac
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.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/SearchActivityView.java
9e46c057d7f88d2a899e124f96d266c54250bb45 15-Oct-2010 Mathew Inwood <mathewi@google.com> Exit QSB when clicking X when query test empty.

Bug: 3086345
Change-Id: Iff13e5d17625cf90a340b4f5786c76243d551b6d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.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/SearchActivityView.java
8749e424d7645e708f238530621248abb567e3be 06-Oct-2010 Bjorn Bringert <bringert@android.com> Expose methods for hiding suggestions and keyboard

Change-Id: I0c12b8c7bb83b52c0096473e334b07bad612a515
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
2cbf1d099dbd04c612e3cba34a70293705730fa0 05-Oct-2010 Amith Yamasani <yamasani@google.com> Some layout and color changes for Holo theme.

Added a close button to clear the text.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.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/SearchActivityView.java
0a73d81f02118d0343d3f1c9219a8354466f72b3 02-Sep-2010 Mathew Inwood <mathewi@google.com> Refactored split between single pane & two pane UI.

SearchActivityView is now an abstract class, with SearchActivityViewSinglePane
and SearchActivityViewTwoPane deriving from it. This ensures that the corpus
selection dialog and other corpus selection code can never interfere with the
two pane UI.

Also updated the widget in xlarge so no corpus indicator is shown, just a
search icon.

Change-Id: I9236352bde35544dbb4f3be72c1e86ba8e6b4794
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java
5880fdc4f6fef3c9b5b95a49a0f23c37c69f89d5 27-Aug-2010 Bjorn Bringert <bringert@android.com> Make it easiser to build QSB prototypes UIs

Change-Id: Ie45b2fac41fcef737fa85b2b33b1652189a9035d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.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/SearchActivityView.java
11234b9966c6b0e5c17d00e3b973c0d49a8d1f57 23-Mar-2010 Bjorn Bringert <bringert@android.com> Reduce QSB start-up time

This change reduces the QSB start-up CPU time by
about 40% by doing the following:

- Don't get zero-query suggestions in onResume(), do it with a 100 ms
delay instead, like when typing

- Don't log the qsb_start event in onResume(), do it in the first
updateSuggestions().

- Get rid of one level in the view hierarchy.

Bug: http://b/issue?id=2537351

Change-Id: Ic9c566c2497446f71318af4a85090acd06d5b9a8
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/SearchActivityView.java