8013 Commits

Author SHA1 Message Date
Guang Zhu
ce8d9d1672 Add more error message if the script failed to pull result file from device. 2009-09-15 14:17:04 -07:00
Android (Google) Code Review
4d445d682e 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.
2009-09-15 17:10:54 -04:00
Android (Google) Code Review
7bd660012c Merge change 25117 into eclair
* changes:
  Preserve ListView's pressed state when the adapter changes its content while the user is pressing an item.
2009-09-15 16:57:53 -04:00
Romain Guy
3616a412cb Preserve ListView's pressed state when the adapter changes its content while the user is pressing an item.
Change-Id: Id5ac804a4053951430d16cf0d87fc7b64c816717
2009-09-15 13:57:27 -07:00
Dirk Dougherty
f5a760f175 am 4be629f2: Update sizes/checksums for SDK packages.
Merge commit '4be629f2548483c37483904f1c9121e8fc248640' into eclair

* commit '4be629f2548483c37483904f1c9121e8fc248640':
  Update sizes/checksums for SDK packages.
2009-09-15 13:47:02 -07:00
Scott Main
2eeb1f0ed0 am ca75d7f5: docs only. superficial typo
Merge commit 'ca75d7f59aa4bfdc124397ce2b61942c80b3350a' into eclair

* commit 'ca75d7f59aa4bfdc124397ce2b61942c80b3350a':
  docs only.
2009-09-15 13:46:54 -07:00
Android (Google) Code Review
7ad6dc2717 Merge change 25110 into eclair
* changes:
  synchronize access to pictureReady, copyContentPicture
2009-09-15 16:38:15 -04:00
Android (Google) Code Review
d631fedb6c Merge change 25109 into eclair
* changes:
  Some SMS logging improvements.
2009-09-15 16:37:36 -04:00
Cary Clark
674a844f6d 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
2009-09-15 16:29:50 -04:00
Jean-Michel Trivi
91a5d831d6 am b5308a70: Merge change 24816 into donut
Merge commit 'b5308a7051fedacf289470c8a7e21b63af9d4db8' into eclair

* commit 'b5308a7051fedacf289470c8a7e21b63af9d4db8':
  TextToSpeech javadoc update.
2009-09-15 13:18:46 -07:00
Scott Main
bc663a6531 am 528954c4: docs only. fix sample code errors per bug 2115299
Merge commit '528954c4d63980c0515528624130477f921cbc60' into eclair

* commit '528954c4d63980c0515528624130477f921cbc60':
  docs only.
2009-09-15 13:18:34 -07:00
Mike Reed
df4cf29715 redraw once more on a touch-up if we've been dragging, so we can redraw in high-quality mode
update dox on BlurMaskFilter
2009-09-15 16:16:05 -04:00
jsh
50f7ea53c3 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.
2009-09-15 13:11:25 -07:00
Dirk Dougherty
4be629f254 Update sizes/checksums for SDK packages.
Change-Id: Icf375128ce0b4727648561e46d13cba6ec05832d
2009-09-15 13:06:47 -07:00
Evan Millar
e727f18cf2 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
2009-09-15 13:00:49 -07:00
Android (Google) Code Review
6d9eebe732 Merge change 25090 into eclair
* changes:
  Move backlight brightness from HardwareService to PowerManager
2009-09-15 15:50:51 -04:00
Andreas Huber
9f9afef3d5 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.
2009-09-15 12:49:11 -07:00
Mike Lockwood
237a29923a 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>
2009-09-15 15:47:09 -04:00
Android (Google) Code Review
ffa18dfac0 Merge change 25100 into eclair
* changes:
  Implement Object readback.
2009-09-15 15:40:09 -04:00
Jason Sams
5f43fd289a Implement Object readback. 2009-09-15 12:39:22 -07:00
Android (Google) Code Review
0ae011b6f6 Merge change 24990 into eclair
* changes:
  change to use the new CALLER_IS_SYNCADAPTER flag
2009-09-15 15:26:42 -04:00
Android (Google) Code Review
88cd369c33 Merge change 25048 into eclair
* changes:
  Revert "Deprecate showSearchIconAsBadge and icon search attrs"
2009-09-15 14:51:56 -04:00
Bjorn Bringert
ed2c13a9d2 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.
2009-09-15 19:49:10 +01:00
Android (Google) Code Review
74a0b8209e Merge change 25089 into eclair
* changes:
  DockObserver wakes the display when broadcasting a change 	- normal display timeout applies after wake
