OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 scree...
Adam Powell [Thu, 14 Jan 2010 02:00:35 +0000 (18:00 -0800)]
Merge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 screen can't reliably handle translation and scaling at the same time." into eclair

14 years agoTransformGestureDetector is now ScaleGestureDetector - scope reduced.
Adam Powell [Thu, 14 Jan 2010 00:29:27 +0000 (16:29 -0800)]
TransformGestureDetector is now ScaleGestureDetector - scope reduced.
N1 screen can't reliably handle translation and scaling at the same time.

14 years agoADT/Layoutlib: Reimplement parts of BitmapFactory
Xavier Ducrohet [Thu, 14 Jan 2010 00:43:07 +0000 (16:43 -0800)]
ADT/Layoutlib: Reimplement parts of BitmapFactory

The original bitmap factory is mostly done in native and deals
with the normal android Bitmap class which has been replaced
in the layoutlib by a bitmap that is merely a wrapper around
an AWT BufferedImage.

This new BitmapFactory creates the layoutlib version of
Bitmap all in Java.

Change-Id: Ice8b5d19141a9a43f83349c159201bf85604b3b0

14 years agoBackport l53e91db7 from master.
Robert Greenwalt [Wed, 13 Jan 2010 17:36:31 +0000 (09:36 -0800)]
Backport l53e91db7 from master.

Prevents sending out ConnectivityManager broadcasts when the connection
is repeating the same major state.  This means continued wifi scanning
does not generate CM broadcasts (though wifi state broadcasts continue).

bug: 2265222
Dr No approval: jsh

14 years agoMerge "Only output proguard keep for nonempty attribute name in the AndroidManifest...
Ying Wang [Wed, 13 Jan 2010 00:31:14 +0000 (16:31 -0800)]
Merge "Only output proguard keep for nonempty attribute name in the AndroidManifest.xml." into eclair

14 years agoOnly output proguard keep for nonempty attribute name in the AndroidManifest.xml.
Ying Wang [Wed, 13 Jan 2010 00:08:23 +0000 (16:08 -0800)]
Only output proguard keep for nonempty attribute name in the AndroidManifest.xml.

Before this change, aapt generates proguard keep flags like
"-keep class com.android.somepackage.", which proguard doesn't recognize.

14 years agoAdded TransformGestureDetector (still in progress)
Adam Powell [Thu, 7 Jan 2010 01:33:52 +0000 (17:33 -0800)]
Added TransformGestureDetector (still in progress)
Modified VelocityTracker to track multiple pointers
Added TransformTest

14 years agoMerge "DO NOT MERGE." into eclair
Grace Kloba [Tue, 12 Jan 2010 18:00:03 +0000 (10:00 -0800)]
Merge "DO NOT MERGE." into eclair

14 years agoMerge "framework: storage: Ensure that filesystems are unmounted before shutdown...
San Mehat [Tue, 12 Jan 2010 17:59:35 +0000 (09:59 -0800)]
Merge "framework: storage: Ensure that filesystems are unmounted before shutdown/reboot" into eclair

14 years agoDO NOT MERGE.
Grace Kloba [Tue, 12 Jan 2010 01:28:01 +0000 (17:28 -0800)]
DO NOT MERGE.

Couple of tweak for multi-touch in WebView.

1. If we can't zoom, don't get in multitouch mode.
   This avoid the logo in google.com looks fuzzy.
2. Reset mAnchor after sending VIEW_SIZE_CHANGED.
3. Don't call zoom when finishing multitouch unless
   zoom is called before.
4. Change the width for nativeSetSize, which was modified
   in the last check-in. The new logic should make both
   msn.com and news.google.com looks correct.
5. Use the pressure instead of distance/time to filter
   out the jitter just before lifting the finger.

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

14 years agoframework: storage: Ensure that filesystems are unmounted before shutdown/reboot
San Mehat [Tue, 12 Jan 2010 15:57:42 +0000 (07:57 -0800)]
framework: storage: Ensure that filesystems are unmounted before shutdown/reboot

Signed-off-by: San Mehat <san@google.com>
14 years agoMerge "LayoutLib: support for custom styles." into eclair
Xavier Ducrohet [Mon, 11 Jan 2010 23:25:16 +0000 (15:25 -0800)]
Merge "LayoutLib: support for custom styles." into eclair

