OSDN Git Service

android-x86/frameworks-base.git
14 years agoFix the build when ViewDebug.TRACE_RECYCLER is set to true.
Romain Guy [Wed, 9 Dec 2009 01:33:53 +0000 (17:33 -0800)]
Fix the build when ViewDebug.TRACE_RECYCLER is set to true.

14 years agoImprove javadoc in View.
Romain Guy [Tue, 8 Dec 2009 23:03:39 +0000 (15:03 -0800)]
Improve javadoc in View.

14 years agoMerge change I0743a389 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 22:37:38 +0000 (14:37 -0800)]
Merge change I0743a389 into eclair-mr2

* changes:
  Close popup when Keyboard gets a CANCEL motion event.

14 years agoClose popup when Keyboard gets a CANCEL motion event.
Amith Yamasani [Tue, 8 Dec 2009 22:18:19 +0000 (14:18 -0800)]
Close popup when Keyboard gets a CANCEL motion event.

Needed for Extension keyboard feature.

14 years agoam 767eb427: Merge change If990cab0 into eclair
Christopher Tate [Tue, 8 Dec 2009 22:11:33 +0000 (14:11 -0800)]
am 767eb427: Merge change If990cab0 into eclair

Merge commit '767eb427fa8eca6c842c629cd4bfbf3551692148' into eclair-mr2

* commit '767eb427fa8eca6c842c629cd4bfbf3551692148':
  Make sure to acknowledge stale broadcasts

14 years agoam 0d8055e5: Paper over 2275704 by not having LotsOfApps installed on the monkeys...
Joe Onorato [Tue, 8 Dec 2009 22:08:51 +0000 (14:08 -0800)]
am 0d8055e5: Paper over 2275704 by not having LotsOfApps installed on the monkeys builds.

Merge commit '0d8055e51ce2666875e14c53e14765f673172b1c' into eclair-mr2

* commit '0d8055e51ce2666875e14c53e14765f673172b1c':
  Paper over 2275704 by not having LotsOfApps installed on the monkeys builds.

14 years agoMerge change If990cab0 into eclair
Android (Google) Code Review [Tue, 8 Dec 2009 22:07:50 +0000 (14:07 -0800)]
Merge change If990cab0 into eclair

* changes:
  Make sure to acknowledge stale broadcasts

14 years agoPaper over 2275704 by not having LotsOfApps installed on the monkeys builds.
Joe Onorato [Tue, 8 Dec 2009 22:02:09 +0000 (14:02 -0800)]
Paper over 2275704 by not having LotsOfApps installed on the monkeys builds.

14 years agoRemove the code where we suspect webkit draw during
Grace Kloba [Mon, 7 Dec 2009 22:47:28 +0000 (14:47 -0800)]
Remove the code where we suspect webkit draw during
drag. It was added for the better performance of panning
while loading. But it does make sites using touch event
look bad as we don't have the display tree until touch up.

Fix http://b/issue?id=2310295

14 years agoMake sure to acknowledge stale broadcasts
Christopher Tate [Tue, 8 Dec 2009 21:48:45 +0000 (13:48 -0800)]
Make sure to acknowledge stale broadcasts

If a broadcast arrives at a process but the receiver has been unregistered in
the interval between dispatch and its arrival on the receiving process's side,
we were simply dropping the broadcast entirely, leading to spurious ANRs and
potentially issues involving future broadcasts being timed out incorrectly.  Fix
this by making sure to correctly 'finish' a broadcast even when the recipient
app no longer has any receiver that matches the broadcast's profile.

Change-Id: If990cab021a26668052cb536753f6c308d80a5b4

14 years agoMerge change Ifb0a0398 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 21:46:49 +0000 (13:46 -0800)]
Merge change Ifb0a0398 into eclair-mr2

* changes:
  Fix build breakage.  Rename NetStat to TrafficStats in preloaded-classes.

14 years agoMerge change I129483f8 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 21:41:38 +0000 (13:41 -0800)]
Merge change I129483f8 into eclair-mr2

* changes:
  Optional use of UTF-8 strings in resource bundles