2009-09-15 14:44:34 -04:00
Dianne Hackborn
1cd403eaac Add SurfaceView API to put surface on top of window.
Change-Id: I9db84ee63a362e54ebc2f5b24a20ae5bdc3588bf
2009-09-15 11:29:00 -07:00
Android (Google) Code Review
d583a015bc Merge change 25078 into eclair
* changes:
  Fix FileObserverTest#testRun.
2009-09-15 14:18:57 -04:00
Brett Chabot
0393d349be Fix FileObserverTest#testRun.
The assertion in the test was expecting 4 events, but it was only waiting for
three.

BUG 2119135
2009-09-15 11:07:33 -07:00
Christian Gustafsson
70f74b79c3 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
2009-09-15 10:57:15 -07:00
Grace Kloba
04b2868c74 WebView zoom clean up 2009-09-15 10:53:44 -07:00
Cary Clark
db6d939d2b 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
2009-09-15 13:24:33 -04:00
Cary Clark
df344375a9 compute Y scroll max by scaling only, ignoring title bar height
without this, the max scroll may be a single pixel
2009-09-15 13:24:32 -04:00
Android (Google) Code Review
5adeba4b7f 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.
2009-09-15 13:19:56 -04:00
Mike Reed
e9e86b8908 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.
2009-09-15 13:14:20 -04:00
Tao Liejun
e80534ff59 Fix connection ID issue in Obex lib
ConnectionID should be consistent in one Obex session.
2009-09-15 09:54:20 -07:00
Android (Google) Code Review
82dbf67851 Merge change 24998 into eclair
* changes:
  Add Panasonic KX-TH112 to blacklist.
2009-09-15 11:29:52 -04:00
Android (Google) Code Review
2bccbcc777 Merge change 25050 into eclair
* changes:
  Fix issue 2118464: cannot play ring tones and notifications after disconnecting BT headset while in call.
2009-09-15 11:29:23 -04:00
Nick Pelly
adbaef234e Add Panasonic KX-TH112 to blacklist.
Change-Id: I12475aff4046796132beb2554cd067bcec712973
2009-09-15 08:24:52 -07:00
Ken Schultz
f02c0740d3 DockObserver wakes the display when broadcasting a change
- normal display timeout applies after wake

Signed-off-by: Ken Schultz <kschultz@motorola.com>
2009-09-15 10:58:05 -04:00
Android (Google) Code Review
f73f91c5b1 Merge change 25012 into eclair
* changes:
  PowerManagerService: Use 5 cm threshold for the proximity sensor.
2009-09-15 10:32:13 -04:00
Android (Google) Code Review
4e3cdf8544 Merge change 23619 into eclair
* changes:
  Add automatic lighting control framework
2009-09-15 10:29:26 -04:00
Eric Laurent
296a0ec7e1 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.
2009-09-15 07:10:12 -07:00
Chih-Chung Chang
244f8c2636 Fix 2083478: Camera needs an auto-focus cancel API
Change-Id: I13bda991b32aee47e82b5cf9d43b3021c416a9a2
2009-09-15 18:29:03 +08:00
Mike Lockwood
d20ea369b2 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>
2009-09-15 02:29:28 -04:00
Dan Murphy
951764b970 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>
2009-09-15 02:29:15 -04:00
Android (Google) Code Review
54c06152e0 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.
2009-09-15 02:26:19 -04:00
Scott Main
ca75d7f59a docs only.
superficial typo

Change-Id: Iadc19f3b798fbc0366b2cccaef621dd57bdfb1ca
2009-09-14 21:47:19 -07:00
Android (Google) Code Review
678b4c20cb Merge change 25013 into eclair
* changes:
  Various fixed for back key handling.
2009-09-15 00:26:45 -04:00
Dianne Hackborn
8d37426c75 Various fixed for back key handling.
My last change was far from perfect.  Hopefully this gets us
a little closer.

Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
2009-09-14 21:21:52 -07:00
Fred Quintana
33f889ae27 change to use the new CALLER_IS_SYNCADAPTER flag 2009-09-14 20:55:43 -07:00
Android (Google) Code Review
151921a624 Merge change 24977 into eclair
* changes:
  add support for RGBX_8888 surfaces in SurfaceFlinger
2009-09-14 21:11:56 -04:00