14 years agoLayoutLib: support for custom styles.
Xavier Ducrohet [Mon, 11 Jan 2010 22:28:03 +0000 (14:28 -0800)]
LayoutLib: support for custom styles.

Change-Id: Ic6c2ef234589f45db15024261d698066aa6e2f4e

14 years agoDon't set priority in Bonding state.
Jaikumar Ganesh [Sat, 9 Jan 2010 02:26:14 +0000 (18:26 -0800)]
Don't set priority in Bonding state.
This was causing A2DP get connected for Car Docks, when user didn't select it.

Bug: 2364328
Dr No: Eastham

14 years agoMerge "Hide unused fields" into eclair
Tom Taylor [Mon, 11 Jan 2010 22:11:46 +0000 (14:11 -0800)]
Merge "Hide unused fields" into eclair

14 years agoMerge "Adding BusinessCard sample to Android.mk and to the Resources TOC on developer...
Trevor Johns [Mon, 11 Jan 2010 22:00:54 +0000 (14:00 -0800)]
Merge "Adding BusinessCard sample to Android.mk and to the Resources TOC on developer.android.com." into eclair

14 years agoAdding BusinessCard sample to Android.mk and to the Resources TOC on developer.androi...
Trevor Johns [Fri, 8 Jan 2010 00:26:39 +0000 (16:26 -0800)]
Adding BusinessCard sample to Android.mk and to the Resources TOC on developer.android.com.

14 years agoMerge "SDK doc change: Miscellaneous fixes." into eclair
Dirk Dougherty [Mon, 11 Jan 2010 19:33:57 +0000 (11:33 -0800)]
Merge "SDK doc change: Miscellaneous fixes." into eclair

14 years agoSDK doc change: Miscellaneous fixes.
Dirk Dougherty [Thu, 7 Jan 2010 18:48:19 +0000 (10:48 -0800)]
SDK doc change: Miscellaneous fixes.

Bug: 2160782
Change-Id: I5f1e449bcb2c8f715858b6819f041349088a8a32

14 years agoFirst draft of multitouch in the WebView.
Grace Kloba [Wed, 6 Jan 2010 23:49:29 +0000 (15:49 -0800)]
First draft of multitouch in the WebView.

Currently we just handle a simple pinch action. We
will wait for framework support for more complicated
gesture.

When pinch in the webview, zoom level will be changed
on the fly. But we won't re-wrap the text until user
action like double tap, rotate screen.

Double tap will re-layout the page and wrap the text
to the screen width. We try to keep the spot you
tapped at the same place on the screen after relayout.
If the block after relayout fully fit on the current
screen, we will center it for easy reading.

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

14 years agoMerge "DO NOT MERGE A library for encoding and decoding ETC1 textures." into eclair
Jack Palevich [Sun, 10 Jan 2010 05:51:05 +0000 (21:51 -0800)]
Merge "DO NOT MERGE A library for encoding and decoding ETC1 textures." into eclair

14 years agoMerge "add eventlog message whenever sqlite reports db corruption error" into eclair
Vasu Nori [Fri, 8 Jan 2010 23:09:12 +0000 (15:09 -0800)]
Merge "add eventlog message whenever sqlite reports db corruption error" into eclair

14 years agojavadoc change: fix the selector sample XML in the class
Scott Main [Fri, 8 Jan 2010 20:21:00 +0000 (12:21 -0800)]
javadoc change: fix the selector sample XML in the class
description (was broken due to improper ordering)

14 years agoMerge "Immediately close the shade when the status bar is disabled. (DO NOT MERGE...
Daniel Sandler [Fri, 8 Jan 2010 20:31:03 +0000 (12:31 -0800)]
Merge "Immediately close the shade when the status bar is disabled. (DO NOT MERGE)" into eclair

14 years agoadd eventlog message whenever sqlite reports db corruption error
Vasu Nori [Fri, 8 Jan 2010 18:11:24 +0000 (10:11 -0800)]
add eventlog message whenever sqlite reports db corruption error

14 years agoFix issue 2361949: A2DP suspend parameters set wrongly.
Eric Laurent [Fri, 8 Jan 2010 15:55:33 +0000 (07:55 -0800)]
Fix issue 2361949: A2DP suspend parameters set wrongly.