14 years agoFix build breakage. Rename NetStat to TrafficStats in preloaded-classes.
Ken Shirriff [Tue, 8 Dec 2009 21:38:48 +0000 (13:38 -0800)]
Fix build breakage.  Rename NetStat to TrafficStats in preloaded-classes.

14 years agoMerge change I96ddd6e2 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 20:41:51 +0000 (12:41 -0800)]
Merge change I96ddd6e2 into eclair-mr2

* changes:
  Migration to TrafficStats.

14 years agoMerge change Ia28d9547 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 20:10:47 +0000 (12:10 -0800)]
Merge change Ia28d9547 into eclair-mr2

* changes:
  Expose SearchableInfo and getSearchablesInGlobalSearch()

14 years agoMerge change I237c1cee into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 19:32:50 +0000 (11:32 -0800)]
Merge change I237c1cee into eclair-mr2

* changes:
  Improve exception message thrown when a View's state is of the wrong type.

14 years agoImprove exception message thrown when a View's state is of the wrong type.
Romain Guy [Tue, 8 Dec 2009 19:30:25 +0000 (11:30 -0800)]
Improve exception message thrown when a View's state is of the wrong type.

14 years agoMerge change I887f355f into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 19:25:48 +0000 (11:25 -0800)]
Merge change I887f355f into eclair-mr2

* changes:
  Propagate background scheduling class across processes.

14 years agoExpose SearchableInfo and getSearchablesInGlobalSearch()
Bjorn Bringert [Mon, 7 Dec 2009 10:41:24 +0000 (10:41 +0000)]
Expose SearchableInfo and getSearchablesInGlobalSearch()

This is needed for search unbundling.

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

Change-Id: Ia28d954736c9afd68da22a38da966ed780d797c2

14 years agoSome fixes for positioning the WebTextView.
Leon Scroggins [Tue, 8 Dec 2009 18:43:47 +0000 (13:43 -0500)]
Some fixes for positioning the WebTextView.

Move the change in position/size before the call to bring into view,
so that the properly positioned field will be brought into view.  It
is also now before we check to see if it is the same textfield, so
it happens in both cases.

Also remove some code which checks the selection and then sets it
unnecessarily.  It was originally surrounding some code which called
setRect, which had a side-effect of changing the selection.  That
code was removed (rendering the remaining code useless), and setRect
no longer has the side effect (the side effect was a result of calling
reqestFocus, which it no longer does - further, the change in selection from
requestFocus no longer affects the textfield's text).

14 years agoMigration to TrafficStats.
Ken Shirriff [Mon, 7 Dec 2009 23:57:35 +0000 (15:57 -0800)]
Migration to TrafficStats.

TrafficStats is the SDK version of NetStat.

14 years agoAdd TrafficStats class to SDK.
Ken Shirriff [Mon, 7 Dec 2009 23:56:05 +0000 (15:56 -0800)]
Add TrafficStats class to SDK.

This class (a rename of NetStat) provides network byte and packet statistics.
NetStat will be removed separately, to avoid breaking other packages when submitting.

14 years agoMake sure to use the hand-tweaked-assembly version of the relevant mp3 code if buildi...
Andreas Huber [Tue, 8 Dec 2009 18:07:22 +0000 (10:07 -0800)]
Make sure to use the hand-tweaked-assembly version of the relevant mp3 code if building for ARM.

14 years agoMerge change Ib16e5543 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 17:16:08 +0000 (09:16 -0800)]
Merge change Ib16e5543 into eclair-mr2

* changes:
  Fix the mp3 audio extractor that would occasionally return an invalid frame directly after a seek.

14 years agoMerge change I8f658214 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 17:16:00 +0000 (09:16 -0800)]
Merge change I8f658214 into eclair-mr2

* changes:
  Minor tweaks to the mp3 and aac software decoders, propagate duration to output format.

14 years agoMerge change Ic532c956 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 17:15:46 +0000 (09:15 -0800)]
Merge change Ic532c956 into eclair-mr2

* changes:
  Note to self: Don't reverse the arguments to fseek(o)...

14 years agoMerge change Ifea65fb9 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 15:59:34 +0000 (07:59 -0800)]
Merge change Ifea65fb9 into eclair-mr2

* changes:
  Move the emergency call button to the top-right when there's no SIM.

