History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
71f9f8ccd3c12d7d48e2fee4c55cd57e1970b797 19-Jan-2011 Bjorn Bringert <bringert@android.com> Support context-sensitive help

Bug: 3154500
Change-Id: Iafc5e652cef2cee87db4ca18150b2288a9c75c35
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.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/SearchActivity.java
3109221113ff01d16dfa7d0844f93dccb7dd643b 07-Dec-2010 Bjorn Bringert <bringert@android.com> Don't shortcut typed searches

Typed searches are now always web searches, and we shouldn't
use shortcuts for any web searches, to simplify the history
experience.

Bug: 3261145
Change-Id: I2d050a4de535af07ee8d16a77177c4dbd503618e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
c953ef06f0fc1fb4157fe67aa145cf702ee204d0 02-Dec-2010 Narayan Kamath <narayan@google.com> Introduce the SearchBaseUrlHelper class.

Issues requests to /searchdomaincheck to retrive the
users search domain based on IP. Following this, I will
submit another change to turn it on and add the settings
UI.

Change-Id: I91e37b3a4b853b088216df81f4a2fb6122cb54c4
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
73a375928e0b8f0b2bfa09e4b252cfcbdad4ef84 17-Nov-2010 Bjorn Bringert <bringert@android.com> Allow hiding disabled menu items in two-pane popup menu

Bug: 3154500
Change-Id: I5c702ce349b40508027b0b399e6a6297167c15c9
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
5eee22a4ec6fc45deb9706ba535039ccae51b90a 16-Nov-2010 Bjorn Bringert <bringert@android.com> Add code for Help menu item.

Since help_url is currently empty, the menu item won't be shown.

Bug: 3154500
Change-Id: I23936012a1c8089318475f07fb38e289262777ea
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
48ced2f683491d07d892ec81f88fe2e26f9207c2 15-Nov-2010 Bjorn Bringert <bringert@android.com> Allow QSB start-up tracing without rebuilding app

To trace QSB start-up:

$ adb shell am start -a android.search.action.GLOBAL_SEARCH --ez trace_start_up true

Change-Id: I54bdc4d73a7896bd7bd6bdfccf93d6cb10419305
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.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/SearchActivity.java
80e8114aed515f658f992bf30487437c763b1edf 09-Nov-2010 Mathew Inwood <mathewi@google.com> Keep QSB in back stack.

Bug: 3120703
Change-Id: I34914e1ca5da0a965a55328772a83eea59461d5f
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
98cbee7f6266509a0805b3fef060f01caaef69e3 29-Oct-2010 Mathew Inwood <mathewi@google.com> Improve startup latency logging.

Now, the amount of time spent inside onCreate() is measured in
addition to the total amount of time to start QSB.

Dependant on change: Ia8430e8634138e3db6fc16e48d3025b27cfad24d

Change-Id: Ief63af918fb209b45bef2b915c125e9e18063d93
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
8749e77dddec9e7984ee86a7be6f5ba4fce44362 26-Oct-2010 Bjorn Bringert <bringert@android.com> Add mechanism for hiding web search shortcuts

Bug: 3086361
Change-Id: I05bcc0eb3a10a2a5747fe41246e889f7d38a3ccb
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
7f5ff91319a8433abd92f3e3179158e38391e159 26-Oct-2010 Bjorn Bringert <bringert@android.com> Fix creating state bug in CachedLater

Before, mCreating was not cleared in store(), so the call sequence
getLater(), clear(), getLater() would result in the consumer in the
second getLater() never getting called.

The only real change here is adding "mCreating = false;" in store().
The rest is clean-up, debugging statements and unit tests.

Bug: 3131012
Change-Id: I0fc805eb70965cb85d31ab2142b41d709bdb8e22
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
0fe82998ab9d499e99722b199f5e0db9fc12e433 20-Oct-2010 Mathew Inwood <mathewi@google.com> Optionally don't keep QSB in back stack.

This now is configurable using resources.

Bug: 3086496
Change-Id: I0ec5b20ca73a2d9e9169819cbcc9765a19e3ac0a
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.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/SearchActivity.java
e15fe38f0142174d223bfda0cd87d1a749a85fac 15-Oct-2010 Mathew Inwood <mathewi@google.com> Optionally don't show zero-query suggestions & shortcuts.

