OSDN Git Service

android-x86/frameworks-base.git
14 years agoHandle BACK key with focus in search ACTV correctly
Bjorn Bringert [Wed, 16 Sep 2009 22:17:16 +0000 (23:17 +0100)]
Handle BACK key with focus in search ACTV correctly

Fixes http://b/issue?id=2124700
"Back key kills pivoted-in search, should go back to QSB"

Change-Id: Ib54c5de158fc362faa3f0fef553ee403437635ae

14 years agoMerge change 25232 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 04:58:06 +0000 (00:58 -0400)]
Merge change 25232 into eclair

* changes:
  Fix NPE when provider returns null cursor.

14 years ago modified: MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
Yu Shan Emily Lau [Wed, 16 Sep 2009 03:40:07 +0000 (20:40 -0700)]
modified:   MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
Fixed the meta data duration

14 years agoFix NPE when provider returns null cursor.
Jeff Sharkey [Tue, 15 Sep 2009 20:50:31 +0000 (13:50 -0700)]
Fix NPE when provider returns null cursor.

Fixes http://b/2051283

14 years agoMerge change 25206 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 02:33:06 +0000 (22:33 -0400)]
Merge change 25206 into eclair

* changes:
  Make vCard importer code use Account information if possible.

14 years agoMerge change 25212 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 02:32:37 +0000 (22:32 -0400)]
Merge change 25212 into eclair

* changes:
  revert to black video background, since we don't need the color-key anylonger

14 years agorevert to black video background, since we don't need the color-key anylonger
Mathias Agopian [Wed, 16 Sep 2009 02:31:28 +0000 (19:31 -0700)]
revert to black video background, since we don't need the color-key anylonger

14 years agoMake vCard importer code use Account information if possible.
Daisuke Miyakawa [Wed, 16 Sep 2009 02:18:53 +0000 (19:18 -0700)]
Make vCard importer code use Account information if possible.

Internal isssue: 21162162102720

14 years agoMerge change 25207 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 02:26:26 +0000 (22:26 -0400)]
Merge change 25207 into eclair

* changes:
  fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer

14 years agofix [2122448] android_native_window_t::setUsage() only reallocates the first buffer
Mathias Agopian [Wed, 16 Sep 2009 02:10:47 +0000 (19:10 -0700)]
fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer

Take 2. We needed to check that the usage flags are "good enough" as opposed to "the same".

This reverts commit 8f17a762fe9e9f31e4e86cb60ff2bfb6b10fdee6.

14 years agoMerge change 25178 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 02:12:58 +0000 (22:12 -0400)]
Merge change 25178 into eclair

* changes:
  Add RotarySelector widget to android.internal for use by lock screen and incoming call screen.

14 years agoMerge change 25092 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 02:11:57 +0000 (22:11 -0400)]
Merge change 25092 into eclair

* changes:
  New field in CallerInfo to cache if the call is an emergency one.

14 years agoMerge change 25192 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 02:06:24 +0000 (22:06 -0400)]
Merge change 25192 into eclair

* changes:
  Some improvements for wallpaper configuration.

14 years agoSome improvements for wallpaper configuration.
Dianne Hackborn [Wed, 16 Sep 2009 01:45:34 +0000 (18:45 -0700)]
Some improvements for wallpaper configuration.

This introduces a new activity that you can derive from to implement
a wall paper configuration activity.  This is supposed to select
a theme based on whether it is being run to configure a real wallpaper
or a preview, but this is going to be more difficult to do than I
thought. :(

Also fix a problem in the white theme where the list view's background
was being set to white, so it wouldn't work on a transparent bg.

Change-Id: I26d5a8695a3c878a1664eb09900eded57eaff990

14 years agoMerge change 25201 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 01:57:44 +0000 (21:57 -0400)]
Merge change 25201 into eclair

* changes:
  Revert "fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer"

14 years agoRevert "fix [2122448] android_native_window_t::setUsage() only reallocates the first...
Mathias Agopian [Wed, 16 Sep 2009 01:57:06 +0000 (18:57 -0700)]
Revert "fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer"

