History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.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/Config.java
ef6dbc776667219ac89bd5f80c181f65260457ac 02-Dec-2010 Narayan Kamath <narayan@google.com> Move HttpHelper instantiation to c.android.qsb.

To be followed by another change to delete the old code.

Change-Id: If8ab341da1f5f88b0f3f74fdb51173fdf94d8a14
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.java
cd4accc7899fa7b756e1c430d6b196525abd5c3c 25-Nov-2010 Mathew Inwood <mathewi@google.com> Move HTTP timeouts to Config, and increase.

This improves reliability on slow GSM connections.

Bug: 3226928
Dependant on change: I960f53941b824a358f2ab68c1e5e255b61493c3d
Change-Id: If7204f73639019e0394a1ab6983c2431c166daf9
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.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/Config.java
af1ca2cc65a2c2fdf6f396126e235d64e4da0936 16-Nov-2010 Mathew Inwood <mathewi@google.com> Only show shortcuts in the first cluster.

Now, the top 3 shortcuts are displayed in the first cluster
in the right hand pane. If there are less than 3 shortcuts
in the DB, the first cluster will have less than 3 items in
it.

Bug: 3162608
Change-Id: I833cc99d75742b6260c3f770d2c061f39b67d644
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.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/Config.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/Config.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/Config.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/Config.java
1fe2cb3896fa2a051bc8b716fa97b2c8398b71f1 18-Oct-2010 Mathew Inwood <mathewi@google.com> Remove unnecessary exception handing in Config.

Change-Id: I3de1e447b055a26d7ace3df38493868fa7b41b2b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.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/Config.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/Config.java
53aab8c4459f45664d04ec882d67094c52b78695 06-Oct-2010 Bjorn Bringert <bringert@android.com> Replace Source.isWebSuggestionSource() with getMaxShortcuts()

Change-Id: I7986d291f0608b231a9708caf691a97694cc011d
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.java
09552c760ad82eb90795e98de96c65005d6ebafc 03-Sep-2010 Mathew Inwood <mathewi@google.com> Change to make defaulting of Contacts corpora more reliable.

The package that provided contacts results is looked up at run-time now,
rather than being hardcoded. This should allow it to work on devices
where the default contacts provider is replaced.

Bug: 2970922

Change-Id: I598e8083cc12b4f6f447d5d48f5f83281d700cb3
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.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/Config.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/Config.java
120040ef31d79c1d69138b13ca7f256841f3298e 12-Aug-2010 Mathew Inwood <mathewi@google.com> Fix the tests.

Most of the failures were caused by proguard being more aggressive by the look
of it. Added some @VisibleForTesting's fixes those.

Also some failured caused by the move to a 2-pane UI breaking assumptions made
in the tests.

Depends on change: I595127d00d4800e244ede57bfc475ddfc8521389

Change-Id: I335c637ab6818e173c1efe60cfd6d23bee7b1589
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.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/Config.java
5d8047bba2e05cc0cc1ca6684a53f26656a60584 09-Jul-2010 Mathew Inwood <mathewi@google.com> Implemented new voice search hints UX.

The voice search hints now replace the query text box in the widget. While a voice search hint is displayed, the behaviour of the widget is chanhed slightly:
- Click the hint launches voice search help (if available), else just voice search.
- The corpus selector changes its behaviour such that it hides the hint. The arrow is removed to indicate that it no longer behaves as a selector.

Bug: 2503349

Change-Id: I1e3bf36c930cbeb2d754893c08ce0bf202798cda
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.java
f695d6bf59f2a3b2d58ab2480f2178825e712eff 06-Jul-2010 Mathew Inwood <mathewi@google.com> Implemented voice search hint heuristics.

Voice search hints are now displayed at intervals as defined by Config. They are shown for a while, then hidden again.

Bug: 2812974
Change-Id: I983250ab1296031fa9b38f17fa105e5b88fd976b
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.java
08ff0a7cb6b99db79508fa3124730eb81411bc56 30-Jun-2010 Bjorn Bringert <bringert@android.com> Limit the number of shortcuts per corpus in All mode

Bug: 2796586
Change-Id: I38f20930d4d9d819b6b1876c4c8af3b80dff69bc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.java
e46ac8349b012ec2c649d4e20bc835fec9ec681f 29-Jun-2010 Bjorn Bringert <bringert@android.com> Remove all use of public drawables in QSB

Before, QSB used a number of public drawables. This is not safe, as
partner platform customizations can change the color schemes in the
icons, which may not match the color scheme in QSB. This can be a
usability problem, e.g. with grey icons on grey backgrounds.

Changes made:

- Copy drawable.sym_def_app_icon.png from the framework
to corpus_icon_apps.png and corpus_icon_default.png. This introduces
as useful distinction between the Apps corpus icon and the icon used for
corpora that have no icon.

- Fix bug in SearchableSource where it looked up the default corpus
icon in the corpus package instead of in the QSB package.

- Copy ic_menu_preferences.png from the framework resources and use it
as the menu icon for Settings.

- Copy btn_dialog.xml from the framework resources and use it in
the Voice Search hint.

- Re-enable Voice Search hints. They had been accidentally disabled by
an earlier change.

Bug: 2807186
Bug: 2807268
Change-Id: I66c8f58af7737be3a4c8a0fb330acc15f1bb6808
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.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/Config.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/Config.java
96c7058210699c82445169048b7c0fdfb16f59ee 28-May-2010 Bjorn Bringert <bringert@android.com> Add config resource for hiding corpora from corpus selector

This is required to support sources that add shortcuts, but
aren't really searchable, like Voice Search.

Change-Id: I9bc1c244848f970ac698b722257000d0f937d025
Bugs: http://b/issue?id=2678486 and http://b/issue?id=2678067
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.java
87331ef11a1ac6c907c008354e3aab5eb6f87404 25-Mar-2010 Bjorn Bringert <bringert@android.com> Click logging performance improvements

- Logs clicks asynchronously.

- Gets rid of SourceLog, and adds a corpus field to ClickLog that
is used instead. This should reduce the amount of work done
when logging clicks.

- Uses the 30 day threshold for both source ranking and shortcuts.

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

Change-Id: I70cf6031b667fcc41bc23cc8d61351607a1058fd
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.java
39bbcdc1a485ded93059de4a3f70bfda85e9f304 17-Mar-2010 Bryan Mawhinney <bryanmawhinney@google.com> Various changes to shorcut promotion logic.

- Default services are always shown before non-default
- All default sources must respond before non default are called
- The top slots above the keyboard are shared by any default source results.

Change-Id: I59c9dad0fac1f9664b5f40cc32cc38fb42507fb2
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.java
6d5cbd67f7a5f824babb5c892b0f30bfd9f4ff23 12-Mar-2010 Bjorn Bringert <bringert@android.com> Don't show shortcuts for upgraded apps

This required moving the limit on the number of shortcuts
returned from the SQL query to the ShortcutCursor constructor.

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

Change-Id: Icd2c71c31433429c005926497c1767ccc713beb4
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.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/Config.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/Config.java
72f9b08ce84d0e13daf2d1c112d4e6d1d3ada045 09-Mar-2010 Bjorn Bringert <bringert@android.com> Use a separate thread pool for Web corpus, to avoid deadlock

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

Change-Id: I228d77a3ead794c7922d42fd51ff068f57dab40e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/Config.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/Config.java
af736c70f989ebd716e0e389a28c6604b218e14f 21-Jan-2010 Bjorn Bringert <bringert@android.com> Prepare Config for overriding

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