14 years agoSwitching from activity based full screen plugins to a view system overlay.
Derek Sollenberger [Mon, 7 Dec 2009 21:15:13 +0000 (16:15 -0500)]
Switching from activity based full screen plugins to a view system overlay.

14 years agoam d59fb6e7: Updating list of standard Intents in android.content.Intent documentation.
Trevor Johns [Tue, 8 Dec 2009 06:42:46 +0000 (22:42 -0800)]
am d59fb6e7: Updating list of standard Intents in android.content.Intent documentation.

Merge commit 'd59fb6e7435b57d83662b196f5430e6f2bc5427b' into eclair-mr2

* commit 'd59fb6e7435b57d83662b196f5430e6f2bc5427b':
  Updating list of standard Intents in android.content.Intent

14 years agoUpdating list of standard Intents in android.content.Intent
Trevor Johns [Fri, 20 Nov 2009 20:54:57 +0000 (12:54 -0800)]
Updating list of standard Intents in android.content.Intent
documentation.

14 years agoam 9c79938d: Document that some parameters will not be null and fix getSupportedPictu...
Wu-cheng Li [Tue, 8 Dec 2009 03:38:01 +0000 (19:38 -0800)]
am 9c79938d: Document that some parameters will not be null and fix getSupportedPictureFormats.

Merge commit '9c79938d47a3caa06e5fb956955374f30c55992b' into eclair-mr2

* commit '9c79938d47a3caa06e5fb956955374f30c55992b':
  Document that some parameters will not be null and fix getSupportedPictureFormats.

14 years agoPropagate background scheduling class across processes.
Dianne Hackborn [Tue, 8 Dec 2009 01:59:37 +0000 (17:59 -0800)]
Propagate background scheduling class across processes.

This is a very simply implementation: upon receiving an IPC, if the handling
thread is at a background priority (the driver will have taken care of
propagating this from the calling thread), then stick it in to the background
scheduling group.  Plus an API to turn this off for the process, which is
used by the system process.

This also pulls some of the code for managing scheduling classes out of
the Process JNI wrappers and in to some convenience methods in thread.h.

14 years agoUpdate service example code.
Dianne Hackborn [Fri, 4 Dec 2009 23:32:22 +0000 (15:32 -0800)]
Update service example code.

Switch aidl sample to match the change in ApiDemos, add sample code
to the Service class.

14 years agoDocument that some parameters will not be null and fix getSupportedPictureFormats.
Wu-cheng Li [Fri, 4 Dec 2009 11:59:18 +0000 (19:59 +0800)]
Document that some parameters will not be null and fix getSupportedPictureFormats.

14 years agoam 7e90005f: Merge change I705b1d33 into eclair
Mike Lockwood [Tue, 8 Dec 2009 01:22:54 +0000 (17:22 -0800)]
am 7e90005f: Merge change I705b1d33 into eclair

Merge commit '7e90005fcb95d4c20c92e915f4418b94341dda36' into eclair-mr2

* commit '7e90005fcb95d4c20c92e915f4418b94341dda36':
  GpsLocationProvider: Do not release wakelock until the GPS engine is fully off

14 years agoMerge change I705b1d33 into eclair
Android (Google) Code Review [Tue, 8 Dec 2009 01:17:47 +0000 (17:17 -0800)]
Merge change I705b1d33 into eclair

* changes:
  GpsLocationProvider: Do not release wakelock until the GPS engine is fully off

14 years agoam 1067c3cb: Merge change Ia5ef9acd into eclair
Fred Quintana [Tue, 8 Dec 2009 01:04:40 +0000 (17:04 -0800)]
am 1067c3cb: Merge change Ia5ef9acd into eclair

Merge commit '1067c3cbab73a4bc75a2ebd2e3c51077db96fa24' into eclair-mr2

* commit '1067c3cbab73a4bc75a2ebd2e3c51077db96fa24':
  remove an old STOPSHIP comment

14 years agoMerge change Ia5ef9acd into eclair
Android (Google) Code Review [Tue, 8 Dec 2009 00:59:46 +0000 (16:59 -0800)]
Merge change Ia5ef9acd into eclair

* changes:
  remove an old STOPSHIP comment