This reverts commit 486aa963b63e20b7910e1004cebb4f0afabbd80f.

14 years agoMerge change 25188 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 01:56:44 +0000 (21:56 -0400)]
Merge change 25188 into eclair

* changes:
  make the window-shade use an opaque surface if possible

14 years agoNew field in CallerInfo to cache if the call is an emergency one.
Nicolas Catania [Tue, 15 Sep 2009 02:01:43 +0000 (19:01 -0700)]
New field in CallerInfo to cache if the call is an emergency one.

Fixed a bug in the sync call, the photo resource was not set to picture_emergency.

Added tests to check the correct emergency fields are set in the caller info instance.

Bug 2112640

14 years agomake the window-shade use an opaque surface if possible
Mathias Agopian [Wed, 16 Sep 2009 01:23:59 +0000 (18:23 -0700)]
make the window-shade use an opaque surface if possible

14 years agoMerge change 25187 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 01:23:42 +0000 (21:23 -0400)]
Merge change 25187 into eclair

* changes:
  fixing documentation for PluginStub

14 years agofixing documentation for PluginStub
Derek Sollenberger [Wed, 16 Sep 2009 01:22:06 +0000 (21:22 -0400)]
fixing documentation for PluginStub

Change-Id: I68fd9d0df3d8a5c39ad1de136a116f1b034323af

14 years agoMerge change 25177 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 01:17:44 +0000 (21:17 -0400)]
Merge change 25177 into eclair

* changes:
  Fix for #2092883: Allow manual sync even when background data is disabled

14 years agoMerge change 25168 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 01:15:38 +0000 (21:15 -0400)]
Merge change 25168 into eclair

* changes:
  Preload Resources$DefaultTimeZones.

14 years agoMerge change 25175 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 01:08:37 +0000 (21:08 -0400)]
Merge change 25175 into eclair

* changes:
  Allow only System Service to send most Bluetooth intents.

14 years agoam 3dc0f94c: Misc. updates for 1.6 release notes and requirements docs.
Dirk Dougherty [Wed, 16 Sep 2009 01:05:49 +0000 (18:05 -0700)]
am 3dc0f94c: Misc. updates for 1.6 release notes and requirements docs.

Merge commit '3dc0f94cd44df2f9310946b0a0a1c7f8c6d95af5' into eclair

* commit '3dc0f94cd44df2f9310946b0a0a1c7f8c6d95af5':
  Misc. updates for 1.6 release notes and requirements docs.

14 years agoMisc. updates for 1.6 release notes and requirements docs.
Dirk Dougherty [Wed, 16 Sep 2009 00:00:40 +0000 (17:00 -0700)]
Misc. updates for 1.6 release notes and requirements docs.

Change-Id: I9bd06df80ba48f2980604e4b5d70473f009655f9

14 years agoAdd RotarySelector widget to android.internal for use by lock screen and incoming...
Karl Rosaen [Wed, 16 Sep 2009 00:36:09 +0000 (17:36 -0700)]
Add RotarySelector widget to android.internal for use by lock screen and incoming call screen.

14 years agoMerge change 25176 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 00:35:15 +0000 (20:35 -0400)]
Merge change 25176 into eclair

* changes:
  fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer

14 years agoFix for #2092883: Allow manual sync even when background data is disabled
Jim Miller [Wed, 16 Sep 2009 00:34:42 +0000 (17:34 -0700)]
Fix for #2092883: Allow manual sync even when background data is disabled

14 years agofix [2122448] android_native_window_t::setUsage() only reallocates the first buffer
Mathias Agopian [Wed, 16 Sep 2009 00:34:04 +0000 (17:34 -0700)]
fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer

14 years agoupdate for new plugin api
Mike Reed [Wed, 16 Sep 2009 00:26:19 +0000 (20:26 -0400)]
update for new plugin api

14 years agoAllow only System Service to send most Bluetooth intents.
Nick Pelly [Wed, 16 Sep 2009 00:21:10 +0000 (17:21 -0700)]
Allow only System Service to send most Bluetooth intents.

