History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.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/SearchSettings.java
8f65daa6e6df644d6cc6a9a2e100c01feb33bbd2 16-Dec-2010 Narayan Kamath <narayan@google.com> Account for language/locale changes in base urls.

If the user changes his locale / language, the base
search url should be changed as well (the hl= param).

bug:3287871

Change-Id: If460e1f6395bb0fcb009b5d8504cd13630ae4de3
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.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/SearchSettings.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/SearchSettings.java
34955d44dddabfc672a26263363190f971c337a8 02-Nov-2010 Mathew Inwood <mathewi@google.com> Remove 'Show web suggestions' from Search Settings.

Bug: 3145966
Dependant on change: Ida30fb0340f865057893045bb5a8faffac1d8ceb
Change-Id: Ia86b69c761e79a5a668cb2eeb34972f2acd9ee0e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.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/SearchSettings.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/SearchSettings.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/SearchSettings.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/SearchSettings.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/SearchSettings.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/SearchSettings.java
44dca900d1d5e1a2e1a13da1691be94474b4a79a 02-Jul-2010 Bjorn Bringert <bringert@android.com> Replace "Voice Search" settings with "Search Widget" settings

This may go away completely, depending on what the final hints UI will be, but
I wanted to get the strings in.

Change-Id: I5ff71208f5793a648f723543105703084c394b57
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.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/SearchSettings.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/SearchSettings.java
288002f8258274e67876bd86b02e13acaf255815 23-Jun-2010 Mathew Inwood <mathewi@google.com> Add corpus icons to 'Searchable items' settings screen.

Change-Id: I90e051e48932ba405353c38c4a4ad6e93fd0fec9
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.java
2f09363e9ed5ae8e91e4495ccfa6533a2f45d8ce 22-Apr-2010 Bjorn Bringert <bringert@android.com> Show Voice Search hints in search widget

Bug: http://b/issue?id=2503349
Change-Id: Iab3727247fd74b92fe515df59e49868f49d2c621
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.java
1d870d9687e1831241e528a558fcd008f8309604 09-Apr-2010 Bjorn Bringert <bringert@android.com> Add link to Searchable Items to corpus selection dialog

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

Change-Id: Ifa8f0ea24d580189ef180115bf2a60b949a65565
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.java
148154b406d3e483018e98f8f0296b59302020a3 26-Mar-2010 Bjorn Bringert <bringert@android.com> Write to click log asynchronously

This moves all write operations (except table creation)
to asynchronous transactions. This inclueds:
- Click logging
- Storing refreshed shortcuts
- Clearing history

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

Change-Id: Ia134ada5afc23310f6557ff7a34e5f03348c3935
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.java
dc2c74eef51811886e6f080eaa8692804a00a1f4 06-Mar-2010 Bjorn Bringert <bringert@android.com> Order Searchable Items: Web first, the rest alphabetically

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

Change-Id: I4ceec8f4615e9ac357f6132cf05a8dfe3f7faefe
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.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/SearchSettings.java
bd92263c4f8df5e68e9d806167534e7067a5e5ed 23-Feb-2010 Bjorn Bringert <bringert@android.com> Honor the "show web suggestions" setting

Part of the fix for http://b/issue?id=2456022

Change-Id: I39a6c0423156892752a1dc4f24e48d582f59fccf
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.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/SearchSettings.java
8d9d845323514c34bb07d6eb91146a975324fced 10-Feb-2010 Bjorn Bringert <bringert@android.com> Use new SearchableInfo.getSettingsDescriptionId()

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

Change-Id: Ib946283c9150084136a6ef7cdaaa6a183dbf50b1
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.java
94e8a2be78530170f50e7895a558bf8011bbf8e8 18-Jan-2010 Bryan Mawhinney <bryanmawhinney@google.com> Implement refreshing of shortcuts in QSB.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.java
e72a6418e84a89d2bfd4e9d22282eca95357e0da 12-Jan-2010 Bjorn Bringert <bringert@android.com> Move GoogleSearch into QuickSearchBox

Copies the code from packages/apps/GoogleSearch, renaming
resources to avoid clashes.

GoogleSearch seems to have bitrotted, I had to change HttpPost
to HttpGet to avoid getting "405 Method Not Allowed".

This makes the existing packages/apps/GoogleSearch obsolete.

Change-Id: I01d416de40b7ba277e2a4192af8437b3840a19f6
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.java
227180196cf8d92172cbb62f8ddaacf864be28e7 07-Dec-2009 Bjorn Bringert <bringert@android.com> Use SearchManager to get list of searchables

SerchableInfo and the methods that return it are not yet exposed, but they
will be soon.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchSettings.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/SearchSettings.java