14 years agoNote to self: Don't reverse the arguments to fseek(o)...
Andreas Huber [Tue, 8 Dec 2009 00:37:37 +0000 (16:37 -0800)]
Note to self: Don't reverse the arguments to fseek(o)...

14 years agoMinor tweaks to the mp3 and aac software decoders, propagate duration to output format.
Andreas Huber [Tue, 8 Dec 2009 00:32:37 +0000 (16:32 -0800)]
Minor tweaks to the mp3 and aac software decoders, propagate duration to output format.

14 years agoFix the mp3 audio extractor that would occasionally return an invalid frame directly...
Andreas Huber [Tue, 8 Dec 2009 00:31:31 +0000 (16:31 -0800)]
Fix the mp3 audio extractor that would occasionally return an invalid frame directly after a seek.

14 years agoam ae88e2d1: Merge change I38227501 into eclair
Jaikumar Ganesh [Mon, 7 Dec 2009 23:53:02 +0000 (15:53 -0800)]
am ae88e2d1: Merge change I38227501 into eclair

Merge commit 'ae88e2d130a4d69bdf7ddc58f6ae512ea63087ff' into eclair-mr2

* commit 'ae88e2d130a4d69bdf7ddc58f6ae512ea63087ff':
  Add API to get Active Sinks.

14 years agoMerge change I38227501 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 23:49:50 +0000 (15:49 -0800)]
Merge change I38227501 into eclair

* changes:
  Add API to get Active Sinks.

14 years agoGpsLocationProvider: Do not release wakelock until the GPS engine is fully off
Mike Lockwood [Mon, 7 Dec 2009 23:43:36 +0000 (18:43 -0500)]
GpsLocationProvider: Do not release wakelock until the GPS engine is fully off

Change-Id: I705b1d33af2d70aa1084cca8f6280fade9461d2c
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoam 9ae9763b: (-s ours) Merge change Ib097fbbf into eclair
Robert Greenwalt [Mon, 7 Dec 2009 23:31:50 +0000 (15:31 -0800)]
am 9ae9763b: (-s ours) Merge change Ib097fbbf into eclair

Merge commit '9ae9763b7e5dd872619b13c889b72b0df176f956' into eclair-mr2

* commit '9ae9763b7e5dd872619b13c889b72b0df176f956':
  DO NOT MERGE  Reverting change I53e91db7.

14 years agoam 9d3cb9bf: Merge change I204e4787 into eclair
Jaikumar Ganesh [Mon, 7 Dec 2009 23:31:43 +0000 (15:31 -0800)]
am 9d3cb9bf: Merge change I204e4787 into eclair

Merge commit '9d3cb9bfc6d7a5f340d2dd8132b201b933687564' into eclair-mr2

* commit '9d3cb9bfc6d7a5f340d2dd8132b201b933687564':
  Fix updating Bluetooth icon on status bar and for Wifi.

14 years agoMerge change Ib097fbbf into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 23:27:19 +0000 (15:27 -0800)]
Merge change Ib097fbbf into eclair

* changes:
  DO NOT MERGE  Reverting change I53e91db7.

14 years agoMerge change I204e4787 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 23:27:02 +0000 (15:27 -0800)]
Merge change I204e4787 into eclair

* changes:
  Fix updating Bluetooth icon on status bar and for Wifi.

14 years agoDO NOT MERGE Reverting change I53e91db7.
Robert Greenwalt [Mon, 7 Dec 2009 23:20:50 +0000 (15:20 -0800)]
DO NOT MERGE  Reverting change I53e91db7.

Accidentally submitted into eclair instead of eclair-mr2.
I apparently rebased my mr2 working dir to eclair by mistake.

Do not merge this so the desired change will survive on mr2 as intended.

bug: 2265222

14 years agoAdd API to get Active Sinks.
Jaikumar Ganesh [Fri, 4 Dec 2009 23:10:54 +0000 (15:10 -0800)]
Add API to get Active Sinks.

Allow incoming connections only when there are no active sinks.

Dr No: Eastham
Bug: 2133530

14 years agoFix updating Bluetooth icon on status bar and for Wifi.
Jaikumar Ganesh [Mon, 7 Dec 2009 18:58:18 +0000 (10:58 -0800)]
Fix updating Bluetooth icon on status bar and for Wifi.