Change-Id: I9f63425995f12741b60b85cdffe5a94e97ca03f1

14 years agoPreload Resources$DefaultTimeZones.
Elliott Hughes [Wed, 16 Sep 2009 00:07:00 +0000 (17:07 -0700)]
Preload Resources$DefaultTimeZones.

Depends on https://android-git.corp.google.com/g/25167.

Bug: 19413111819285.

14 years agoMerge change 24200 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 00:03:16 +0000 (20:03 -0400)]
Merge change 24200 into eclair

* changes:
  First pass at replacing native plugin views with java.

14 years agoMerge change 25153 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 23:43:00 +0000 (19:43 -0400)]
Merge change 25153 into eclair

* changes:
  Reconcile the character popups for the hard and soft keyboards.

14 years agoMerge change 25162 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 23:40:58 +0000 (19:40 -0400)]
Merge change 25162 into eclair

* changes:
  Build the BitmapShader if it hasn't been built yet.

14 years agoBuild the BitmapShader if it hasn't been built yet.
Romain Guy [Tue, 15 Sep 2009 23:39:08 +0000 (16:39 -0700)]
Build the BitmapShader if it hasn't been built yet.

This was causing a bug in the InCall UI where the background would be stretched.

Change-Id: Ie25a7d09f4779f166e267b2f921d40441ce361d2

14 years agoFirst pass at replacing native plugin views with java.
Derek Sollenberger [Tue, 8 Sep 2009 22:31:40 +0000 (18:31 -0400)]
First pass at replacing native plugin views with java.

Change-Id: I6d1f45f31210c2353fa348cc37be8d91bcd5e887

14 years agoMerge change 25147 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 23:17:14 +0000 (19:17 -0400)]
Merge change 25147 into eclair

* changes:
  Fix call collision issue

14 years agoMerge change 25142 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 23:11:17 +0000 (19:11 -0400)]
Merge change 25142 into eclair

* changes:
  The 8k chipset qcom decoders require that the input buffers be allocated using OMX_AllocateBuffer rather than OMX_UseBuffer for now.

14 years agoReconcile the character popups for the hard and soft keyboards.
Eric Fischer [Tue, 15 Sep 2009 23:02:47 +0000 (16:02 -0700)]
Reconcile the character popups for the hard and soft keyboards.

Have the hardware keyboard popups for digits and symbols include
all the same characters as the soft keyboard has for those keys.

Bug 2056195

14 years agoFix call collision issue
Libin Tang [Fri, 11 Sep 2009 21:43:33 +0000 (16:43 -0500)]
Fix call collision issue

This patch is to fix the call collision issue between an MT call
and an MO call causing the MT call screen shown with the MO call info.
The fix is to add the condition of foreground call to determine the
call collision on top of the pendingMO call only.

Bug ID: 2116865
Change-Id: I73aa310d39ebea97e6183281821bf941b5890ccf

14 years agoAdding a system property to log slow queries
Dmitri Plotnikov [Tue, 15 Sep 2009 17:52:17 +0000 (10:52 -0700)]
Adding a system property to log slow queries

Change-Id: I4d139e222319f56169924e14aa967f07b233c00e

14 years agoThe 8k chipset qcom decoders require that the input buffers be allocated using OMX_Al...
Andreas Huber [Tue, 15 Sep 2009 22:50:31 +0000 (15:50 -0700)]
The 8k chipset qcom decoders require that the input buffers be allocated using OMX_AllocateBuffer rather than OMX_UseBuffer for now.

If they aren't, a later call to OMX_FreeBuffer crashes...

14 years agoMerge change 25128 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 21:48:33 +0000 (17:48 -0400)]
Merge change 25128 into eclair

* changes:
  Support CbYCrY -> RGB565 color conversion in IOMXRenderer.

14 years agoMerge change 25101 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 21:48:22 +0000 (17:48 -0400)]
Merge change 25101 into eclair

* changes:
  Added an API IOMX::createRendererFromJavaSurface.

14 years agoMerge change 25132 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 21:42:25 +0000 (17:42 -0400)]
Merge change 25132 into eclair