Move reset of A2DP suspend state from handleSinkStateChange() in BluetoothA2dpService to
BluetoothA2dp.ACTION_SINK_STATE_CHANGED intent receiver in AudioService.
Previous implementation could cause a false reset of suspend state if a new sink attempted to
connect while A2DP was suspended.
New implementation only resets A2DP suspend state when a new sink is actually connected.

14 years agoDO NOT MERGE A library for encoding and decoding ETC1 textures.
Jack Palevich [Fri, 8 Jan 2010 08:00:21 +0000 (16:00 +0800)]
DO NOT MERGE A library for encoding and decoding ETC1 textures.

The ETC1 compressed texture format is commonly
supported by OpenGL ES 2.0-capable devices.

This change adds a host-only version of the library. It is used by
the etc1tool.

14 years agoConverting tabs to spaces in docs/html/resources/resources_toc.cs.
Trevor Johns [Thu, 7 Jan 2010 23:44:33 +0000 (15:44 -0800)]
Converting tabs to spaces in docs/html/resources/resources_toc.cs.

14 years agoMerge "SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean...
Dirk Dougherty [Thu, 7 Jan 2010 20:30:14 +0000 (12:30 -0800)]
Merge "SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files." into eclair

14 years agoSDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up...
Dirk Dougherty [Wed, 6 Jan 2010 01:03:39 +0000 (17:03 -0800)]
SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.

Bug: 2160782
Change-Id: I537194ecddc53d4f0e8456ce958ae8db6f521593

14 years agoMerge "docs: fix some broken links" into eclair
Scott Main [Thu, 7 Jan 2010 18:18:45 +0000 (10:18 -0800)]
Merge "docs: fix some broken links" into eclair

14 years agoMerge "Move Layoutlib API library to sdk.git" into eclair
Xavier Ducrohet [Thu, 7 Jan 2010 17:08:06 +0000 (09:08 -0800)]
Merge "Move Layoutlib API library to sdk.git" into eclair

14 years agoMove Layoutlib API library to sdk.git
Xavier Ducrohet [Thu, 7 Jan 2010 16:30:16 +0000 (08:30 -0800)]
Move Layoutlib API library to sdk.git

Change-Id: I53f1c5d52447b6215ae7a6f2f1f82d0879e952ca

14 years agoMerge "Fix media option settings for A2DP." into eclair
Jaikumar Ganesh [Wed, 6 Jan 2010 21:38:27 +0000 (13:38 -0800)]
Merge "Fix media option settings for A2DP." into eclair

14 years agoFix media option settings for A2DP.
Jaikumar Ganesh [Wed, 6 Jan 2010 19:41:41 +0000 (11:41 -0800)]
Fix media option settings for A2DP.

Incoming connections move the A2DP state to Connecting
before getting authorized, which messes up the priorities.

Dr No: Eastham
Bug: 2358414

14 years agoFix issue #2357259: aapt tool prints "uses-configuation:"
Dianne Hackborn [Wed, 6 Jan 2010 19:29:54 +0000 (11:29 -0800)]
Fix issue #2357259: aapt tool prints "uses-configuation:"

Change-Id: Id3ea3a86bd4d385441b05fcbe85b8ab62c35afff

14 years agoStill use ro.monkey
Ying Wang [Tue, 5 Jan 2010 02:51:25 +0000 (18:51 -0800)]
Still use ro.monkey

http://b/issue?id=1681101

14 years agoHide unused fields
Tom Taylor [Wed, 6 Jan 2010 00:25:53 +0000 (16:25 -0800)]
Hide unused fields

When ContactHeaderWidget.bindFromPhoneNumber is called with a number
that's not in contacts, onQueryComplete takes a path that doesn't hide
fields that don't apply to the current phone number. As a result, the
user sees the new number, but old data from the previous display (such
as the facebook status). With this change, those fields are hidden.
Fixes bug 2336977.

Change-Id: Ib6253c18dc58c3d28b463c87d5d195a84d613600

14 years agodocs: update the device dashboard
Scott Main [Tue, 5 Jan 2010 18:46:44 +0000 (10:46 -0800)]
docs: update the device dashboard

14 years agoRename ro.monkey to monkey.running
Ying Wang [Mon, 4 Jan 2010 19:56:24 +0000 (11:56 -0800)]
Rename ro.monkey to monkey.running

So that Monkey can set ro.mokey before running and reset it after running.