This change disables zero-qeury shortcuts for x-large devices only.

Bug: 3086273
Change-Id: I8c47af3f5696bf26482690e11ac046a21ac40150
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.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/SearchActivity.java
f3f70e5ae88f06ff6dabdec9e7c71a19ca1e7108 04-Oct-2010 Bjorn Bringert <bringert@android.com> Allow corpora to be excluded from All but still enabled

Also removes the obsolete isLocationAware() method.

Bug: 3054864
Change-Id: I0fbf707a1a9932e0ccc886d48a6dadc500e87422
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
96fec862c3d494aebcb4e1d93589a241385a2ba7 21-Sep-2010 Bjorn Bringert <bringert@android.com> QSB settings overhaul

- Put Google and Phone search settings on the same screen.

- Use a local preference for SHOW_WEB_SUGGESTIONS instead
of the soon deprecated Settings.System.SHOW_WEB_SUGGESTIONS,
see http://b/issue?id=3021480

- Refactor settings code to get rid of un-mockable static methods.

- Define options menus in XML.

- Use DialogPreference for "Clear shortcuts" dialog.

Bug: 3017828
Change-Id: I198d19f8df809adfb91cc0df1f2b11998451cd6b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
13b4f2dc4b339790c2b9b0220be47c8e77fd61ea 22-Sep-2010 Mathew Inwood <mathewi@google.com> Some tidying up and extra debug.

Change-Id: Ida60e25f7b3cb4a53c9f3c1bd4f0914b6f320dbf
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
9d731c0bae275ee9b1c87b679820259c18cc68c8 03-Sep-2010 Bjorn Bringert <bringert@android.com> Allow overriding web search launching in SearchActivity subclasses

Change-Id: I8384d69a0050abb24b77947a9489d0bda73cfb97
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
d255cdbe9ec83dd4e96285e2d14e78a24aab0432 03-Sep-2010 Bjorn Bringert <bringert@android.com> Remove obsolete comment

Addresses code review comment on change Idabcf673873f5c1c694ce343d61ef43bfac98589

Change-Id: I0079c8fdfea78d44e2f2e3172770553024d71917
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.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/SearchActivity.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/SearchActivity.java
6859aead3af0680b2c9dc326244aa89835c2c852 24-Aug-2010 Bjorn Bringert <bringert@android.com> Get rid of the last shortcut DB reads on the UI thread

Bug: 2706190
Bug: 2892691
Change-Id: Idabcf673873f5c1c694ce343d61ef43bfac98589
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
13904ef3365894e342285492c0ffeb2287504916 23-Aug-2010 Bjorn Bringert <bringert@android.com> Fix broken web suggest in two-pane UI

Change-Id: I8a4c1b7d3f035cc8bf0068caaca2a4243bf7649f
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
b42184f1e6a1b7bb22797ff92cae696753aca770 20-Aug-2010 Bjorn Bringert <bringert@android.com> Get shortcuts asynchronously.

Other shortcut repository queries are still done on the main thread.
I'll fix that in spearate changes.

Bug: http://b/issue?id=2706190
Bug: http://b/issue?id=2892691
Change-Id: I7a6429afa876364a8609f80b448a1df0b5a65e3c
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
2607687d72deb8e06329597ab8bffcca9c746153 20-Aug-2010 Mathew Inwood <mathewi@google.com> Some support for UI tests.

Change-Id: I1aac69259dd9d59218350bbea6524438301b924f
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
4572856ac85bb53ea06e65d00beebdf336af9b27 16-Aug-2010 Mathew Inwood <mathewi@google.com> Filter shortcuts between the two panes, and other fixes.

Shortcuts are now split between the two panes in the same way as other
suggestions. Some problems with suggestions filtering have also been fixed,
which sometimes resulted in crashes. Other stuff:
- renames some classes for clarity
- renames some test code
- other tidying up and removal of dead code.

Change-Id: I75e22fe09340d3f31d79dfa29dc00fcf42b877ca
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
aa7d79792baca59eb7afe00ea27abc5176ddd34b 06-Aug-2010 Mathew Inwood <mathewi@google.com> Some tidying up in SearchActivity with new 2-pane implementation.