* changes:
  fix ContentProviderOperationTest

14 years agofix ContentProviderOperationTest
Fred Quintana [Tue, 15 Sep 2009 21:36:55 +0000 (14:36 -0700)]
fix ContentProviderOperationTest

14 years agoSupport CbYCrY -> RGB565 color conversion in IOMXRenderer.
Andreas Huber [Tue, 15 Sep 2009 21:32:59 +0000 (14:32 -0700)]
Support CbYCrY -> RGB565 color conversion in IOMXRenderer.

14 years agoMerge change 25124 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 21:18:02 +0000 (17:18 -0400)]
Merge change 25124 into eclair

* changes:
  Add more error message if the script failed to pull result file from device.

14 years agoAdd more error message if the script failed to pull result file from device.
Guang Zhu [Tue, 15 Sep 2009 21:17:04 +0000 (14:17 -0700)]
Add more error message if the script failed to pull result file from device.

14 years agoMerge change 24955 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 21:10:54 +0000 (17:10 -0400)]
Merge change 24955 into eclair

* changes:
   new file:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java  modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaRecorderTest.java Added a new test suite which parse the system media properties and group in into the high quality and low quality recording tests.

14 years agoMerge change 25117 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 20:57:53 +0000 (16:57 -0400)]
Merge change 25117 into eclair

* changes:
  Preserve ListView's pressed state when the adapter changes its content while the user is pressing an item.

14 years agoPreserve ListView's pressed state when the adapter changes its content while the...
Romain Guy [Tue, 15 Sep 2009 20:50:37 +0000 (13:50 -0700)]
Preserve ListView's pressed state when the adapter changes its content while the user is pressing an item.

Change-Id: Id5ac804a4053951430d16cf0d87fc7b64c816717

14 years agoam 4be629f2: Update sizes/checksums for SDK packages.
Dirk Dougherty [Tue, 15 Sep 2009 20:47:02 +0000 (13:47 -0700)]
am 4be629f2: Update sizes/checksums for SDK packages.

Merge commit '4be629f2548483c37483904f1c9121e8fc248640' into eclair

* commit '4be629f2548483c37483904f1c9121e8fc248640':
  Update sizes/checksums for SDK packages.

14 years agoam ca75d7f5: docs only. superficial typo
Scott Main [Tue, 15 Sep 2009 20:46:54 +0000 (13:46 -0700)]
am ca75d7f5: docs only. superficial typo

Merge commit 'ca75d7f59aa4bfdc124397ce2b61942c80b3350a' into eclair

* commit 'ca75d7f59aa4bfdc124397ce2b61942c80b3350a':
  docs only.

14 years agoMerge change 25110 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 20:38:15 +0000 (16:38 -0400)]
Merge change 25110 into eclair

* changes:
  synchronize access to pictureReady, copyContentPicture

14 years agoMerge change 25109 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 20:37:36 +0000 (16:37 -0400)]
Merge change 25109 into eclair

* changes:
  Some SMS logging improvements.

14 years agosynchronize access to pictureReady, copyContentPicture
Cary Clark [Tue, 15 Sep 2009 20:25:43 +0000 (16:25 -0400)]
synchronize access to pictureReady, copyContentPicture

Two methods in WebViewCore are called from WebView. The C
underpinnings were synchronized with a mutex, but the Java
shell was not, so under rare cirumstances, the Java side might
delete the native class. Add Java synchronization to
protect against this.

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

14 years agoam b5308a70: Merge change 24816 into donut
Jean-Michel Trivi [Tue, 15 Sep 2009 20:18:46 +0000 (13:18 -0700)]
am b5308a70: Merge change 24816 into donut

Merge commit 'b5308a7051fedacf289470c8a7e21b63af9d4db8' into eclair

* commit 'b5308a7051fedacf289470c8a7e21b63af9d4db8':
  TextToSpeech javadoc update.

14 years agoam 528954c4: docs only. fix sample code errors per bug 2115299
Scott Main [Tue, 15 Sep 2009 20:18:34 +0000 (13:18 -0700)]
am 528954c4: docs only. fix sample code errors per bug 2115299

