2616 Commits

Author SHA1 Message Date
Android (Google) Code Review
384d63cd9c am 8a733e8f: Merge change 7473 into donut
Merge commit '8a733e8fa2b2e6c1404ca536da645e897405eb5f'

* commit '8a733e8fa2b2e6c1404ca536da645e897405eb5f':
  Fixes #1844366. Prevents window leak in Spinner.
2009-07-16 09:54:48 -07:00
Android (Google) Code Review
8e3c3f6461 Merge change 7514 into donut
* changes:
  Only parse search suggestions that look like HTML
2009-07-16 06:32:52 -07:00
Bjorn Bringert
84ee74335f Only parse search suggestions that look like HTML
HTML parsing of search suggestions is still a major
CPU hog in the search dialog. This change first
checks if the text contains any HTML markup
(by looking for < and &) before bothering to
treat it as HTML.
2009-07-16 14:31:00 +01:00
Android (Google) Code Review
5380aa2947 Merge change 7512 into donut
* changes:
  Get rid of drawing hacks for search dialog suggestions
2009-07-16 06:08:59 -07:00
Bjorn Bringert
391eaa3ba8 Get rid of drawing hacks for search dialog suggestions
Before, SuggestionsAdapter parsed every HTML formatted
string three times, to support state-dependent colors
in <font> tags. Now that there is support in Html
for color resources (added in
https://android-git.corp.google.com/g/7441),
we can get rid of this code.

Also, SuggestionsAdapter had a special purpose view
for drawing background colors when suggestion items
were not selected or pressed. This change replaces that
code with a StateListDrawable of ColorDrawables.

Before this change, HTML parsing used ~17% (uncontrolled benchmark,
just did some random searching) of the system_process CPU.
This change should reduce that by 2/3, i.e. about ~11% total
system_process reduction.
2009-07-16 13:57:20 +01:00
Patrick Scott
4c3ca701fe Check for a null url before trying to load it.
There are some bad things that happen if WebCore gets a blank url.
2009-07-16 08:37:27 -04:00
Bjorn Bringert
ee716fa2b0 Make sure SearchDialog.mSearchable != null in key handlers
This change adds checking that the searchdialog is initialized
properly to a few key event listeners where it was missing
before.

Also makes sure that the search dialog is not shown if the
global search is requested but the global search provider
cannot be found.

Should fix http://b/issue?id=1982128
"Device rebooting after search results"
where SearchDialog.onKeyDown() threw an NPE
2009-07-16 09:15:37 +01:00
Android (Google) Code Review
c93af6dc5b Merge change 7441 into donut
* changes:
  Allow system colors in <font> tags
2009-07-16 00:06:23 -07:00
Android (Google) Code Review
49763e4246 Merge change 7480
* changes:
  Make sync not start until setup wizard is done.
2009-07-15 18:28:16 -07:00
Android (Google) Code Review
c3350ab5b2 am 82b283a9: Merge change 7451 into donut
Merge commit '82b283a9bf8e3508e1b5c6d4b6b8cae04597b83c'

* commit '82b283a9bf8e3508e1b5c6d4b6b8cae04597b83c':
  Include 'calling_package' extra for uses of in-app voice search so that
2009-07-15 18:15:01 -07:00
Android (Google) Code Review
dfceeb8c0a am 6ce4236d: Merge change 7401 into donut
Merge commit '6ce4236d70c8543021bb521731ac9f05d22b3002'

* commit '6ce4236d70c8543021bb521731ac9f05d22b3002':
  Adding missing addEarcon method. Not having this was a bug as
2009-07-15 18:14:38 -07:00
Android (Google) Code Review
2d22760e38 am c122824f: Merge change 7396 into donut
Merge commit 'c122824f48266c5df1b1b3a0a915619e5963ed7a'

* commit 'c122824f48266c5df1b1b3a0a915619e5963ed7a':
  Run background threads associated with filtering at background priority.
2009-07-15 18:14:28 -07:00
Joe Onorato
8294fadb15 Make sync not start until setup wizard is done. 2009-07-15 18:03:28 -07:00
Dmitri Plotnikov
c991bfc53f Replicating contact option columns between Aggregate and Contact. 2009-07-15 17:31:53 -07:00
Android (Google) Code Review
8a733e8fa2 Merge change 7473 into donut
* changes:
  Fixes #1844366. Prevents window leak in Spinner.
2009-07-15 17:02:25 -07:00
Romain Guy
5275d69b04 Fixes #1844366. Prevents window leak in Spinner. 2009-07-15 17:01:48 -07:00
Android (Google) Code Review
82b283a9bf Merge change 7451 into donut
* changes:
  Include 'calling_package' extra for uses of in-app voice search so that the server can tailor recognition to an individual app.
2009-07-15 15:33:46 -07:00
Mike LeBeau
260dfb5716 Include 'calling_package' extra for uses of in-app voice search so that
the server can tailor recognition to an individual app.
2009-07-15 15:20:14 -07:00
Bjorn Bringert
9cab7f7684 Allow system colors in <font> tags
Fixes http://b/issue?id=1970693
2009-07-15 22:47:03 +01:00
Grace Kloba
d7f2036aaa resolved conflicts for merge of 21d769da to master 2009-07-15 14:38:20 -07:00
Android (Google) Code Review
ac63bd7365 Merge change 7381
* changes:
  Remove all our old high priority knowledge since WebCore will manage it.
2009-07-15 14:10:23 -07:00
Android (Google) Code Review
6ce4236d70 Merge change 7401 into donut
* changes:
  Adding missing addEarcon method. Not having this was a bug as this method is needed to add earcons; otherwise, there is nothing for playEarcon to play.
2009-07-15 13:38:34 -07:00
Android (Google) Code Review
c122824f48 Merge change 7396 into donut
* changes:
  Run background threads associated with filtering at background priority.
2009-07-15 13:29:38 -07:00
Android (Google) Code Review
0a305da8ee am 211aef30: Merge change 7134 into donut
Merge commit '211aef308bc6ca55d99777d19227f412492db9c2'

* commit '211aef308bc6ca55d99777d19227f412492db9c2':
  Unhide required definitions in TextToSpeech.Engine that cover return codes and
2009-07-15 13:13:26 -07:00
Patrick Scott
fe4fec7c66 Remove all our old high priority knowledge since WebCore will manage it.
Also removed an unused variable in RequestQueue.java.
2009-07-15 15:48:02 -04:00
Evan Millar
b926375cda Add Uri for filtering the aggregate summary on group name.
New Uri is:

                content://com.android.contacts/aggregates_summary/group/*

Where * should be replaced by the group name.
2009-07-15 12:47:53 -07:00
Tom Taylor
2debd56b5b Add new gtalk values
Add new gservices strings for various picture related urls for GTalk.
2009-07-15 12:00:23 -07:00
Joe Onorato
be96b3a2aa Clamp app widget updates from updatePeriodMillis to a minimum of 30 minutes. 2009-07-15 11:43:06 -07:00
Karl Rosaen
ab3ef104cd Run background threads associated with filtering at background priority.
This improves the typing responsiveness in the browser a lot, and should
help out in all the other cases in the UI where we use a filter thread.
2009-07-15 11:11:15 -07:00
Charles Chen
904dfa5884 Adding missing addEarcon method. Not having this was a bug as
this method is needed to add earcons; otherwise, there is
nothing for playEarcon to play.
2009-07-15 10:46:33 -07:00
Joe Onorato
851da848e9 Clamp app widget updates from updatePeriodMillis to a minimum of 30 minutes. 2009-07-15 09:58:08 -07:00
Android (Google) Code Review
21d769da89 Merge change 6926 into donut
* changes:
  Fix #1976384. Add p12 to the MimeTypeMap. When downloading p12 in the WebView, send it to the certTool.
2009-07-15 09:47:05 -07:00
Android (Google) Code Review
03cc558144 Merge change 7372
* changes:
  Register OPUSH - Bluetooth OPP service record.
2009-07-14 21:36:03 -07:00
Nick Pelly
03c707ab6f Register OPUSH - Bluetooth OPP service record. 2009-07-14 21:32:14 -07:00
Jaikumar Ganesh
1c42769339 Rename registerPhoneStateChange to registerPreciseCallStateChange
As registerPhoneStateChange was actually notifying CallStateChange,
rename appropriately.
2009-07-14 21:29:41 -07:00
Android (Google) Code Review
4573df4db0 am 5628711a: Merge change 6855 into donut
Merge commit '5628711a6f5674070da674488513d2e1b03c4959'

* commit '5628711a6f5674070da674488513d2e1b03c4959':
  Add a Gservices setting to control if we send up multipart protocol buffers
2009-07-14 18:56:39 -07:00
Mike LeBeau
6d54c172c3 am 1fffbd97: Fix keyboard not showing for global search on Dream. Rather than trying to call the hidden showSoftInputUnchecked method to show the IME in SearchDialog#show(), override onWindowFocusChanged in our subclass of AutoCompleteTextView so that whenever it gets
Merge commit '1fffbd97fa756ef7d3e7e885a5c1c8bb64380c20'

* commit '1fffbd97fa756ef7d3e7e885a5c1c8bb64380c20':
  Fix keyboard not showing for global search on Dream. Rather than trying to
2009-07-14 18:56:32 -07:00
Android (Google) Code Review
211aef308b Merge change 7134 into donut
* changes:
  Unhide required definitions in TextToSpeech.Engine that cover return codes and extras for android.intent.action.CHECK_TTS_DATA intent, and the key values for the parameter hashmap that can be passed by an application in speak(), synthesizeToFile(), playSilence() and playEarcon().
2009-07-14 17:43:58 -07:00
Jean-Michel Trivi
62253a319d Unhide required definitions in TextToSpeech.Engine that cover return codes and
extras for android.intent.action.CHECK_TTS_DATA intent, and the key values
for the parameter hashmap that can be passed by an application in speak(),
synthesizeToFile(), playSilence() and playEarcon().
2009-07-14 17:37:07 -07:00
Android (Google) Code Review
4c3a589e8e Merge change 7137 into donut
* changes:
  Remove the Google domains from the Gears permission table when the global location setting is set to false
2009-07-14 17:23:35 -07:00
Android (Google) Code Review
5628711a6f Merge change 6855 into donut
* changes:
  Add a Gservices setting to control if we send up multipart protocol buffers
2009-07-14 17:20:22 -07:00
Mike LeBeau
1fffbd97fa Fix keyboard not showing for global search on Dream. Rather than trying to
call the hidden showSoftInputUnchecked method to show the IME in SearchDialog#show(),
override onWindowFocusChanged in our subclass of AutoCompleteTextView so that whenever
it gets focus, we call the public showSoftInput method, passing in the ACTV, which is
the correct way to do this.

This fixes http://b/1930989.
2009-07-14 17:05:24 -07:00
Android (Google) Code Review
c047d68372 am a2694c99: Merge change 7166 into donut
Merge commit 'a2694c998c85a438c7d3fefd79bbeb751d594134'

* commit 'a2694c998c85a438c7d3fefd79bbeb751d594134':
  Fix a few date format strings to put backslashes in front of apostrophes.
2009-07-14 16:27:25 -07:00
Android (Google) Code Review
a2694c998c Merge change 7166 into donut
* changes:
  Fix a few date format strings to put backslashes in front of apostrophes.
2009-07-14 16:26:33 -07:00
Android (Google) Code Review
6630e4a1dc am b5c735d3: Merge change 7106 into donut
Merge commit 'b5c735d35c8c1d2fb4e4654fbffcdb62d5acab4d'

* commit 'b5c735d35c8c1d2fb4e4654fbffcdb62d5acab4d':
  Return adjusted display for WindowManager.getDefaultDisplay()
2009-07-14 16:18:34 -07:00
Eric Fischer
9c947e9eca Fix a few date format strings to put backslashes in front of apostrophes.
I forgot that the apostrophes get lost on the way through aapt if you
don't quote them.
2009-07-14 16:16:06 -07:00
Android (Google) Code Review
b5c735d35c Merge change 7106 into donut
* changes:
  Return adjusted display for WindowManager.getDefaultDisplay()
2009-07-14 16:13:38 -07:00
Android (Google) Code Review
de1acad88d am b3948bbd: Merge change 7133 into donut
Merge commit 'b3948bbd8dfba7fac64d2c06d871386c987692c2'

* commit 'b3948bbd8dfba7fac64d2c06d871386c987692c2':
  Run the search dialog at THREAD_PRIORITY_DEFAULT instead of THREAD_PRIORITY_FOREGROUND.
2009-07-14 16:06:08 -07:00
Karl Rosaen
ce63850ff0 am 53d24af7: Respect onSearchRequested in Dialog and actually launch search. Also dismiss self.
Merge commit '53d24af774ad943ff26ef529c949f9c433806421'

* commit '53d24af774ad943ff26ef529c949f9c433806421':
  Respect onSearchRequested in Dialog and actually launch search.  Also dismiss self.
2009-07-14 16:03:39 -07:00
Android (Google) Code Review
b3948bbd8d Merge change 7133 into donut
* changes:
  Run the search dialog at THREAD_PRIORITY_DEFAULT instead of THREAD_PRIORITY_FOREGROUND.
2009-07-14 16:03:30 -07:00