OSDN Git Service

android-x86/frameworks-base.git
14 years agoFix issue #2391429: Crash during boot if fwd locked app is incompletely installed
Dianne Hackborn [Fri, 22 Jan 2010 22:46:21 +0000 (14:46 -0800)]
Fix issue #2391429: Crash during boot if fwd locked app is incompletely installed

We need to remove left-over .apk when cleaning up a partially installed app.

Change-Id: I94264549670a2ad01622f746c40c82c30dd3da8d

14 years agoFix issue #2364506: Phone locked up while listening to music and attempting to downlo...
Dianne Hackborn [Tue, 19 Jan 2010 23:36:42 +0000 (15:36 -0800)]
Fix issue #2364506: Phone locked up while listening to music and attempting to download an update

Make sure calls into the notification manager are not done with the
activity manager lock held.

Change-Id: Ib53c3b9f46160d94ee1e7079b1a5123e0d1225d8

14 years agoMerge "ADT/Layoutlib: implement radial gradient." into eclair
Xavier Ducrohet [Tue, 19 Jan 2010 22:48:58 +0000 (14:48 -0800)]
Merge "ADT/Layoutlib: implement radial gradient." into eclair

14 years agoADT/Layoutlib: implement radial gradient.
Xavier Ducrohet [Tue, 19 Jan 2010 18:20:43 +0000 (10:20 -0800)]
ADT/Layoutlib: implement radial gradient.

Also refactored some parts of LinearGradient to reuse them
in the radial gradient

Change-Id: I2ec69bd60190bd014217d989177dcc7269188dea

14 years agoMerge "Add instrumentation as a source tag for proguard keep options." into eclair
Ying Wang [Tue, 19 Jan 2010 19:55:12 +0000 (11:55 -0800)]
Merge "Add instrumentation as a source tag for proguard keep options." into eclair

14 years agoMerge "Prevent orientation change from triggering activity recreation." into eclair
Guang Zhu [Tue, 19 Jan 2010 19:53:00 +0000 (11:53 -0800)]
Merge "Prevent orientation change from triggering activity recreation." into eclair

14 years agoPrevent orientation change from triggering activity recreation.
Guang Zhu [Tue, 19 Jan 2010 19:51:44 +0000 (11:51 -0800)]
Prevent orientation change from triggering activity recreation.

14 years agoMerge "Security fix in accessibility - don't read out password. # 2371557" into eclair
Amith Yamasani [Tue, 19 Jan 2010 19:50:39 +0000 (11:50 -0800)]
Merge "Security fix in accessibility - don't read out password. # 2371557" into eclair

14 years agoMerge "docs: some spelling typos" into eclair
Scott Main [Tue, 19 Jan 2010 19:18:39 +0000 (11:18 -0800)]
Merge "docs: some spelling typos" into eclair

14 years agodocs: some spelling typos
Scott Main [Tue, 19 Jan 2010 19:12:07 +0000 (11:12 -0800)]
docs: some spelling typos

14 years agoDO NOT MERGE
Grace Kloba [Sat, 16 Jan 2010 01:11:27 +0000 (17:11 -0800)]
DO NOT MERGE

If pinched to overview mode, double tap should bring
it back to default instead of just setting the current
mode as overview mode.

14 years agoDO NOT MERGE
Grace Kloba [Sat, 16 Jan 2010 00:08:17 +0000 (16:08 -0800)]
DO NOT MERGE

Make sure the mZoomOverviewWidth is as least as
wide as the current (adjusted) view width.

This should fix the weird state Bart got in with
m.wikipedia.org.

14 years agoDO NOT MERGE
Grace Kloba [Sat, 16 Jan 2010 00:02:57 +0000 (16:02 -0800)]
DO NOT MERGE

Remove testing (enable plugin) code.

No reflow when zoom in, auto reflow when zoom out.

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