14 years agoImmediately close the shade when the status bar is disabled. (DO NOT MERGE)
Daniel Sandler [Wed, 23 Dec 2009 20:47:18 +0000 (14:47 -0600)]
Immediately close the shade when the status bar is disabled. (DO NOT MERGE)

This provides a quick fix for http://b/2298803 (if the
in-call UI comes up while the user is holding the
windowshade, the shade sticks in place and the display
becomes unresponsive).

Merged from master (I92a824fe).

TODO: safely restore code to animate the shade closed rather
than simply causing it to disappear.

Change-Id: I53dc76fdfe86636f30f37a223a88d27a5766d3eb

14 years agoMerge change Id8e98194 into eclair
Android (Google) Code Review [Wed, 23 Dec 2009 07:34:22 +0000 (23:34 -0800)]
Merge change Id8e98194 into eclair

* changes:
  Fix issues 2333450 and 2333559:

14 years agoMerge change I49c9a3a3 into eclair
Android (Google) Code Review [Wed, 23 Dec 2009 02:29:29 +0000 (18:29 -0800)]
Merge change I49c9a3a3 into eclair

* changes:
  Fix bug 2325244 screen turns black for a brief period of time

14 years agoFix issues 2333450 and 2333559:
Eric Laurent [Thu, 17 Dec 2009 11:12:59 +0000 (03:12 -0800)]
Fix issues 2333450 and 2333559:

Add new config values to AudioSystem::FOR_DOCK force usage to differenciate car and desk docks.
Use a receiver for the sticky Intent.ACTION_DOCK_EVENT in AudioService to detect the type
of dock and select force usage accordingly.

14 years agoMerge change Iccfa50fe into eclair
Android (Google) Code Review [Tue, 22 Dec 2009 17:50:42 +0000 (09:50 -0800)]
Merge change Iccfa50fe into eclair

* changes:
  Fix issue 2323920: Notification & A2DP audio stutter.

14 years agoFix issue 2323920: Notification & A2DP audio stutter.
Eric Laurent [Fri, 18 Dec 2009 13:47:48 +0000 (05:47 -0800)]
Fix issue 2323920: Notification & A2DP audio stutter.

Modified AudioFlinger duplicating output thread so that audio tracks are not mixed until both outputs (A2DP and hardware) have exited standby mode. This avoids to have one output far ahead of the other and audio frames dropped because the compensation mechanism cannot keep up.
Also calculate the maximum wait time in OutputTrack::write() based the on smallest frame count of all output threads instead of the frame count of the thread the OutputTrack is connected to. This avoids starving the thread with the smallest frame count by waiting too long on the other thread.
Since the frame count was reduced on hardware output to reduce latency the difference between A2DP and hardware outputs frame counts had become problematic.
Also increased the number of overflow buffers to cope with bigger timing differences among outputs.

14 years agoFix bug 2325244 screen turns black for a brief period of time
Jack Palevich [Mon, 21 Dec 2009 06:47:35 +0000 (14:47 +0800)]
Fix bug 2325244 screen turns black for a brief period of time

The problem was a black first frame when creating a surface, or a
garbage frame when the surface was resized.

The cause was lack of synchronization between the render thread and the
UI thread. The UI thread would typically return before the render thread
had a chance to draw its first frame.

The fix was to make the UI thread wait until at least one frame had been
rendered by the rendering thread.

The waiting is done in the surfaceChanged method because we know
that surfaceChanged will be called in both the surface created
and surface changed cases.

14 years agoMerge change I551ed729 into eclair
Android (Google) Code Review [Mon, 21 Dec 2009 22:17:15 +0000 (14:17 -0800)]
Merge change I551ed729 into eclair

* changes:
  Use UNDEFINED priorities when unpaired.

14 years agoMerge change I577dd1f3 into eclair
Android (Google) Code Review [Mon, 21 Dec 2009 22:16:44 +0000 (14:16 -0800)]
Merge change I577dd1f3 into eclair

* changes:
  Accept incoming connections if no other sink is in NonDisconnecting state.

14 years agodocs: fix some broken links
Scott Main [Mon, 21 Dec 2009 19:53:00 +0000 (11:53 -0800)]
docs: fix some broken links