Status bar uses the SINK_STATE_CHANGE intent to determine the icon.
This intent also has the device. Thus, we can get this intent for any
device and we update the icon wrongly. The same problem is with Wifi.

This was not commonly observed till now, but with the car dock changes
its easy to reproduce as we can get an incoming connection from the
car's bluetooth system. For Wifi, this will cause coexistance issues
especially with desk docks.

Dr No: Eastham
Bug: 2133530

14 years agoOptional use of UTF-8 strings in resource bundles
Kenny Root [Fri, 4 Dec 2009 17:38:48 +0000 (09:38 -0800)]
Optional use of UTF-8 strings in resource bundles

Allows the use of UTF-8 for packing resources instead of the
default of UTF-16 for Java. When strings are extracted from the
ResStringPool, they are converted to UTF-16 and the result is
cached for subsequent calls.

When using aapt to package, add in the "-8" switch to pack the
resources using UTF-8. This will result in the value, key, and
type strings as well as the compiled XML string values taking
significantly less space in the final application package in
most scenarios.

Change-Id: I129483f8b3d3b1c5869dced05cb525e494a6c83a

14 years agoam 90d1b745: Merge change I53e91db7 into eclair
Robert Greenwalt [Mon, 7 Dec 2009 23:09:46 +0000 (15:09 -0800)]
am 90d1b745: Merge change I53e91db7 into eclair

Merge commit '90d1b745ec4a7ccd15cdcc185420bf2000b4f7a3' into eclair-mr2

* commit '90d1b745ec4a7ccd15cdcc185420bf2000b4f7a3':
  Filter out minor Connectivity Notifications.

14 years agoMerge change I53e91db7 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 23:04:52 +0000 (15:04 -0800)]
Merge change I53e91db7 into eclair

* changes:
  Filter out minor Connectivity Notifications.

14 years agoMerge change Ifa1fae13 into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 22:54:36 +0000 (14:54 -0800)]
Merge change Ifa1fae13 into eclair-mr2

* changes:
  Revert "dealloc compiled-sql statements before deref'ing them from SQLiteDatabase obj."

14 years agoMerge change Ie70845ca into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 22:41:49 +0000 (14:41 -0800)]
Merge change Ie70845ca into eclair-mr2

* changes:
  Add Sets#newSortedSet()

14 years agoRevert "dealloc compiled-sql statements before deref'ing them from SQLiteDatabase...
Vasu Nori [Mon, 7 Dec 2009 22:38:35 +0000 (14:38 -0800)]
Revert "dealloc compiled-sql statements before deref'ing them from SQLiteDatabase obj."

This reverts commit 6d1ec0d81cd8ecdd390b31e724bac554bb955a94.

14 years agoMerge change I250f2433 into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 22:31:46 +0000 (14:31 -0800)]
Merge change I250f2433 into eclair-mr2

* changes:
  Initial checkin of stagefright MP3 audio decoder based on PV source code.

14 years agoremove an old STOPSHIP comment
Fred Quintana [Mon, 7 Dec 2009 22:23:33 +0000 (14:23 -0800)]
remove an old STOPSHIP comment

14 years agoInitial checkin of stagefright MP3 audio decoder based on PV source code.
Andreas Huber [Mon, 7 Dec 2009 22:22:35 +0000 (14:22 -0800)]
Initial checkin of stagefright MP3 audio decoder based on PV source code.

14 years agoAdd Sets#newSortedSet()
Evan Millar [Mon, 7 Dec 2009 22:01:33 +0000 (14:01 -0800)]
Add Sets#newSortedSet()

14 years agoFilter out minor Connectivity Notifications.
Robert Greenwalt [Mon, 7 Dec 2009 19:33:18 +0000 (11:33 -0800)]
Filter out minor Connectivity Notifications.

Don't send a connectivity change notification if the change is in detailed state only.
IE, Disconnect/Idle -> Disconnect/Scanning should not trigger a connection change
notification.

bug: 2265222

14 years agoMerge change Idff5eb2a into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 21:39:22 +0000 (13:39 -0800)]
Merge change Idff5eb2a into eclair-mr2

