2644 Commits

Author SHA1 Message Date
Android (Google) Code Review
65d99c3cbf Merge change 7537 into donut
* changes:
  Fixing a race condition that causes synthesis to not be aborted even if stop is called.
2009-07-16 13:28:04 -07:00
Android (Google) Code Review
2493097cb0 Merge change 7566 into donut
* changes:
  Fix the style of preferences headers in the light theme.
2009-07-16 13:17:31 -07:00
Romain Guy
c444805f9b Fix the style of preferences headers in the light theme. 2009-07-16 13:16:46 -07:00
Brett Chabot
44ce817e0b Temporarily suppress ServiceTest.
ServiceTest appears to be causing the whole android unit_tests suite to fail in the
continuous system. Suppressing to stop the lab failure spam while continuing to investigate.
2009-07-16 12:20:53 -07:00
Android (Google) Code Review
3e1663a253 Merge change 7536 into donut
* changes:
  fix FILE* version of ZipUtils::inflateToBuffer
2009-07-16 12:06:55 -07:00
San Mehat
d7c499513e MountListener: When we connect to vold, explicitly mount external storage.
Vold no longer mounts storage automatically so it doesnt interfere with
the framework booting.

Signed-off-by: San Mehat <san@google.com>
2009-07-16 11:42:32 -07:00
Charles Chen
c231fd0fe7 Fixing a race condition that causes synthesis to not be aborted
even if stop is called.
2009-07-16 11:29:34 -07:00
Doug Zongker
d2792e3768 fix FILE* version of ZipUtils::inflateToBuffer
This can't have ever worked; a successful fread() was returning 1
instead of getSize.
2009-07-16 11:27:13 -07:00
San Mehat
9b0a5e57db sdutil: Up the mount/unmount wait times to account for disk check + reaper time
Signed-off-by: San Mehat <san@google.com>
2009-07-16 10:29:23 -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
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
0d039ba328 Merge change 7508 into donut
* changes:
  keystore: Fix a compile warning.
2009-07-15 23:55:58 -07:00
Chia-chi Yeh
ef33cddcce keystore: Fix a compile warning. 2009-07-16 14:45:11 +08: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
8e0fb366fc Merge change 7359 into donut
* changes:
  Minor tweak to CDMA_SUBSCRIPTION.
2009-07-15 16:58:11 -07:00
jsh
ae49180f28 Minor tweak to CDMA_SUBSCRIPTION.
H_SID and H_NID are now comma separated lists, so update CdmaServiceTracker
accordingly. Note: For now, we still only store away the first of each.

Also remove H_SID and H_NID fetching from RuimRecords.java, since it is unused
(and unlikely to be used) in that class.
2009-07-15 16:41:11 -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
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
b9bae58ecb Merge change 7402 into donut
* changes:
  Added fade-in out animation for compatible apps  (This CL only add this when the app on the top is in compatibility mode for now. I need some help to do the same   when the closing app is in compatibility mode) Refactored DimAnimator
2009-07-15 13:32:07 -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
66f608758b Merge change 7421 into donut
* changes:
  Clamp app widget updates from updatePeriodMillis to a minimum of 30 minutes.
2009-07-15 12:37:08 -07:00
Android (Google) Code Review
5a76ae4685 Merge change 7406 into donut
* changes:
  Update Searchables test with new GlobalSearch name
2009-07-15 11:54:50 -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
Bjorn Bringert
4e4371186d Update Searchables test with new GlobalSearch name
Fixes http://b/issue?id=1981558
2009-07-15 19:04:07 +01:00
Mitsuru Oshima
0a5d2c4691 Added fade-in out animation for compatible apps
(This CL only add this when the app on the top is in compatibility mode for now. I need some help to do the same
  when the closing app is in compatibility mode)
Refactored DimAnimator
2009-07-15 10:48:06 -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
Android (Google) Code Review
37b939a637 Merge change 7395 into donut
* changes:
  Move the silent ringtone to ringtones/notifications, so it can be used for both.
2009-07-15 10:15:40 -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
Marco Nelissen
450749a3ac Move the silent ringtone to ringtones/notifications, so it can be used for both. 2009-07-15 09:37:37 -07:00
Android (Google) Code Review
83fa356589 Merge change 7356 into donut
* changes:
  Fixing a bug in how stop works - keep stop from always stopping the currently speaking item if that item does not belong to the app that is trying to do the stop.
2009-07-15 09:28:45 -07:00
Charles Chen
6f624239dc Fixing a bug in how stop works - keep stop from always stopping
the currently speaking item if that item does not belong to the
app that is trying to do the stop.

Also adds back the functionality of globally stopping speech that
was lost when utterance IDs were added (needed by screen reader).
2009-07-14 19:30:29 -07:00
Android (Google) Code Review
b197021e16 Merge change 7335 into donut
* changes:
  Making sure that the audio buffers for speech are cleared so that there are no leftovers which could cause mangled output.
2009-07-14 18:22:15 -07:00
Charles Chen
4a3368ffe8 Making sure that the audio buffers for speech are cleared
so that there are no leftovers which could cause mangled output.
2009-07-14 18:21:27 -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
f770351931 Merge change 7145 into donut
* changes:
  wifi: Disable RSSI polling when the screen is off.
2009-07-14 16:43:00 -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
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