14 years agoMerge "If ZoomButttonsController detects more than one pointer, give up the control...
Grace Kloba [Mon, 18 Jan 2010 23:21:38 +0000 (15:21 -0800)]
Merge "If ZoomButttonsController detects more than one pointer, give up the control. This should enable the View behind it, like WebView, will always get the multi-pointer events even when ZoomButtonsController is up." into eclair

14 years agoMerge "DO NOT MERGE" into eclair
Grace Kloba [Mon, 18 Jan 2010 23:21:31 +0000 (15:21 -0800)]
Merge "DO NOT MERGE" into eclair

14 years agoIf ZoomButttonsController detects more than one pointer,
Grace Kloba [Mon, 18 Jan 2010 18:43:59 +0000 (10:43 -0800)]
If ZoomButttonsController detects more than one pointer,
give up the control. This should enable the View behind
it, like WebView, will always get the multi-pointer
events even when ZoomButtonsController is up.

14 years agoMerge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal...
Jim Miller [Sat, 16 Jan 2010 01:20:29 +0000 (17:20 -0800)]
Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent." into eclair

14 years agoDO NOT MERGE
Grace Kloba [Sat, 16 Jan 2010 00:35:40 +0000 (16:35 -0800)]
DO NOT MERGE

Bring back +/- when panning. Dismiss it when pinching.

14 years agoFix for 2292713: Remove workaround that hides SlidingTab widget while internal state...
Jim Miller [Sat, 16 Jan 2010 00:20:36 +0000 (16:20 -0800)]
Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.

The previous workaround for this race condition prevented glitches by postponing drawing the SlidingTab until the internal state was consistent.
Unfortunately, the InCallScreen seems to trigger this most of the time if the keyboard is open or the last application was in landscape mode.

Instead, we'll handle this separately in lockscreen.

14 years agoMerge "ADT/Layoutlib: Add dash support to stroke." into eclair
Xavier Ducrohet [Fri, 15 Jan 2010 22:27:34 +0000 (14:27 -0800)]
Merge "ADT/Layoutlib: Add dash support to stroke." into eclair

14 years agoADT/Layoutlib: Add dash support to stroke.
Xavier Ducrohet [Fri, 15 Jan 2010 19:24:44 +0000 (11:24 -0800)]
ADT/Layoutlib: Add dash support to stroke.

Change-Id: I09a7e84948be013cbb11f6d9774ab81df897b424

14 years agoMerge "ADT/Layoutlib: properly handle stroke information." into eclair
Xavier Ducrohet [Fri, 15 Jan 2010 18:30:52 +0000 (10:30 -0800)]
Merge "ADT/Layoutlib: properly handle stroke information." into eclair

14 years agoADT/Layoutlib: properly handle stroke information.
Xavier Ducrohet [Fri, 15 Jan 2010 03:19:06 +0000 (19:19 -0800)]
ADT/Layoutlib: properly handle stroke information.

Change-Id: Iec9284d0e65d1313739e361d1fd5a522646fd1fd

14 years agoMerge "DO NOT MERGE" into eclair
Grace Kloba [Fri, 15 Jan 2010 03:29:09 +0000 (19:29 -0800)]
Merge "DO NOT MERGE" into eclair

14 years agoMerge "DO NOT MERGE" into eclair
Grace Kloba [Fri, 15 Jan 2010 03:28:55 +0000 (19:28 -0800)]
Merge "DO NOT MERGE" into eclair

14 years agoMerge "ADT/Layoutlib: improved gradient drawing for perf." into eclair
Xavier Ducrohet [Fri, 15 Jan 2010 03:10:44 +0000 (19:10 -0800)]
Merge "ADT/Layoutlib: improved gradient drawing for perf." into eclair

14 years agoSecurity fix in accessibility - don't read out password. # 2371557
Amith Yamasani [Fri, 15 Jan 2010 02:56:02 +0000 (18:56 -0800)]
Security fix in accessibility - don't read out password. # 2371557