* changes:
  Set InputType of WebTextView according to <input> field's type.

14 years agoSet InputType of WebTextView according to <input> field's type.
Leon Scroggins [Mon, 7 Dec 2009 18:38:07 +0000 (13:38 -0500)]
Set InputType of WebTextView according to <input> field's type.

Help fix http://b/issue?id=2150538 and http://b/issue?id=1890360

Use the <input type> information to set the InputType, so that
the IME can show the correct options.  Also consolidate setup
of WebTextView into setType().

Requires a change in external/webkit.

14 years agoExpose onReceivedSslError() so that the WebView client
Grace Kloba [Fri, 4 Dec 2009 03:12:49 +0000 (19:12 -0800)]
Expose onReceivedSslError() so that the WebView client
can accept the error and continue.

Fix http://b/issue?id=2299152

14 years agoMerge change I234162b0 into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 21:05:46 +0000 (13:05 -0800)]
Merge change I234162b0 into eclair-mr2

* changes:
  Add "res" support for WebView.

14 years agoMerge change I3c256cf3 into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 21:02:56 +0000 (13:02 -0800)]
Merge change I3c256cf3 into eclair-mr2

* changes:
  More SoundPool cleanup. Remove mSoundPoolRef and unused notify callback.

14 years agoMore SoundPool cleanup. Remove mSoundPoolRef and unused notify callback.
Dave Sparks [Mon, 7 Dec 2009 21:01:01 +0000 (13:01 -0800)]
More SoundPool cleanup. Remove mSoundPoolRef and unused notify callback.

14 years agoam fd2f6358: Merge change I771bebb9 into eclair
Jason Sams [Mon, 7 Dec 2009 21:00:25 +0000 (13:00 -0800)]
am fd2f6358: Merge change I771bebb9 into eclair

Merge commit 'fd2f6358321e95d661f24ba4e08327268035aa59' into eclair-mr2

* commit 'fd2f6358321e95d661f24ba4e08327268035aa59':
  Add Java exceptions to catch RS calls with no context or no surface.

14 years agoMerge change I771bebb9 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 20:55:38 +0000 (12:55 -0800)]
Merge change I771bebb9 into eclair

* changes:
  Add Java exceptions to catch RS calls with no context or no surface.

14 years agoMove the emergency call button to the top-right when there's no SIM.
Daniel Sandler [Mon, 7 Dec 2009 14:23:46 +0000 (09:23 -0500)]
Move the emergency call button to the top-right when there's no SIM.

In the process, clean up the way the lock screen's "toasts"
are handled so that those also match the desired UI.

http://b/2260798

14 years agoMerge change I21eb4b87 into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 20:46:56 +0000 (12:46 -0800)]
Merge change I21eb4b87 into eclair-mr2

* changes:
  Allow room for descenders in am/pm text.

14 years agoMerge change Ic0e3ddf8 into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 20:40:17 +0000 (12:40 -0800)]
Merge change Ic0e3ddf8 into eclair-mr2

* changes:
  Remove unused Java object reference in native SoundPool code.

14 years agoAdd Java exceptions to catch RS calls with no context or no surface.
Jason Sams [Mon, 7 Dec 2009 20:40:12 +0000 (12:40 -0800)]
Add Java exceptions to catch RS calls with no context or no surface.

14 years agoam 0a08029f: Fix issue 2306779: Runtime restart - Init failed at android.media.ToneG...
Eric Laurent [Mon, 7 Dec 2009 20:36:30 +0000 (12:36 -0800)]
am 0a08029f: Fix issue  2306779: Runtime restart - Init failed at android.media.ToneGenerator.

Merge commit '0a08029fc9a370c6ef2a2a6fd1d800d9159b61f8' into eclair-mr2

* commit '0a08029fc9a370c6ef2a2a6fd1d800d9159b61f8':
  Fix issue  2306779: Runtime restart - Init failed at android.media.ToneGenerator.

14 years agoRemove unused Java object reference in native SoundPool code.
Dave Sparks [Mon, 7 Dec 2009 20:36:20 +0000 (12:36 -0800)]
Remove unused Java object reference in native SoundPool code.

