History log of /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
462599bdf19e8ca85450235c130d0b3a30458804 20-Jan-2012 Vladimir Baryshnikov <vovkab@gmail.com> Fix crash in QuickSearchBox widget.

Looks like mCorpusIndicatorIntent it is not used any more,
but causes NullPointerException as it never set.

Change-Id: I7b6bd80a82a60d3b5b73eefb1e3e155ae6471f04
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
723b496d757c34d8ea745c4f650b353f5791e1ce 24-May-2011 Mathew Inwood <mathewi@google.com> Get Search app usable on tablet & phone.

The new-style split pane UI is only used on x-large devices. Others
will use the phone style white UI.

Also tidied up unused and non-working code in SearchWidgetProvider.

Change-Id: Ic39170146426f6ba63fad4943f296f3ddd8a85dc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
1ddba859a4e9583a238e8ee75fee553472d32811 17-Dec-2010 Bjorn Bringert <bringert@android.com> Update search widget design

Bug: 3137032
Change-Id: Ifa452bcbd39c3451bdccca83cc096dcafac412fb
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
138c0a8d821f02d13e73bfc579ad9bded7d4d683 23-Nov-2010 Ying Wang <wangying@google.com> Move icons to mipmap.

Change-Id: Id7da3d48f8b65c8077bc218529b543794b6c777e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
1841fee7aa9b5ea81275cc816949c47bf4b9e44e 11-Nov-2010 Mathew Inwood <mathewi@google.com> Don't show voice search hints when they're disabled.

This disables intent
com.android.quicksearchbox.action.SHOW_VOICE_SEARCH_HINT_NOW
when voice search hints are disabled by Config.

Bug: 3183310
Change-Id: I2a04e1d93b36b15e8d3925342c17287c0b8842f8
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.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/SearchWidgetProvider.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/SearchWidgetProvider.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/SearchWidgetProvider.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/SearchWidgetProvider.java
9827c9da923d193fcac285ad70cc8d68835ee6f0 23-Jul-2010 Mathew Inwood <mathewi@google.com> Fix interaction with voice search hints, so that disabling works properly.

Bug: 2862006

Change-Id: I2a7806785ee3b135c038b315d12ab32fda350777
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
447f3b6524d5153b759ea9e7f6c47a0c3cc46b6d 22-Jul-2010 Mathew Inwood <mathewi@google.com> Make sure voice search hints always hide themselves.

Previously, when the intent com.android.quicksearchbox.action.SHOW_VOICE_SEARCH_HINT_NOW
was received, the hints would never hide themselves.

Bug: 2861388
Change-Id: Id315f4977b96513dbccde4e35df77bd184e8ec49
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.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/SearchWidgetProvider.java
072fd6bb77d7444a8f0aec9f886f78e1a25fbeae 16-Jul-2010 Bjorn Bringert <bringert@android.com> Revert "Revert "Integrated new assets from alcor.""

This change history is getting interesting.

This reverts commit 50ee27a5cc2bf781388501cc1f1a0f357ed3c1b2.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
6d255336e12226d9597007f42dbbe56fddf187b9 16-Jul-2010 Bjorn Bringert <bringert@android.com> Revert "Integrated new assets from alcor."

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 aa648e63dd401db82bdf636c0bf52947c0067cf2.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.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/SearchWidgetProvider.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/SearchWidgetProvider.java
aa648e63dd401db82bdf636c0bf52947c0067cf2 14-Jul-2010 Mathew Inwood <mathewi@google.com> Integrated new assets from alcor.

mdpi assets are still missing.

Change-Id: Id4c05ffbf8b15a667eed6f3f6893a9b1a1714520
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
50ee27a5cc2bf781388501cc1f1a0f357ed3c1b2 16-Jul-2010 Bjorn Bringert <bringert@android.com> Revert "Integrated new assets from alcor."

I screwed up and didn't see that this change had been merged, and edned up
amending it in highly non-trivial ways. I will submit another change
with includes this stuff plus a bunch more asset tweaks.

This reverts commit ad4007453d3dde6aeed9cc0aa65a300f11da51b8.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
ad4007453d3dde6aeed9cc0aa65a300f11da51b8 14-Jul-2010 Mathew Inwood <mathewi@google.com> Integrated new assets from alcor.

Existing 9 patches have been modified, and done away with stacked backgrounds due to issues with padding being added together, would not look right. A few minor issues remain with focused / pressed corpus selector backgrounds.