14 years agoupload new dev site robots.txt to disallow old tutorial and
Scott Main [Mon, 21 Dec 2009 19:32:22 +0000 (11:32 -0800)]
upload new dev site robots.txt to disallow old tutorial and
samples directories (while old pages are still orphaned) and upload
new sitemap including new resources pages.

14 years agoMerge change I2703edac into eclair
Android (Google) Code Review [Sat, 19 Dec 2009 20:30:15 +0000 (12:30 -0800)]
Merge change I2703edac into eclair

* changes:
  docs: add new device features for the uses-feature manifest element and edit some other pieces.

14 years agodocs: add new device features for the uses-feature
Scott Main [Sat, 19 Dec 2009 08:55:18 +0000 (00:55 -0800)]
docs: add new device features for the uses-feature
manifest element and edit some other pieces.

14 years agoMerge change Iab5952e1 into eclair
Android (Google) Code Review [Sat, 19 Dec 2009 08:36:48 +0000 (00:36 -0800)]
Merge change Iab5952e1 into eclair

* changes:
  docs: add "required" attribute to the <uses-feature> docs and add a note to the CAMERA permission stating that it enables the <uses-feature> for camera. This is an incrimental update for the 2.0.1 docs. More changes to come for the 2.1 docs to include more features

14 years agodocs: add "required" attribute to the <uses-feature> docs
Scott Main [Fri, 18 Dec 2009 02:01:04 +0000 (18:01 -0800)]
docs: add "required" attribute to the <uses-feature> docs
and add a note to the CAMERA permission stating that it enables
the <uses-feature> for camera.
This is an incrimental update for the 2.0.1 docs. More changes
to come for the 2.1 docs to include more features

14 years agodoc change: add 7 diffs report.
Dirk Dougherty [Sat, 19 Dec 2009 06:52:59 +0000 (22:52 -0800)]
doc change: add 7 diffs report.

Bug: 2160782
Change-Id: Ic8444f43d21ffa0b6d7f679f80f86db88a95d189

14 years agoMerge change Ie4b0d302 into eclair
Android (Google) Code Review [Sat, 19 Dec 2009 01:13:53 +0000 (17:13 -0800)]
Merge change Ie4b0d302 into eclair

* changes:
  docs: update the site homepage with 2.1 announcement

14 years agoMerge change Ic31c0f62 into eclair
Android (Google) Code Review [Sat, 19 Dec 2009 01:12:36 +0000 (17:12 -0800)]
Merge change Ic31c0f62 into eclair

* changes:
  docs: update the Bluetooth guide with links to the sample app, scrub the sibling files, and revise the Bluetooth package summary to point to the BT dev guide.

14 years agoIssue #2335763: Cant dial emergency number on my device
Dianne Hackborn [Sat, 19 Dec 2009 00:02:50 +0000 (16:02 -0800)]
Issue #2335763: Cant dial emergency number on my device

This may fix the issue, but we have no repro steps so no way to
make sure.

What appeared to be going on was that the emergency dialer was
created, but still had the starting preview window above it.  We
were stuck in this state because the preview window didn't have
the "hide lock screen" flag set, so the lock screen would never
be removed, and thus we would never take care of finishing the
show of the emergency dialer (because it was not visible) and
thus not remove the starting window.

The solution here is to simply propagate the lock flags up to the
starting window.

Change-Id: I6da9f6494537f0661d9d230664ebf745c293ea7d

14 years agodoc change: Add ?details query to doc about Android Market.
Dirk Dougherty [Thu, 17 Dec 2009 22:49:26 +0000 (14:49 -0800)]
doc change: Add ?details query to doc about Android Market.

Bug: 2160782
Change-Id: I86d1339e5bc5a36dbd033a7938764818a27b4d81

14 years agoAccept incoming connections if no other sink is in NonDisconnecting state.
Jaikumar Ganesh [Thu, 17 Dec 2009 22:59:10 +0000 (14:59 -0800)]
Accept incoming connections if no other sink is in NonDisconnecting state.

Bluez sends SINK_STATE_CHANGE before onAgentAuthorize, so
we may be already in CONNECTING state. This will happen with
some A2DP kits which don't like us connecting and thus we will
never be able to connect to them.

Bug:2335345
Dr No: Hiroshi

14 years agoMerge change I75bb4c98 into eclair
Android (Google) Code Review [Thu, 17 Dec 2009 18:31:19 +0000 (10:31 -0800)]
Merge change I75bb4c98 into eclair