14 years agoAdd "res" support for WebView.
Grace Kloba [Mon, 7 Dec 2009 18:11:28 +0000 (10:11 -0800)]
Add "res" support for WebView.

http://b/issue?id=2296839

14 years agoFix issue 2306779: Runtime restart - Init failed at android.media.ToneGenerator.
Eric Laurent [Mon, 7 Dec 2009 18:53:10 +0000 (10:53 -0800)]
Fix issue  2306779: Runtime restart - Init failed at android.media.ToneGenerator.

The ToneGenerator failed to initialize because no more tracks were available in AudioFlinger mixer.

All tracks were used because the duplicating output was failing to free the tracks on audio hardware output mixer when exiting due to a misplaced test on output activity: output tracks where only freed if the duplicating output was active when exiting.

The fix consists in freeing the output tracks when the duplicating thread is destroyed without condition.

14 years agoFixing the build, only instantiate the software aac decoder in full stagefright builds.
Andreas Huber [Mon, 7 Dec 2009 19:23:44 +0000 (11:23 -0800)]
Fixing the build, only instantiate the software aac decoder in full stagefright builds.

14 years agoMerge change I9c6e1f90 into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 19:03:28 +0000 (11:03 -0800)]
Merge change I9c6e1f90 into eclair-mr2

* changes:
  Initial check in of stagefright software AAC decoder based on PV source code.

14 years agoam 6d42d806: Merge change I9cc489a2 into eclair
Eric Laurent [Mon, 7 Dec 2009 19:03:17 +0000 (11:03 -0800)]
am 6d42d806: Merge change I9cc489a2 into eclair

Merge commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7' into eclair-mr2

* commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7':
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.

14 years agoInitial check in of stagefright software AAC decoder based on PV source code.
Andreas Huber [Mon, 7 Dec 2009 17:56:32 +0000 (09:56 -0800)]
Initial check in of stagefright software AAC decoder based on PV source code.

14 years agoMerge change I9cc489a2 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 19:00:54 +0000 (11:00 -0800)]
Merge change I9cc489a2 into eclair

* changes:
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.

14 years agoam 8445f367: Merge change Ibb9b1de1 into eclair
Yu Shan Emily Lau [Mon, 7 Dec 2009 18:54:38 +0000 (10:54 -0800)]
am 8445f367: Merge change Ibb9b1de1 into eclair

Merge commit '8445f367070514dce3154be73827107b8a93f234' into eclair-mr2

* commit '8445f367070514dce3154be73827107b8a93f234':
  1) Capture the start memory before the test started

14 years agoMerge change Ibb9b1de1 into eclair
Android (Google) Code Review [Mon, 7 Dec 2009 18:51:16 +0000 (10:51 -0800)]
Merge change Ibb9b1de1 into eclair

* changes:
  1) Capture the start memory before the test started 2) Report the mem diff to zero if it is negative.

14 years agoMerge change I91eb0354 into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 17:57:12 +0000 (09:57 -0800)]
Merge change I91eb0354 into eclair-mr2

* changes:
  Change OMXCodec::Create to return an sp<MediaSource> instead of an sp<OMXCodec>, this is more general and does not sacrifice any functionality as the remaining OMXCodec APIs are not meant to be public anyway.

14 years agoChange OMXCodec::Create to return an sp<MediaSource> instead of an sp<OMXCodec>,...
Andreas Huber [Mon, 7 Dec 2009 17:43:00 +0000 (09:43 -0800)]
Change OMXCodec::Create to return an sp<MediaSource> instead of an sp<OMXCodec>, this is more general and does not sacrifice any functionality as the remaining OMXCodec APIs are not meant to be public anyway.

14 years agoShow search icon for <input type="search"> fields.
Leon Scroggins [Fri, 4 Dec 2009 19:50:18 +0000 (14:50 -0500)]
Show search icon for <input type="search"> fields.

Along with a change to external/webkit, fixes http://b/issue?id=2299650

14 years agoMerge change I9088d29b into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 15:14:41 +0000 (07:14 -0800)]
Merge change I9088d29b into eclair-mr2

* changes:
  Improves the touch-based text selection UI in text boxes.

14 years agoAllow room for descenders in am/pm text.
Daniel Sandler [Thu, 3 Dec 2009 16:46:03 +0000 (11:46 -0500)]
Allow room for descenders in am/pm text.