Check for password type before send accessibility event.
[Submitting for Svet]

14 years agoADT/Layoutlib: improved gradient drawing for perf.
Xavier Ducrohet [Fri, 15 Jan 2010 02:45:04 +0000 (18:45 -0800)]
ADT/Layoutlib: improved gradient drawing for perf.

Change-Id: I79b909d7787e4442e7cfdf196de1ac0c077da7f8

14 years agoADT/Layoutlib: don't draw 0-sized rectangle, AWT doesn't like that.
Xavier Ducrohet [Fri, 15 Jan 2010 02:37:21 +0000 (18:37 -0800)]
ADT/Layoutlib: don't draw 0-sized rectangle, AWT doesn't like that.

Change-Id: I298d00208ace2421478c5864cc5a66a508b2b411

14 years agoMerge "ADT/Layoutlib: always use custom gradient (java) Paint." into eclair
Xavier Ducrohet [Fri, 15 Jan 2010 02:36:26 +0000 (18:36 -0800)]
Merge "ADT/Layoutlib: always use custom gradient (java) Paint." into eclair

14 years agoDO NOT MERGE
Grace Kloba [Fri, 15 Jan 2010 02:30:45 +0000 (18:30 -0800)]
DO NOT MERGE

When adjust scale for zoom overview, keep the state
of whether textWrapScale is matching mActualScale.
So if user pinch during loading, we won't reflow.

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

14 years agoDO NOT MERGE
Grace Kloba [Fri, 15 Jan 2010 02:18:41 +0000 (18:18 -0800)]
DO NOT MERGE

If mViewportWidth is 0, it means screen width. If
textwrapWidth is not same as view width, which means
that we are in the state triggered by pinch, always
send textwrapWidth as width to WebKit to keep the
same layout.

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

14 years agoMerge "Updated developer groups documentation to point to Stack Overflow, also rearra...
Roman Nurik [Fri, 15 Jan 2010 01:18:31 +0000 (17:18 -0800)]
Merge "Updated developer groups documentation to point to Stack Overflow, also rearranged a few things." into eclair

14 years agoADT/Layoutlib: always use custom gradient (java) Paint.
Xavier Ducrohet [Fri, 15 Jan 2010 01:14:05 +0000 (17:14 -0800)]
ADT/Layoutlib: always use custom gradient (java) Paint.

The normal linear paint from AWT does not support our TileModes.

Change-Id: I24667671dabdf1a5dffa342e4de9cc69487db0b6

14 years agoMerge "ADT/Layout: support for 3+ color in linear gradients" into eclair
Xavier Ducrohet [Fri, 15 Jan 2010 01:15:56 +0000 (17:15 -0800)]
Merge "ADT/Layout: support for 3+ color in linear gradients" into eclair

14 years agoMerge "Add Event log for RAT switch." into eclair
John Wang [Fri, 15 Jan 2010 00:43:38 +0000 (16:43 -0800)]
Merge "Add Event log for RAT switch." into eclair

14 years agoUpdated developer groups documentation to point to Stack Overflow, also rearranged...
Roman Nurik [Fri, 8 Jan 2010 20:48:45 +0000 (12:48 -0800)]
Updated developer groups documentation to point to Stack Overflow, also rearranged a few things.

14 years agoMerge "add drawSpriteScreenspaceCropped to renderscript" into eclair
Joe Onorato [Thu, 14 Jan 2010 23:53:45 +0000 (15:53 -0800)]
Merge "add drawSpriteScreenspaceCropped to renderscript" into eclair

14 years agoADT/Layout: support for 3+ color in linear gradients
Xavier Ducrohet [Thu, 14 Jan 2010 23:15:35 +0000 (15:15 -0800)]
ADT/Layout: support for 3+ color in linear gradients

Change-Id: I14c6a5a1de41470c6f1c66d490492ecc727302f2