Change-Id: I73c7e2b814ec0246def15029a00f7efade9e09fc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.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/SearchWidgetProvider.java
8782fd5a04fa913b368782d759628cadeaac74cf 13-Jul-2010 Bjorn Bringert <bringert@android.com> Always allow broadcast intent to show VS hint

Bug: 2503349
Change-Id: I37d66bd9beaf47885718e5de0ef6af8291eb1532
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.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/SearchWidgetProvider.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/SearchWidgetProvider.java
c835fcfccedfe778da3296f0bf7ac21013c8b113 01-Jul-2010 Mathew Inwood <mathewi@google.com> Changes to support bug 2750953.

Change-Id: I95060b46314f33597b5deefcaec529498ff5b97e
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.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/SearchWidgetProvider.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/SearchWidgetProvider.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/SearchWidgetProvider.java
f36e998667852333addf155fb4bd22132e6a916e 27-Apr-2010 Bjorn Bringert <bringert@android.com> Fix another source of ANRs in search widget

Change I7cc589fa0ef7d8665c28eb1403b34d0de44001c0 fixed
one call to getCorpora() when updating the All search widget.
This fixes the other call to getCorpora() in the default path.

Bug: http://b/issue?id=2614736
Change-Id: Ifcfb6a236b8a1499c93a7e5bc3159706f7b5b858
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
d138468fcef9adfd77ee5f7ee054f811b1df21a0 21-Apr-2010 Bjorn Bringert <bringert@android.com> Fix QSB ANR's when updating All search widget

Before, the corpus list was constructed unnecessarily when updating
a search widget set to the All corpus. Creating the corpus list
is a pretty expensive operation, especially the first time after
boot before SearchManagerService has updated the list of global
searchables.

Bug: http://b/issue?id=2614736
Change-Id: I7cc589fa0ef7d8665c28eb1403b34d0de44001c0
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.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/SearchWidgetProvider.java
53af86dde19652fcb290410387f6faae19fcee56 16-Mar-2010 Bjorn Bringert <bringert@android.com> Set SOURCE=launcher-widget for searches started from widget

Bug: http://b/issue?id=2315234
Change-Id: I3d29d2c53d0c1fc643dfc5f53d84caebd81f6587
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
cc10dcf07c4e787abd66f4e2cfed31a09580a3b0 14-Mar-2010 Bjorn Bringert <bringert@android.com> Allow installing QuickSearchBox in data partition

Changes:

- Only use sources that the QSB process can read. This will exclude
any sources protected by the GLOBAL_SEARCH permission when
QSB is in the data partition.

- Add permission to read bookmarks, needed by Web source
when QuickSearchBox doesn't have the GLOBAL_SEARCH permission.

- Change QuickSearchBox icon to a generic magnifying glass, to make it
different from GoogleQuickSearchBox.

- Change All corpus icon to be the same as the app icon
(magnifying glass).

- Set package name in home screen search widget intents, so that
the correct search app is started.

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

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

Change-Id: I178e72e47d0a49271dc44f8cb19cdaf06b66fabc
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.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/SearchWidgetProvider.java
6a8622297b91cd88304ff4890160528a55827b19 18-Jan-2010 Bjorn Bringert <bringert@android.com> More clean-up needed by GoogleQuickSearchBox

- Use implicit intents to communicate between app components, to
allow them to be replaced.

- Use . prefix in manifest, to reduce the differences between
QuickSearchBox/AndroidManifest.xml and GoogleQuickSearchBox/AndroidManifest.xml

Change-Id: Ia81e9d6354accd6cba5c66274fe0d579059d2aa8
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.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/SearchWidgetProvider.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/SearchWidgetProvider.java
970c3017a56be51401c4e5878d128c14f3bbf027 07-Jan-2010 Bjorn Bringert <bringert@android.com> Don't show shortcut in home screen widget

Disabling pending UI feedback.

Change-Id: Ib70ec7dd69f8732f8287df6b71c2f767be5e8eb0
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/SearchWidgetProvider.java
e1f9f3068739f1e8c452c87f2fc1ebb7570d6fab 16-Dec-2009 Bjorn Bringert <bringert@android.com> Hide QSB widget drop-down when there are no shortcuts

Having an empty-drop down was confusing, I've already gotten
several questions about what it is.

Also: Use RemoteViews.addView() for shortcut in QSB widget
This makes it possible to add more than one shortcut,
and avoid inflating a suggestion view when there are
no shortcuts.

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