Merge commit '528954c4d63980c0515528624130477f921cbc60' into eclair

* commit '528954c4d63980c0515528624130477f921cbc60':
  docs only.

14 years agoredraw once more on a touch-up if we've been dragging, so we can redraw in high-quali...
Mike Reed [Tue, 15 Sep 2009 18:31:54 +0000 (14:31 -0400)]
redraw once more on a touch-up if we've been dragging, so we can redraw in high-quality mode
update dox on BlurMaskFilter

14 years agoSome SMS logging improvements.
jsh [Tue, 15 Sep 2009 20:11:25 +0000 (13:11 -0700)]
Some SMS logging improvements.

Use Log.isLoggable() to enable logs at runtime.  Implement SmsResponse.toString()
so we can see what's returned.

Hopefully helps with debugging b/2086832.

14 years agoUpdate sizes/checksums for SDK packages.
Dirk Dougherty [Tue, 15 Sep 2009 20:06:47 +0000 (13:06 -0700)]
Update sizes/checksums for SDK packages.

Change-Id: Icf375128ce0b4727648561e46d13cba6ec05832d

14 years agoAdd the FasttrackBadgeWidget.
Evan Millar [Thu, 27 Aug 2009 18:15:55 +0000 (11:15 -0700)]
Add the FasttrackBadgeWidget.

This widget is an extension of ImageView that takes care of the standard
fasttrack badging and on-click behavior. It should be used in any
applications that display contact photos.

This view's name will have to be changed before release, and will be
kept private until the name change is made. At that point the view will
be made public api.

Change-Id: I4704e0e979466929ad7b2ef11911681a5028b4a7

14 years agoMerge change 25090 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 19:50:51 +0000 (15:50 -0400)]
Merge change 25090 into eclair

* changes:
  Move backlight brightness from HardwareService to PowerManager

14 years agoAdded an API IOMX::createRendererFromJavaSurface.
Andreas Huber [Tue, 15 Sep 2009 19:49:11 +0000 (12:49 -0700)]
Added an API IOMX::createRendererFromJavaSurface.

This api allows to instantiate a renderer by specifying the hosting java Surface object. This hides the implementation details of (java-)Surface, (native-)Surface and friends.

14 years agoMove backlight brightness from HardwareService to PowerManager
Mike Lockwood [Tue, 15 Sep 2009 18:42:16 +0000 (14:42 -0400)]
Move backlight brightness from HardwareService to PowerManager

to prevent apps from changing the hardware behind its back.
Fixes b/2041941 Lock screen flashes the screen very bright before dimming

Change-Id: Ice757f7ae87902bdfb3634471cf44f020ebfaae4
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change 25100 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 19:40:09 +0000 (15:40 -0400)]
Merge change 25100 into eclair

* changes:
  Implement Object readback.

14 years agoImplement Object readback.
Jason Sams [Tue, 15 Sep 2009 19:39:22 +0000 (12:39 -0700)]
Implement Object readback.

14 years agoMerge change 24990 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 19:26:42 +0000 (15:26 -0400)]
Merge change 24990 into eclair

* changes:
  change to use the new CALLER_IS_SYNCADAPTER flag

14 years agoMerge change 25048 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 18:51:56 +0000 (14:51 -0400)]
Merge change 25048 into eclair

* changes:
  Revert "Deprecate showSearchIconAsBadge and icon search attrs"

14 years agoRevert "Deprecate showSearchIconAsBadge and icon search attrs"
Bjorn Bringert [Tue, 15 Sep 2009 13:55:37 +0000 (14:55 +0100)]
Revert "Deprecate showSearchIconAsBadge and icon search attrs"

I tried to revert a flag, but that doesn't actually work
and ended up deprecating the entire attribute.

This reverts commit ab50b86b79936623b5e326f2ed84b3c947c8ec93.

14 years agoMerge change 25089 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 18:44:34 +0000 (14:44 -0400)]
Merge change 25089 into eclair