The lock screen clock layout was previously cropping them
off; in locales that use "PM" this is fine, but Spanish
(e.g.) uses "p.m."

Fixes http://b/2277477

14 years agoFix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent ...
Eric Laurent [Sat, 5 Dec 2009 13:20:01 +0000 (05:20 -0800)]
Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.

Fixed AudioFlinger::openInput() broken in change ddb78e7753be03937ad57ce7c3c842c52bdad65e
so that an invalid IO handle (0) is returned in case of failure.
Applied the same correction to openOutput().
Modified RecordThread start procedure so that a failure occuring during the first read from audio input stream is detected and causes
the record start to fail.
Modified RecordThread stop procedure to make sure that audio input stream fd is closed before we exit the stop function.

Fixed AudioRecord JAVA and JNI implementation to take status of native AudioRecord::start() into account
and not change mRecordingState to RECORDSTATE_RECORDING if start fails.

14 years agoam 0019215f: Revert "When using MDP, we needed to use a texture for diming."
Dima Zavin [Mon, 7 Dec 2009 09:36:26 +0000 (01:36 -0800)]
am 0019215f: Revert "When using MDP, we needed to use a texture for diming."

Merge commit '0019215fc395ef12c191049b1903eeabf70859cf' into eclair-mr2

* commit '0019215fc395ef12c191049b1903eeabf70859cf':
  Revert "When using MDP, we needed to use a texture for diming."

14 years agoRevert "When using MDP, we needed to use a texture for diming."
Dima Zavin [Mon, 7 Dec 2009 08:17:06 +0000 (00:17 -0800)]
Revert "When using MDP, we needed to use a texture for diming."

This reverts commit bf0c320afbf6bf2441916755ecb443b64afbe73f.

14 years agoRename SearchableInfo in preloaded-classes
Bjorn Bringert [Sat, 5 Dec 2009 21:40:46 +0000 (21:40 +0000)]
Rename SearchableInfo in preloaded-classes

Without this, boot fails with:

12-05 21:06:56.984: ERROR/Zygote(435):
java.lang.IllegalStateException: Missing class(es) for preloading,
update preloaded-classes [android.server.search.SearchableInfo]

This was caused by https://android-git.corp.google.com/g/34797

Change-Id: I195b7e72a411401e2de8c1d6c2e7db0fe1badec6

14 years agoMerge change I9589f9c2 into eclair-mr2
Android (Google) Code Review [Sat, 5 Dec 2009 18:21:01 +0000 (10:21 -0800)]
Merge change I9589f9c2 into eclair-mr2

* changes:
  Move android.server.search.SearchableInfo to android.app

14 years agoMerge change I4039545e into eclair-mr2
Android (Google) Code Review [Sat, 5 Dec 2009 01:01:54 +0000 (17:01 -0800)]
Merge change I4039545e into eclair-mr2

* changes:
  Fire OnGroupClick events when collapsing a group in ExpandableListView.

14 years agoFire OnGroupClick events when collapsing a group in ExpandableListView.
Romain Guy [Sat, 5 Dec 2009 00:51:52 +0000 (16:51 -0800)]
Fire OnGroupClick events when collapsing a group in ExpandableListView.

14 years agoMerge change I5f1d2d24 into eclair-mr2
Android (Google) Code Review [Sat, 5 Dec 2009 00:46:28 +0000 (16:46 -0800)]
Merge change I5f1d2d24 into eclair-mr2

* changes:
  move event log tags used by ActivityManager into this package

14 years agomove event log tags used by ActivityManager into this package
Doug Zongker [Fri, 4 Dec 2009 20:52:44 +0000 (12:52 -0800)]
move event log tags used by ActivityManager into this package

We can now locate event log tag definitions in individual packages
(and java constants for the tag numbers get auto-generated), so move
all the tags used by the system server into the package.

14 years agoMerge change I88721afe into eclair-mr2
Android (Google) Code Review [Fri, 4 Dec 2009 23:59:59 +0000 (15:59 -0800)]
Merge change I88721afe into eclair-mr2

* changes:
  Fix bitmask in aapt's StringPool length construction