All (most) code that deals with SuggestionsAdapter or SuggesionsView now handles
the two views & adpaters properly.

Change-Id: Ib791f5aa2acdc31d664340e1e861afb672b2e94d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
d5cd9612d6937dfb174bfe6f4e486f283ef557e9 06-Aug-2010 Mathew Inwood <mathewi@google.com> Refactored how we deal with 1-pane vs 2-pane UI.

Now, there are seperate Corpora objects; a different CorpusFactory class is
used when we have a 2-pane UI (see new class ResultsCorpusFactory). This deals
with selecting the non-suggestion web source, which is more robuct that the
previous approach.

This resolves an issue whereby websuggestions appeared in both panes just after
the app was started.

Dependant on change: Iec798b578fefce6b1405fb6175d669ee5812dd37

Change-Id: Ifdfae6550cd97db0d9ad266c5f9966d239ad1da7
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
23db3f9877e691568fe2c955fd9d4f48a2eb937a 29-Jul-2010 Mathew Inwood <mathewi@google.com> Minor update after reviewing changes by yamasani.

Rename newCorpusSelectionDialog to createXxxx.

Change-Id: Ic3038d7071ae14e27490cc4ff0a623ab4715f308
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
35c43805a450c17d5fc5e27dc073edc6e2cd7320 29-Jul-2010 Amith Yamasani <yamasani@google.com> Overrideable CorpusSelectionDialog

Change-Id: I837ae6771fd5056eaf89f1ba5bcf590ef1bf681e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
2dfefcf67c7c28c8337725ef30d623a47638b374 22-Jul-2010 Mathew Inwood <mathewi@google.com> Cache query test background resources to save reloading when editing text.

Bug: 2849233
Change-Id: If055f7e8b19295d75e86cb01dc8c05c8524f8fc0
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
7399b784ec97c25084afa98bb0bcfcb70f7bc4ec 16-Jul-2010 Bjorn Bringert <bringert@android.com> Yet another VS hint UI.

Change-Id: Ic678b96e4fbaeb7e0b1a0c5111b2e5e62f3ece15
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
36cdac7349a76aa1db70ed7e8fa554ed54ad639d 16-Jul-2010 Bjorn Bringert <bringert@android.com> Revert "Tweak UI spacing and change All icon to magnifying glass"

Reverting all the hint UI changes to implement a new UI where the hint sits
on top of the widget and has a close button.

This reverts commit 02bb2f42e35f9ce621c1fcd23f7059e05027074d.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
02bb2f42e35f9ce621c1fcd23f7059e05027074d 16-Jul-2010 Bjorn Bringert <bringert@android.com> Tweak UI spacing and change All icon to magnifying glass

Change-Id: I0b9c20439057d68dd0e3ffee7a23784e803b342e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
a20a61d8141129e8734df8e953c7b311e72dd144 15-Jul-2010 Mathew Inwood <mathewi@google.com> Make pressing dpad open local suggestions.

Previously, pressing the dpad didn't do anything for local business suggestions (though it did work for web suggestions). Not sure why.

Change-Id: I707ef4efac0addc8a2fdbabeaebfb9ffff08a669
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
b5560dbe16a8fb3148b0fb24c73836bf2e84dd61 14-Jul-2010 Mathew Inwood <mathewi@google.com> Basic support for automated UI testing.

Change-Id: I30cac526467958c9a25ee10a34f1e250157e0ac5
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
5f71d5746ec042ad2e5c1eee8c83514f92534372 14-Jul-2010 Bjorn Bringert <bringert@android.com> Log query refinement to event log

A click on the query refine button will now generate an event such as:
I/qsb_click( 1719): [1,com.android.browser/.BookmarkSearch::|google:8:|google:8:|google:8:|google:8:|google:8:|google:8:|google:8:,web,7,1]

The final 1 distinguishes this from regular suggestion clicks.

Bug: 2836179
Change-Id: Ic0580dd1bf398524a0143e1df6c331dbeabfc448
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
e83204ae5e130fed7e7f0acdbca0ed29a9bbc934 13-Jul-2010 Mathew Inwood <mathewi@google.com> Change behaviour of corpus icon in widget when hints visible.

Now, clicking on the corpus icon launches QSB as well as hiding the voice search hints.