* changes:
  DockObserver wakes the display when broadcasting a change  - normal display timeout applies after wake

14 years agoAdd SurfaceView API to put surface on top of window.
Dianne Hackborn [Tue, 15 Sep 2009 05:29:14 +0000 (22:29 -0700)]
Add SurfaceView API to put surface on top of window.

Change-Id: I9db84ee63a362e54ebc2f5b24a20ae5bdc3588bf

14 years agoMerge change 25078 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 18:18:57 +0000 (14:18 -0400)]
Merge change 25078 into eclair

* changes:
  Fix FileObserverTest#testRun.

14 years agoFix FileObserverTest#testRun.
Brett Chabot [Tue, 15 Sep 2009 18:07:33 +0000 (11:07 -0700)]
Fix FileObserverTest#testRun.

The assertion in the test was expecting 4 events, but it was only waiting for
three.

BUG 2119135

14 years agoAssemble WAP datagram correctly when segments arrive out of order
Christian Gustafsson [Mon, 14 Sep 2009 01:59:47 +0000 (20:59 -0500)]
Assemble WAP datagram correctly when segments arrive out of order

The WAP assembly code will always attach the last received segment at the end
of the WAP datagram. Change the code to add the current segment at the correct
location during the WAP datagram assembly.

Change-Id: I4cc18bf33bc68ab9a328a0107f21e3670b5026ac

14 years agoWebView zoom clean up
Grace Kloba [Mon, 14 Sep 2009 21:38:37 +0000 (14:38 -0700)]
WebView zoom clean up

14 years agoif the cursor and focus don't match, match them on text view clicks
Cary Clark [Tue, 15 Sep 2009 17:13:23 +0000 (13:13 -0400)]
if the cursor and focus don't match, match them on text view clicks

Call nativeMotionUp from touchUpOnTextField to move the
mouse cursor to the text field if necessary before moving
the text caret to the desired position.

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

14 years agocompute Y scroll max by scaling only, ignoring title bar height
Cary Clark [Tue, 15 Sep 2009 16:47:39 +0000 (12:47 -0400)]
compute Y scroll max by scaling only, ignoring title bar height

without this, the max scroll may be a single pixel

14 years agoMerge change 25059 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 17:19:56 +0000 (13:19 -0400)]
Merge change 25059 into eclair

* changes:
  special-case coordinate conversion when we are taking content coordinates to be invalidate. We need to round "out" these, to account for the slop in antialiasing, rather than using the existing routines that (correctly) round.

14 years agospecial-case coordinate conversion when we are taking content coordinates to be inval...
Mike Reed [Tue, 15 Sep 2009 15:26:53 +0000 (11:26 -0400)]
special-case coordinate conversion when we are taking content coordinates to be invalidate. We need to
round "out" these, to account for the slop in antialiasing, rather than using the existing routines
that (correctly) round.

14 years agoFix connection ID issue in Obex lib
Tao Liejun [Wed, 9 Sep 2009 09:18:49 +0000 (17:18 +0800)]
Fix connection ID issue in Obex lib

ConnectionID should be consistent in one Obex session.

14 years agoMerge change 24998 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 15:29:52 +0000 (11:29 -0400)]
Merge change 24998 into eclair

* changes:
  Add Panasonic KX-TH112 to blacklist.

14 years agoMerge change 25050 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 15:29:23 +0000 (11:29 -0400)]
Merge change 25050 into eclair

* changes:
  Fix issue 2118464: cannot play ring tones and notifications after disconnecting BT headset while in call.

14 years agoAdd Panasonic KX-TH112 to blacklist.
Nick Pelly [Tue, 15 Sep 2009 02:04:47 +0000 (19:04 -0700)]
Add Panasonic KX-TH112 to blacklist.

Change-Id: I12475aff4046796132beb2554cd067bcec712973

14 years agoDockObserver wakes the display when broadcasting a change
Ken Schultz [Thu, 10 Sep 2009 23:37:37 +0000 (18:37 -0500)]
DockObserver wakes the display when broadcasting a change
- normal display timeout applies after wake