* changes:
  doc change: Move commit 4075b4ced from guide/appendix/faq to resources/faq.

14 years agoMerge change I3f67758f into eclair
Android (Google) Code Review [Thu, 17 Dec 2009 18:28:06 +0000 (10:28 -0800)]
Merge change I3f67758f into eclair

* changes:
  doc change: remove existing (unchanged since sdk) samples from zip. This now contains only new samples.

14 years agodoc change: Move commit 4075b4ced from guide/appendix/faq to resources/faq.
Dirk Dougherty [Thu, 17 Dec 2009 18:15:23 +0000 (10:15 -0800)]
doc change: Move commit 4075b4ced from guide/appendix/faq to resources/faq.

Bug: 2315781
Change-Id: I75bb4c98fa48af47c935787a5ab30ca7c1a8091d

14 years agodoc change: remove existing (unchanged since sdk) samples from zip. This now contains...
Dirk Dougherty [Thu, 17 Dec 2009 18:07:46 +0000 (10:07 -0800)]
doc change: remove existing (unchanged since sdk) samples from zip. This now contains only new samples.

Bug:2160782
Change-Id: I3f67758f207df0fdde8a46d40ba8d5873097e460

14 years agoadd -since flag to droiddoc options for 7.xml,
Scott Main [Thu, 17 Dec 2009 05:41:10 +0000 (21:41 -0800)]
add -since flag to droiddoc options for 7.xml,
to apply api filtering to the reference

14 years agodocs: update the Bluetooth guide with links to the sample
Scott Main [Thu, 17 Dec 2009 02:32:55 +0000 (18:32 -0800)]
docs: update the Bluetooth guide with links to the sample
app, scrub the sibling files, and revise the Bluetooth package
summary to point to the BT dev guide.

14 years agoMerge change I7d67e1b3 into eclair
Android (Google) Code Review [Thu, 17 Dec 2009 02:20:05 +0000 (18:20 -0800)]
Merge change I7d67e1b3 into eclair

* changes:
  docs: small edits

14 years agodocs: small edits
Scott Main [Thu, 17 Dec 2009 02:14:37 +0000 (18:14 -0800)]
docs: small edits

14 years agoMerge change I354261e2 into eclair
Android (Google) Code Review [Wed, 16 Dec 2009 23:30:02 +0000 (15:30 -0800)]
Merge change I354261e2 into eclair

* changes:
  docs: small edit to live wallpaper sentence

14 years agodocs: small edit to live wallpaper sentence
Scott Main [Wed, 16 Dec 2009 23:25:35 +0000 (15:25 -0800)]
docs: small edit to live wallpaper sentence

14 years agoUpdating frameworks/base/docs/html/shareables/latest_samples.zip to reflect current...
Trevor Johns [Wed, 16 Dec 2009 23:10:46 +0000 (15:10 -0800)]
Updating frameworks/base/docs/html/shareables/latest_samples.zip to reflect current state of sample code as of 1d151678.

14 years agodocs: update the site homepage with 2.1 announcement
Scott Main [Wed, 16 Dec 2009 20:25:22 +0000 (12:25 -0800)]
docs: update the site homepage with 2.1 announcement

14 years agoMerge change I10073d50 into eclair
Android (Google) Code Review [Wed, 16 Dec 2009 20:14:11 +0000 (12:14 -0800)]
Merge change I10073d50 into eclair

* changes:
  Add Annotation for optional features.

14 years agoMerge change Iccb92649 into eclair
Android (Google) Code Review [Wed, 16 Dec 2009 19:14:40 +0000 (11:14 -0800)]
Merge change Iccb92649 into eclair

* changes:
  docs: fix typo

14 years agodocs: fix typo
Scott Main [Wed, 16 Dec 2009 19:13:40 +0000 (11:13 -0800)]
docs: fix typo

14 years agoMerge change I33eb64c0 into eclair
Android (Google) Code Review [Wed, 16 Dec 2009 19:11:02 +0000 (11:11 -0800)]
Merge change I33eb64c0 into eclair

* changes:
  docs: add 2.1 platform notes, win usb driver notes  and fix some javadocs for PhonestateListener

14 years agodocs: add developer dashboard page and add topic link
Scott Main [Thu, 10 Dec 2009 23:54:54 +0000 (15:54 -0800)]
docs: add developer dashboard page and add topic link
to it from the homepage (replacing the video topic)