14 years agoMerge "docs: remove dev guide link from download confirmation content so we only...
Scott Main [Thu, 14 Jan 2010 21:01:30 +0000 (13:01 -0800)]
Merge "docs: remove dev guide link from download confirmation content so we only link to the install guide and re-affirm the system reqs bug: 2374363,2374334" into eclair

14 years agoadd drawSpriteScreenspaceCropped to renderscript
Joe Onorato [Thu, 14 Jan 2010 20:59:35 +0000 (15:59 -0500)]
add drawSpriteScreenspaceCropped to renderscript

14 years agodocs: remove dev guide link from download confirmation content
Scott Main [Thu, 14 Jan 2010 20:03:23 +0000 (12:03 -0800)]
docs: remove dev guide link from download confirmation content
so we only link to the install guide and re-affirm the system reqs
bug: 2374363,2374334

14 years agoADT/Layoutlib: shader clean-up.
Xavier Ducrohet [Thu, 14 Jan 2010 18:30:16 +0000 (10:30 -0800)]
ADT/Layoutlib: shader clean-up.

Change-Id: I0a200f438b7ccde2bfc19fd23614a647cb19d312

14 years agoMerge "ADT/Layoutlib: 2 color, linear gradient support." into eclair
Xavier Ducrohet [Thu, 14 Jan 2010 18:03:56 +0000 (10:03 -0800)]
Merge "ADT/Layoutlib: 2 color, linear gradient support." into eclair

14 years agoMerge "DO NOT MERGE" into eclair
Grace Kloba [Thu, 14 Jan 2010 17:29:52 +0000 (09:29 -0800)]
Merge "DO NOT MERGE" into eclair

14 years agoDO NOT MERGE
Grace Kloba [Thu, 14 Jan 2010 02:02:09 +0000 (18:02 -0800)]
DO NOT MERGE

Use the common ScaleGestureDetector to detect the
multi-touch motion.

Check both supportZoom and getBuiltInZoomControls
to decide whether enable the multi-touch behavior.
This should the new pinch behavior only replace the
old +/-.

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

Only update textWrapScale if it is different. This
should fix the performance decrease caused by initial
multi-touch code.

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

14 years agoADT/Layoutlib: 2 color, linear gradient support.
Xavier Ducrohet [Thu, 14 Jan 2010 04:30:26 +0000 (20:30 -0800)]
ADT/Layoutlib: 2 color, linear gradient support.

Change-Id: Ifaafa4fc42a22f4851449a7c35a5b82e211aafe7

14 years agoMerge "ADT/Layoutlib: implement Canvas.concat(Matrix)" into eclair
Xavier Ducrohet [Thu, 14 Jan 2010 03:14:28 +0000 (19:14 -0800)]
Merge "ADT/Layoutlib: implement Canvas.concat(Matrix)" into eclair

14 years agoADT/Layoutlib: implement Canvas.concat(Matrix)
Xavier Ducrohet [Thu, 14 Jan 2010 02:06:00 +0000 (18:06 -0800)]
ADT/Layoutlib: implement Canvas.concat(Matrix)

This prevented ImageView from making proper use of ScaleType.

Also fixed Canvas.getSaveCount() that returned the wrong
value and Matrix.getTransform() which used the wrong order
for the AffineTransform constructor!!

Bug: 2364564

Change-Id: I78babf4aa6689440e52ad06b1473f75b20eb66da

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 agoAdd Event log for RAT switch.
John Wang [Thu, 14 Jan 2010 01:55:57 +0000 (17:55 -0800)]
Add Event log for RAT switch.

Write event log while the 2G/3G radio access technology switched.

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 agoAdd instrumentation as a source tag for proguard keep options.
Ying Wang [Wed, 13 Jan 2010 22:18:11 +0000 (14:18 -0800)]
Add instrumentation as a source tag for proguard keep options.

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.