Signed-off-by: Ken Schultz <kschultz@motorola.com>
14 years agoMerge change 25012 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 14:32:13 +0000 (10:32 -0400)]
Merge change 25012 into eclair

* changes:
  PowerManagerService: Use 5 cm threshold for the proximity sensor.

14 years agoMerge change 23619 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 14:29:26 +0000 (10:29 -0400)]
Merge change 23619 into eclair

* changes:
  Add automatic lighting control framework

14 years agoFix issue 2118464: cannot play ring tones and notifications after disconnecting BT...
Eric Laurent [Tue, 15 Sep 2009 14:10:12 +0000 (07:10 -0700)]
Fix issue 2118464: cannot play ring tones and notifications after disconnecting BT headset while in call.

The problem comes from the fact that when the duplicated output is closed after BT headset disconnection, the OUTPUT_CLOSED notification is not sent to AudioSystem. Then the mapping between notification stream and duplicated output cached in AudioSystem is not cleared and next time a notification is played, the duplicated output is selected and the createTrack() request is refused by AudioFlinger as the selected output doesn't exist.
The notification is ignored by AudioFlinger because when it is sent by the terminating playback thread, the thread has already been removed from the playback thread list.

The fix consists in sending the notification in closeOutput() and not when exiting the playback thread.
The same fix is applied to record threads.

14 years agoFix 2083478: Camera needs an auto-focus cancel API
Chih-Chung Chang [Tue, 15 Sep 2009 06:51:56 +0000 (14:51 +0800)]
Fix 2083478: Camera needs an auto-focus cancel API

Change-Id: I13bda991b32aee47e82b5cf9d43b3021c416a9a2

14 years agoPowerManagerService: Use 5 cm threshold for the proximity sensor.
Mike Lockwood [Tue, 15 Sep 2009 04:13:38 +0000 (00:13 -0400)]
PowerManagerService: Use 5 cm threshold for the proximity sensor.

This eliminates the assumption that the proximity sensor will always return
zero distance when it is active.

Change-Id: I6245b074e4c42aeae3a181e6a5087554517046d2
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoAdd automatic lighting control framework
Dan Murphy [Thu, 27 Aug 2009 19:59:03 +0000 (14:59 -0500)]
Add automatic lighting control framework

Add changes to have the ability to turn on and off the
automatic light sensing for the device.  This is fully configurable
and is by default not  present.  Vendors should override the ALS setting
to enable the automatic lighting controls.

These changes will add a check box to the Brightness settings menu to give control
to the user to allow the device's display lighting to be controlled via the slide bar
or the auto lighting system.

If the user selects auto then the slide bar will become invisible.  Manual mode
will present the slide bar to the user.

Change-Id: I146a6d75b99b08c9b839218ce6b85adf21f9fd73
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change 24872 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 06:26:19 +0000 (02:26 -0400)]
Merge change 24872 into eclair

* changes:
  Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.

14 years agodocs only.
Scott Main [Tue, 15 Sep 2009 04:47:19 +0000 (21:47 -0700)]
docs only.
superficial typo

Change-Id: Iadc19f3b798fbc0366b2cccaef621dd57bdfb1ca

14 years agoMerge change 25013 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 04:26:45 +0000 (00:26 -0400)]
Merge change 25013 into eclair

* changes:
  Various fixed for back key handling.

14 years agoVarious fixed for back key handling.
Dianne Hackborn [Tue, 15 Sep 2009 04:21:52 +0000 (21:21 -0700)]
Various fixed for back key handling.

My last change was far from perfect.  Hopefully this gets us
a little closer.

Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2

14 years agochange to use the new CALLER_IS_SYNCADAPTER flag
Fred Quintana [Tue, 15 Sep 2009 00:31:26 +0000 (17:31 -0700)]
change to use the new CALLER_IS_SYNCADAPTER flag

14 years agoMerge change 24977 into eclair
Android (Google) Code Review [Tue, 15 Sep 2009 01:11:56 +0000 (21:11 -0400)]
Merge change 24977 into eclair

* changes:
  add support for RGBX_8888 surfaces in SurfaceFlinger