14 years agoMerge change Ib43ec8f6 into eclair
Android (Google) Code Review [Wed, 16 Dec 2009 18:05:10 +0000 (10:05 -0800)]
Merge change Ib43ec8f6 into eclair

* changes:
  docs: fix some typos in the manifest docs samples and remove the "one or more of" phrase from the syntax snippet because it interferes with the syntax coloring.

14 years agoMerge change Ia36d8e74 into eclair
Android (Google) Code Review [Wed, 16 Dec 2009 17:59:12 +0000 (09:59 -0800)]
Merge change Ia36d8e74 into eclair

* changes:
  Updates to SDK troubleshooting doc, per bug 2315781.

14 years agodocs: add 2.1 platform notes, win usb driver notes
Scott Main [Tue, 15 Dec 2009 18:47:31 +0000 (10:47 -0800)]
docs: add 2.1 platform notes, win usb driver notes
 and fix some javadocs for PhonestateListener

14 years agoMerge change I8385f59d into eclair
Android (Google) Code Review [Wed, 16 Dec 2009 05:24:15 +0000 (21:24 -0800)]
Merge change I8385f59d into eclair

* changes:
  sdk doc change for esr: Cleanup for resources tab content.

14 years agosdk doc change for esr: Cleanup for resources tab content.
Dirk Dougherty [Wed, 16 Dec 2009 02:42:17 +0000 (18:42 -0800)]
sdk doc change for esr: Cleanup for resources tab content.

Bug:2160782
Change-Id: I8385f59d764156ccc318f71e5d344c7f33330c40

14 years agoUpdates to SDK troubleshooting doc, per bug 2315781.
Katarina Stenstedt [Thu, 10 Dec 2009 19:35:18 +0000 (11:35 -0800)]
Updates to SDK troubleshooting doc, per bug 2315781.

Describes work-around for these problems: Sometimes you
can't view manifest files within Eclipse; you can't run
the GestureBuilder sample on the emulator or uninstall it
from the emulator.

Bug: 2315781
Change-Id: Ia36d8e74a9fccd106ce2cc5e9451846aacba9da4

14 years agoMerge change I0448ef20 into eclair
Android (Google) Code Review [Tue, 15 Dec 2009 16:50:20 +0000 (08:50 -0800)]
Merge change I0448ef20 into eclair

* changes:
  Fix SoundPool buffer size rounding error. Bug 2327620.

14 years agoFix SoundPool buffer size rounding error. Bug 2327620.
Dave Sparks [Tue, 15 Dec 2009 05:12:05 +0000 (21:12 -0800)]
Fix SoundPool buffer size rounding error. Bug 2327620.

AudioTrack was modified earlier to calculate minimum buffer size
based on the hardware reported latency. Previously, it was a
hard-coded value. As a result of this change, the minimum buffer
size is now variable based on hardware latency. On Passion, this
brought out a subtle rounding error in the buffer size calculation
in SoundPool. This can cause AudioTrack creation to fail based on
the requested sample rate. This fix calculates the total buffer
size first, and then does rounding before dividing by the number
of buffers.

14 years agoMerge change I0c8814d1 into eclair
Android (Google) Code Review [Tue, 15 Dec 2009 05:34:44 +0000 (21:34 -0800)]
Merge change I0c8814d1 into eclair

* changes:
  Removing copyrighted backgrounds/logos from ContactManager and Wiktionary samples.

14 years agoRemoving copyrighted backgrounds/logos from ContactManager and Wiktionary
Trevor Johns [Tue, 15 Dec 2009 01:25:36 +0000 (17:25 -0800)]
Removing copyrighted backgrounds/logos from ContactManager and Wiktionary
samples.

Bug: 2326131

14 years agoAdd Annotation for optional features.
Xavier Ducrohet [Tue, 15 Dec 2009 01:52:20 +0000 (17:52 -0800)]
Add Annotation for optional features.

This is used by the SDK to display available features in the
editors.

Change-Id: I10073d503d1b3dcb92a5dc526cd054285b85fa3a

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

* changes:
  Avoid a crash trying to get a substring whose start is after its end.