Also fixed a bug which caused the voice search button to dissappear when voice search hints expired.

Change-Id: I5b1e7054c048f69e7d3ef0c34ea1820a39c7e1a8
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
3a7125b39b72f7417684c4d3040abeb4a81bd6b3 13-Jul-2010 Bjorn Bringert <bringert@android.com> Trim and collapse all whitespace in typed queries

This solves issues with shortcuts being saved with trailing whitespace
or internal whitespace differences between shortcuts and web search history.

Bug: 2836527
Change-Id: Ie2f2c4a3cc4f035e7201ed1dc608e7502c2b1383
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
ee809978630e01cd7426d5df4f465c0dfcb57ea2 07-Jul-2010 Mathew Inwood <mathewi@google.com> Move focus to query editor when using query refinement button.

Change-Id: I65117793fdb288bf05d74c8f5ea029f4c232960e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.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/SearchActivity.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/SearchActivity.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/SearchActivity.java
13b2fc952b2fe3dee4ccdd3e7f7d090e688bf655 25-Jun-2010 Mathew Inwood <mathewi@google.com> Simplified suggestion filtering when switching between corpora.

Fixes bugs 2798084, 2798081. Don't understand why it fixes the 2nd one.

Change-Id: I6e25b77e73ca7b7b6869c283e2496bfa14242248
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
20c51f89fdba5105efdf0a37f50bf7fa013d5b8d 24-Jun-2010 Mathew Inwood <mathewi@google.com> Show non-web suggestions when a non-web corpus is selected.

Non-web suggestions are still filtered out when 'All' is selected, to avoid abiguity about what a suggestion is.

Bug: 2795430
Change-Id: Ic04cbb4859d26e0ec8ae880df3941cdce163866b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.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/SearchActivity.java
f5e1499b48ac06de4e6e6460a7f14c3a7ac4eadd 21-Jun-2010 Mathew Inwood <mathewi@google.com> Changes to support bug 2602198.

Allow Google QSB to know when the focused state of the query text view on suggestions list changes.

Change-Id: Idd56c99c9f4bc64b9a2866d03de699999c03e566
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
839a9fd2828f37c9dc8345f93aefa5b8ad2f857f 17-Jun-2010 Bjorn Bringert <bringert@android.com> Drop "query jamming" feature from QSB

Before, QSB put the text of web suggestions in the query field when
selecting a suggestion with the DPAD or trackball. The code for this
was complex and error-prone (see for example http://b/issue?id=2515755
and http://b/issue?id=2748984). Now there is an on-screen button to
put the suggestion text in the query field. Thus we should remove this
feature.

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

Change-Id: Iebafc24cffca0c7cf113e426564ad22bb93da738
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
6ae65b29ce9313a4f0624ef825f75151db5ec2fe 17-Jun-2010 Bjorn Bringert <bringert@android.com> Allow overriding content view in SearchActivity subclasses

Change-Id: Ie3d6feafc676882ffb0bb31b3b3b978fa447532a
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
3cb8178193a41f6c74ee396c318385a50dd624e1 15-Jun-2010 Mathew Inwood <mathewi@google.com> Minor logging improvement & bugfixing.

Changed startup logging to include time takent to get the list of shortcuts. Also, changes to support bug 2758788.

Change-Id: Idd0c28910893619b9dc6e176b94f11daaba26caf
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
267d93c257837859e7a31f41f9276c086d1dd82b 08-Jun-2010 Bjorn Bringert <bringert@android.com> Trim leading whitespace when launching searches

Fix http://b/issue?id=2515070

Change-Id: I1d943e0ef14c5eac83b0439ba8bb883a3d48773f
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
ca9c7b7bc0183aa1b6d160bf76597c96e70831f6 01-Jun-2010 Mathew Inwood <mathewi@google.com> Minor change to support bug:
http://b/issue?id=2602198

Change-Id: I2953b8f2b9ec73c90b1782225c9ec653a63dac99
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
18959800eddb7127e4fd9b24e91458d0584cc257 28-May-2010 Mathew Inwood <mathewi@google.com> Added ability to add extra views overlaying the search edit text box.

For bug: http://b/issue?id=2602198

Change-Id: Ibcaa6aaaad0e4a00ab28aed7680760f3b63847af
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
1aef21f8a84380351c7dd7c9bf66f80659d0d42e 27-May-2010 Mathew Inwood <mathewi@google.com> Refactored & simplified header/footer handling in SearchActivity.

Change-Id: I225e0d1b84ab7bc9ae0707cd1ff53fa00d1c1ba4
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
54af8b26e73f9aa2a01473517cf6d9980a95fe55 27-May-2010 Mathew Inwood <mathewi@google.com> Added support for a header view above the suggestion list, to complement the existing footer view.

To support bug: http://b/issue?id=2602198

Change-Id: Ief369cc8267777f2276deb53c3bdcffb712e67d4
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
21bff9bbf4286907b01d3153bff2fbd6b5ec5df8 13-May-2010 Bjorn Bringert <bringert@android.com> Clean up corpus update handling

This fixes two problems:
- makes the Voice Search button in the search widget and the QSB app
update immediately when Voice Search is installed or uninstalled.
- updates the corpus selection dialog and the currently selected
corpus correctly when corpora are installed or uninstalled.

Bug: http://b/issue?id=2522135
Change-Id: I04b212763e922cb2a9b2542b30ec4091a7dea506
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
81a0897ff9685f3313c58294bf7973700c468b2b 11-May-2010 Bjorn Bringert <bringert@android.com> Refactoring to prepare for external shortcuts

This change is meant to have no user-visible effects

Change-Id: Idf3a6d892ba84307a887785725aa072bd28c59b6
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
dd6d9a1a8d559c87f54412eb4e6569ed62193d60 07-May-2010 Mathew Inwood <mathewi@google.com> Don't dismiss keyboard if pressing 'Go' when no query.

The previous change didn't resolve the problem in the case when we navigate back to QSB after performing one search; the mTookAction flag is sticky for the whole QSB session.

Bug: http://b/issue?id=2466682
Change-Id: I266b6706ef534a8cebfd8c7c4f3afdd5388cfb31
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
d6b9bd42f22582a8ccec657bd6d715465de98ec9 06-May-2010 Mathew Inwood <mathewi@google.com> Don't dismiss keyboard if pressing 'Go' when no query.

Bug: http://b/issue?id=2466682
Change-Id: I17ecd82734f5990da3511cac89dfa9e1be22069e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
8c0cbecc705dfbc5192471dcbbfcddbadaf9ae6e 22-Apr-2010 Bjorn Bringert <bringert@android.com> Remove unnecessary query text view focus call

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

Change-Id: I29984fec0127287a0a54495ed03a1f7fc5014de0
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
d98911178013162737fbba74387b51d2a08b0493 25-Mar-2010 Amith Yamasani <yamasani@google.com> Show IME on launching QSB, even when hardware keyboard is available.

Bug: 2500129

After the window receives focus, post a message to request the soft
input method to show. If done any sooner, the window and view focus
and IME decisions have not settled down yet.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
b5fc08b7f16a32d3865f44b7f26d8aaa5304a2ad 19-Mar-2010 Bjorn Bringert <bringert@android.com> Disable debug logging and remove unused imports and classes

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

Change-Id: I2416c9b6c1b9e819ec17d7954b6b70bf106f0414
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
6f8fc42e68237bfb6f474faff8086d910d2934d5 16-Mar-2010 Bjorn Bringert <bringert@android.com> Guard against enter key on empty suggestions list

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

Change-Id: I829fef3514306aa85d2a7f466f597b02fb964b90
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
dfe0df4a730c54bdc963b891f9a3080c38055ebb 15-Mar-2010 Bjorn Bringert <bringert@android.com> QSB IME and BACK fixes

- Open soft keyboard with hard keyboard closed

- Use extract UI in landscape mode.

- Fix this error:
1. Tap home screen search widget corpus indicator.
2. Tap outside corpus selection dialog to dismiss it.
3. Tap corpus indicator in QSB top left.
4. Press BACK
5. All of QSB was dismissed

Bugs: http://b/issue?id=2500129 and http://b/issue?id=2438199

Change-Id: I0d51999e7205246d5ab470be494397b86b73e795
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
11c44a74cb2519c0c8630486784aa916b964070e 12-Mar-2010 Bjorn Bringert <bringert@android.com> Dismiss QSB on BACK after clicking widget corpus selector

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

Change-Id: I823a7b047560426a667744acb5ef41e6c9b84fda
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
4ef1338a23b040df2ef180c48ff85e14a9d70906 12-Mar-2010 Bjorn Bringert <bringert@android.com> Delay suggestion update a bit, to reduce load when typing quickly

This currently uses a 100 ms delay before updating the suggestions.
If a new character is typed before the timeout, the timeout
is reset. At least on Passion, the key repeat interval
when holding down backspace is ~ 50 ms, so this avoids
redundant suggestion queries when holding down backspace.

Also removes obsolete progress update code.

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

Change-Id: I8856a320a37dfa15dd801e0217d40eec79f5894b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
f95ce100dcbc77794b79b0187c566bb58b5978d3 11-Mar-2010 Bjorn Bringert <bringert@android.com> Logging improvements and better corpus selector handling

- Log latency for a fraction of corpus suggestion requests.

- Don't log qsb_start when choosing a corpus in the corpus
selector.

- Log qsb_exit when leaving QSB without doing a search, voice search
or clicking a suggestion.

- Create corpus selector dialog directly, instead of it being a
a managed dialog.

Change-Id: I2db3b4fa7b20cef339aff5715c72c9846103c9f8
Bugs: http://b/issue?id=2415859 and http://b/issue?id=2506462
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
4afd6f1587b1c2f3686190d55f1640ecfba03699 09-Mar-2010 Bjorn Bringert <bringert@android.com> Update suggestions when moving left/right from sugggestion

This is a pretty quick way to do query refinement
if you know about it.

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

Change-Id: Ifc4e2b2ac0c4636390e2f497d014027e7a7cafc0
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
47d02f7285794bb39b2a2d828d32b5329dd8ecb0 06-Mar-2010 Bjorn Bringert <bringert@android.com> Always use the same SuggestionsProvider

This fixes a problem where a new SuggestionsProvider was created
for every keystroke when in single-corpus mode. That resulted
in old pending query tasks not being cancelled. This increased
suggestion latency a lot when typing quickly.

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

Change-Id: I75d2a86349cdec8735a26c48c1fb737fac772f78
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
f69873ae02e6d8f8a550f5fa43b5b1f2cbea96ff 04-Mar-2010 Bjorn Bringert <bringert@android.com> Corpus selector UI fixes

- Dismiss corpus selector on any touch outside corpus grid

- Dismiss dialog when moving up-and-out of corpus grid with
trackball/dpad.

- Dismiss corpus dialog on typing on hard keyboard.

- Select the current corpus on start. As is normal with GridViews
and Listviews, this doesn't highlight the selection in touch mode.

- Don't preserve corpus selection dialog when leaving QSB

- Keep dialog at right vertical offset event when it needs to scroll.

Fixes part of http://b/issue?id=2482918
Fixes http://b/issue?id=2481106
Fixes http://b/issue?id=2473693

Change-Id: I276628763d1d252ce9ec4b7094b934ed29d5a44d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
eba26da75665ac3b9a411e74267395f332ff851a 03-Mar-2010 Bjorn Bringert <bringert@android.com> Don't start empty searches.

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

Change-Id: I2e1649c65575a54c55401c135caafc97b874c127
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
5691f9062b2a558ba39c700d65bc522d397ebc75 25-Feb-2010 Bjorn Bringert <bringert@android.com> Show "Google" hint for Web and All, source hint for others

Also, show cursor when query text field is empty.

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

Change-Id: I521f684e3c7487cd6003ca309b684c221b96e619
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
535931433926d342c6277034cad91143ae28b72d 24-Feb-2010 Bjorn Bringert <bringert@android.com> Make search widget voice search button corpus-sensitive

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

Change-Id: I547bd3b3c097dc4eac5fd10a391ac0e5a8a6d4e6
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
6c8a8cb66ccf57347c7aed4260132d342b242b0f 24-Feb-2010 Bjorn Bringert <bringert@android.com> Don't use fullscreen IME. Show IME when going back to QSB

Change-Id: Iee63a057b567d3189ef2f171811de4ee5e65ae71
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
c29c9f854db8fa0c85f17cc32bae33dc17c6b127 23-Feb-2010 Bjorn Bringert <bringert@android.com> Create shortcuts from web searches

Web searches and URLs entered in the All and Web corpora
now create shortcuts that show up in All.

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

Change-Id: I269fcf93590d2335e10d43255b8989ffd4103f5b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
26d85260316193a1aeff5d407d4f32f5297be012 23-Feb-2010 Bjorn Bringert <bringert@android.com> Show menu in corpus selector, update corpus list dynamically

Fixes http://b/issue?id=2444698
"Corpus selection dialog should show QSB menu (search settings) on MENU press"

Change-Id: I7ffe3c646eb5dfbb716f9e69d6ae081859d37909
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.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/SearchActivity.java
a576b1abd602c08dcf0d470facc43fac0243b07c 18-Feb-2010 Bjorn Bringert <bringert@android.com> Use new assets

Updates these assets:
- Corpus selection dialog background, frame and arrow
- Icon for everything corpus
- Search button icon
- Corpus indicator background
- Corpus selection dialog item background

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

Change-Id: I59db3fae68daa286fe5f6d7060744b5a9f88d131
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
e4f5c630a1c9cdf75fe751dc728729c3ecb7ae07 16-Feb-2010 Bjorn Bringert <bringert@android.com> Update search box and search button UI

Fixes http://b/issue?id=2442441
(Remove voice search icon in search box when user starts to type, and replace with GO/Search)

Partly fixes http://b/issue?id=2428233
(Reconcile Google and QSB branding across the platform)

Partly fixes http://b/issue?id=2380798
(New visual design for QSB)

Change-Id: I57c4fd6264376e1a4376009e8275e61fb6a87946
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
27e267fea996b25ca130422cddcce0dd6e928ef7 16-Feb-2010 Bjorn Bringert <bringert@android.com> Don't dismiss corpus selection dialgo in onStop()

This seems to have been a faux pas.

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

Change-Id: I24ef8480e7bf73ad6dfb0719584bb223c67d7000
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
c15f386b167efb3f7559f2f7ee362497040b7fe6 16-Feb-2010 Bjorn Bringert <bringert@android.com> Hide IME mic button if voice search is enabled for corpus

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

Change-Id: Ib74a86b03f97083eb0be2c4c6e1fcaaf17622774
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
41fe9d1fc461c42907250d44d3537909e4c46a7d 16-Feb-2010 Bjorn Bringert <bringert@android.com> Dismiss corpus selection dialog when user leaves QSB

Change-Id: If1fb9184aaf197592c88dca9b28458c965c6fe94
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
3d382f0ca49a8150d504cf2629124a7f13175e1e 12-Feb-2010 Bryan Mawhinney <bryanmawhinney@google.com> Ignore leading whitespace at the start of queries.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
2617a0177a6088d5aaf381263229bf5a62d2238d 10-Feb-2010 Bjorn Bringert <bringert@android.com> Show corpus window on top of QSB when started from widget

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

Change-Id: I2dde658344df71eeed307938a4aba63671ceaf70
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
3f71a11f8858b9164ca83e8d2f558dd8a8a5e2de 10-Feb-2010 Bjorn Bringert <bringert@android.com> Use Search.SOURCE from android-common

The SOURCE (search source identifier) constant is moving
from hidden in android.app.SearchManager to com.android.common.Search.

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

Change-Id: Idef59c61ce6e2d7c0dba491e125417745372ce2b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
0ccab5903ba2c64ec4cdd33dbcea91b1e279d556 03-Feb-2010 Bjorn Bringert <bringert@android.com> Allow user to pick corpus when adding search widget

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

Change-Id: I318b6cf30469e1058364e6ce9c4dd1b936536c67
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
3dc19e33e2d23cae793a770e12a2ab89379f4f3f 03-Feb-2010 Bjorn Bringert <bringert@android.com> Remove source stickiness

Change-Id: I178e72e47d0a49271dc44f8cb19cdaf06b66fabc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
ac17ac866d6f543c3a136e1e2361c01004c6547e 29-Jan-2010 Bjorn Bringert <bringert@android.com> Update QSB visual design and branding

Change-Id: I0b0ee1fff121d3c825ff3d5d9379e4a076d9047d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
94e8a2be78530170f50e7895a558bf8011bbf8e8 18-Jan-2010 Bryan Mawhinney <bryanmawhinney@google.com> Implement refreshing of shortcuts in QSB.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
7be9c66fdc2e4df2e998d79a11bcf737ffddc2dc 20-Jan-2010 Bjorn Bringert <bringert@android.com> Allow typing anywhere in QSB

Forwards key events from the suggestions list and the source selector
to the query text view.

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

Change-Id: Ib63c26cff2d9f7c716c59cb4e50a8eaa90d19929
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
7b9d59cd76eecd7645072c6728e2faf9ff9e180a 20-Jan-2010 Bjorn Bringert <bringert@android.com> Suggestion selection and IME hiding fixes

Changes:

- Selecting a suggestion puts SuggestionCursor.getSuggestionDisplayQuery() in the search box.

- Moving back up to search box restores the user's query.

- DPAD left keeps selected query, focuses search box and move cursor to the start of the query.

- DPAD right keeps selected query, focuses search box and move cursor to the end of the query.

- Input method only hides when focus moves to suggestions.

- Input method shows up when moving focus back to query.

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

Change-Id: I0d1b7ce1bcc72d275d6cd57d75ee7f5c509fc5bc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
154017089860da89ec020ed37e502d194253cc67 19-Jan-2010 Bjorn Bringert <bringert@android.com> Respect SearchManager.EXTRA_SELECT_QUERY

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

Change-Id: Ib2c01210008c08ba5208414b3e3cfcb660749194
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
ebce9ae87d3ced1a5176aa406090ff9d76950e86 19-Jan-2010 Bjorn Bringert <bringert@android.com> Remove TODOs from SearchActivity

I've filed bugs about the ones that weren't already implemented.

Change-Id: I65e929e714c2636464b6c304f6390edcd86dd1ea
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
84b72b7b9dacd54de9eff630dbbb37de372560f6 11-Jan-2010 Bjorn Bringert <bringert@android.com> Make search button search in selected app instead of web search

This is how the old QSB works, and it makes QSB single-source search more like
in-app search.

TODO: Should we do the same for voice search?

Change-Id: I61adaf500085f73534a71d42f8a20e3255157f60
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
d32d6753347e872aa5d9d6e9015ed7f24db3e362 08-Jan-2010 Bjorn Bringert <bringert@android.com> Remember last selected source, and show it in Launcher search widget

Change-Id: I775a1a3a757d5628ccc7c6fe8af6015ddd03e081
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.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/SearchActivity.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/SearchActivity.java
782dd228e78e9294692d639597f96c26283968bb 16-Dec-2009 Bjorn Bringert <bringert@android.com> Fix suggestion key, click and selection handling.

Typing on the suggestions list and pressing action keys
still doesn't work.

I also made SuggestionData mutable and got rid of the builder.
This this is only for tests anyway, it was annoying to have to
add every field in 6+ places in this class.

Change-Id: I17c287b217fc1a03567123ddbd48638657b2f5cf
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.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/SearchActivity.java
d7a95801d20a9405b4ab9c9b4beecd106e880166 11-Dec-2009 Bryan Mawhinney <bryanmawhinney@google.com> Delay before updating the view when we have no suggestions.

This reduces flicker a little, and moving the delay here allows us to simplify Suggestions.
Also fixes a small bug where the spinner could keep spinning indefinitely.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
b32ee8f1b45c65daff18b40c0614cf18843b8c17 07-Dec-2009 Bjorn Bringert <bringert@android.com> Focus search box in onResume().

This fixes a problem where the search box is not focused when QSB
is first started. Since the text box is the only place you can type,
it seems reasonable that it is focused on every entry to the app,
even if returning using BACK and something else (button, suggestion)
was focused before.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java
3e44ff1f2a204db3f479698cf0b3eab3d451dec2 03-Dec-2009 Bjorn Bringert <bringert@android.com> Import QuickSearchBox package from perforce.

This moves code from
//depot/google3/java/com/google/android/apps/quicksearchbox/...
The only changes done in the move are the package names
and the license headers.

The code does not yet build, since there is no Android.mk.

Change-Id: I768b06d211f5ee6ecd6f9777ba2839c09744fbf1
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchActivity.java