14 years agoAvoid a crash trying to get a substring whose start is after its end.
Eric Fischer [Tue, 15 Dec 2009 01:33:11 +0000 (17:33 -0800)]
Avoid a crash trying to get a substring whose start is after its end.

Constrain the start of the extracted text, not just the end, to the length
of the content.

Approver: ryanpc
Bug: 2323813

14 years agoAdding list of articles to docs/html/resources/articles/index.jd.
Trevor Johns [Fri, 11 Dec 2009 14:22:05 +0000 (06:22 -0800)]
Adding list of articles to docs/html/resources/articles/index.jd.

14 years agodocs: fix some typos in the manifest docs samples and
Scott Main [Mon, 14 Dec 2009 22:37:53 +0000 (14:37 -0800)]
docs: fix some typos in the manifest docs samples and
remove the "one or more of" phrase from the syntax snippet
because it interferes with the syntax coloring.

14 years agoMerge change Ib1eb2e9e into eclair
Android (Google) Code Review [Mon, 14 Dec 2009 20:11:08 +0000 (12:11 -0800)]
Merge change Ib1eb2e9e into eclair

* changes:
  sdk doc change for esr: Add "resources" tab content. Fix links pointing to the old locations. Change Android.mk to output samples files to resources/samples. Misc other fixes.

14 years agosdk doc change for esr: Add "resources" tab content. Fix links pointing to the old...
Dirk Dougherty [Fri, 11 Dec 2009 00:25:06 +0000 (16:25 -0800)]
sdk doc change for esr: Add "resources" tab content. Fix links pointing to the old locations. Change Android.mk to output samples files to resources/samples. Misc other fixes.

Bug: 2160782
Change-Id: Ib1eb2e9e3fe3a7b2ad16387dbf888646a1195221

14 years agoFix issue #2325782 Missing location features
Dianne Hackborn [Mon, 14 Dec 2009 18:49:42 +0000 (10:49 -0800)]
Fix issue #2325782 Missing location features

Change-Id: I56a07438b5840f530f7508b1ef4904cea737a550

14 years agoFix issue 2324029: In-call (and other) audio screwed up after using Pandora (ERD72).
Eric Laurent [Mon, 14 Dec 2009 11:45:41 +0000 (03:45 -0800)]
Fix issue 2324029: In-call (and other) audio screwed up after using Pandora (ERD72).

The problem is due to spurious headset connection indications received from event observer when a 3.5mm headset w/o mic is connected.
In this particular case, The HeadsetObserver first received a valid indication of headset with mic connection, followed by a headset with mic disconnection and finally a headset w/o mic connection.
The HeadsetObserver delays the headset disconnection intent to leave time to music app to pause music before the output path is switched.
As the last headset w/o mic connection indication is received from the event observer before the intent corresponding to the spurious headset with mic disconnection is broadcast, the later is discarded. Results a state where the headset with mic is always considered as connected.

The fix consists in not canceling pending intents when a new headset state is received and carrying the HeadsetObserver state with the delayed message triggering the broacast of the disconnection intent.

14 years agoam 6f95f461: Fix the dependencies to make online-sdk-docs.
Ying Wang [Sat, 12 Dec 2009 23:38:29 +0000 (15:38 -0800)]
am 6f95f461: Fix the dependencies to make online-sdk-docs.

Merge commit '6f95f461098d5b9e93212cf9cc7c7a6498eecf3a' into eclair

* commit '6f95f461098d5b9e93212cf9cc7c7a6498eecf3a':
  Fix the dependencies to make online-sdk-docs.

14 years agoFix #2269582 Sometimes camera preview screen is truncated
Dianne Hackborn [Fri, 11 Dec 2009 22:51:35 +0000 (14:51 -0800)]
Fix #2269582 Sometimes camera preview screen is truncated

There were a few places in the window manager where we wouldn't cause
a layout after making a window visible.  This would leave it using
whatever size and position it last have since we don't layout windows
when they are not visible.

Also includes a little part I missed in the security issue that
allowed wallpapers to see input on the lock screen.

Change-Id: Icd7e037ad9a67ac936bc7039d87ed68f49502d73

14 years agoMerge change I2ffe306f into eclair
Android (Google) Code Review [Sat, 12 Dec 2009 02:25:21 +0000 (18:25 -0800)]
Merge change I2ffe306f into eclair

* changes:
  Fix issue #2304284: contacts/dialer/recentcalls constantly flashing