OSDN Git Service

android-x86/frameworks-base.git
13 years agoresolved conflicts for merge of a7f68230 to master
Robert Greenwalt [Mon, 25 Jul 2011 23:06:25 +0000 (16:06 -0700)]
resolved conflicts for merge of a7f68230 to master

Change-Id: I9e8faaa94f9b251a9c003dc6b9a3e2a97c4564a9

13 years agoMerge "Change user 0 directory back for compatibility"
Kenny Root [Mon, 25 Jul 2011 19:32:10 +0000 (12:32 -0700)]
Merge "Change user 0 directory back for compatibility"

13 years agoMerge "Stop using charAt for Signatures"
Kenny Root [Mon, 25 Jul 2011 19:32:01 +0000 (12:32 -0700)]
Merge "Stop using charAt for Signatures"

13 years agoMerge "AudioFlinger: add dump of audio pre processing."
Eric Laurent [Mon, 25 Jul 2011 19:20:23 +0000 (12:20 -0700)]
Merge "AudioFlinger: add dump of audio pre processing."

13 years agoMerge "TouchExplorer long press not working and activation tap not respecting distanc...
Svetoslav Ganov [Mon, 25 Jul 2011 19:10:46 +0000 (12:10 -0700)]
Merge "TouchExplorer long press not working and activation tap not respecting distance slop."

13 years agoresolved conflicts for merge of 26ecc31f to honeycomb-plus-aosp
Robert Greenwalt [Mon, 25 Jul 2011 19:08:19 +0000 (12:08 -0700)]
resolved conflicts for merge of 26ecc31f to honeycomb-plus-aosp

Change-Id: I23f42e247884f0c9d5ae4d3466213592dd3433d9

13 years agoMerge "Touch exploration state set to clients asynchronously and depended on talking...
Svetoslav Ganov [Mon, 25 Jul 2011 19:08:08 +0000 (12:08 -0700)]
Merge "Touch exploration state set to clients asynchronously and depended on talking service being enabled."

13 years agoMerge "Implement CollapsibleActionView on SearchView."
Amith Yamasani [Mon, 25 Jul 2011 19:07:32 +0000 (12:07 -0700)]
Merge "Implement CollapsibleActionView on SearchView."

13 years agoMerge "Preventing screenshots when waking from sleep."
Winson Chung [Mon, 25 Jul 2011 18:47:43 +0000 (11:47 -0700)]
Merge "Preventing screenshots when waking from sleep."

13 years agoMerge "SurfaceTexture: enable RGB external textures"
Jamie Gennis [Mon, 25 Jul 2011 18:46:51 +0000 (11:46 -0700)]
Merge "SurfaceTexture: enable RGB external textures"

13 years agoMerge "Switch state text not added to accessibility events."
Svetoslav Ganov [Mon, 25 Jul 2011 18:23:56 +0000 (11:23 -0700)]
Merge "Switch state text not added to accessibility events."

13 years agoPreventing screenshots when waking from sleep.
Winson Chung [Fri, 22 Jul 2011 19:19:52 +0000 (12:19 -0700)]
Preventing screenshots when waking from sleep.

- Fixing crash in SystemUI when trying to access external storage while it is not mounted

Change-Id: I3d9a05c155b83a2cc39915caebad4b7016025d09

13 years agoMerge "Keep Bluetooth module hot to quickly swith it on/off"
Matthew Xie [Mon, 25 Jul 2011 18:14:25 +0000 (11:14 -0700)]
Merge "Keep Bluetooth module hot to quickly swith it on/off"

13 years agoMerge "Fix bug 4211099 channel constants and 7.1 mask"
Jean-Michel Trivi [Mon, 25 Jul 2011 18:07:16 +0000 (11:07 -0700)]
Merge "Fix bug 4211099 channel constants and 7.1 mask"

13 years agoMerge "Fix bug 5060033 - No text-editing toolbar when in a dialog"
Adam Powell [Mon, 25 Jul 2011 17:57:42 +0000 (10:57 -0700)]
Merge "Fix bug 5060033 - No text-editing toolbar when in a dialog"

13 years agoKeep Bluetooth module hot to quickly swith it on/off
Matthew Xie [Fri, 15 Jul 2011 20:03:58 +0000 (13:03 -0700)]
Keep Bluetooth module hot to quickly swith it on/off

Add BluetoothAdapterStateMachine to maintain a inter state machine other than
the public BluetoothAdapter states. This is a improvement to BluetoothService
code. 2 internal state are added, LoadingFirmware and FirmwareLoaded to place
the Bluetooth module in a ready-to-switch-on state so that it can be quickly
switched on to have a better user experience
bug 5021787

Change-Id: Ia352e88cba509d9e98c900f85e7479f8cee1de5e

13 years agoMerge "Add support for creating a Surface from a a SurfaceTexture."
Ted Bonkenburg [Mon, 25 Jul 2011 17:24:30 +0000 (10:24 -0700)]
Merge "Add support for creating a Surface from a a SurfaceTexture."

13 years agoChange user 0 directory back for compatibility
Kenny Root [Mon, 25 Jul 2011 16:42:22 +0000 (09:42 -0700)]
Change user 0 directory back for compatibility

The PackageManagerTests aren't designed for multiple users yet, so they
fail. Since multiple users aren't supported yet, just change the default
data directory for user 0 back to how it was previously. This fixes the
existing tests and doesn't get anyone's hopes up since they won't see
/data/user/0/pacakge when we don't support multiple users yet.

Bug: 4380006
Change-Id: Iedcc3115b000759c0013ba6878e13cd2358897da

13 years agoMerge "Add a System.Secure setting for the Autofill server URL."
Ben Murdoch [Mon, 25 Jul 2011 16:41:46 +0000 (09:41 -0700)]
Merge "Add a System.Secure setting for the Autofill server URL."

13 years agoMerge "Fix for Autofill calling WebView.getSettings on background thread."
Ben Murdoch [Mon, 25 Jul 2011 16:34:21 +0000 (09:34 -0700)]
Merge "Fix for Autofill calling WebView.getSettings on background thread."

13 years agoMerge "Add IS_READ column in call log and voicemail providers."
Flavio Lerda [Mon, 25 Jul 2011 14:44:02 +0000 (07:44 -0700)]
Merge "Add IS_READ column in call log and voicemail providers."

13 years agoFix for Autofill calling WebView.getSettings on background thread.
Ben Murdoch [Mon, 25 Jul 2011 10:35:45 +0000 (11:35 +0100)]
Fix for Autofill calling WebView.getSettings on background thread.

Autofill was reading the WebView's WebSettings on a background thread.
Move it to the UI thread to conform to the WebView API and get rid of a
Strict Mode violation.

Bug: 5072283
Change-Id: Ib0ac60697f1e629ac1ef1743545b5cf0ac2cf52a

13 years agoTouchExplorer long press not working and activation tap not respecting distance slop.
Svetoslav Ganov [Mon, 25 Jul 2011 02:20:17 +0000 (19:20 -0700)]
TouchExplorer long press not working and activation tap not respecting distance slop.

1. The first problem is manifested on Prime. Apparently the Prime screen driver
   is very aggresive in filtering move events that origin from almost the same
   location. Hence, the framework doesn't see a constant stream of events. However,
   the TouchExplorer implementation was assuming a constant event stream to detect
   long press. Refactored the code such that no assumptions for the event stream
   are made.

2. Touch exploring an item and then tapping far away from that item was activating
   it, hence not respecting the distance slop. This was due to incorrect check of
   the latter.

bug:5070917

Change-Id: I3627a2feeb3712133f58f8f8f1ab7a2ec50cdc9a

13 years ago[step4] Change service interface
satok [Mon, 25 Jul 2011 02:01:49 +0000 (11:01 +0900)]
[step4] Change service interface

Change-Id: Iaf86065a2a7f075c670ebdaa60a33a815dcb8113

13 years agoMerge "[Step 2] Add apis for spell checker settings"
satok [Mon, 25 Jul 2011 01:47:50 +0000 (18:47 -0700)]
Merge "[Step 2] Add apis for spell checker settings"

13 years ago[Step 2] Add apis for spell checker settings
satok [Mon, 25 Jul 2011 01:12:21 +0000 (10:12 +0900)]
[Step 2] Add apis for spell checker settings

Bug: 5057977

Change-Id: I4617b7f1487349c5de385e7392dbc39c69fa2ebc

13 years agoAdd IS_READ column in call log and voicemail providers.
Flavio Lerda [Thu, 21 Jul 2011 15:53:59 +0000 (16:53 +0100)]
Add IS_READ column in call log and voicemail providers.

Initially we had exposed NEW in the voicemail provider instead of the
IS_READ field. However, NEW is already used in the call log to represent
a missed call for which a notification needs to be shown to the user.

On the other hand, voicemail need both be shown in a notification and
retain their own read/unread state, which is determined by whether the
user has opened the details of the voicemail.

This change introduces the IS_READ field for voicemails and exposes it
also via the call log content provider.

The NEW column in the voicemail content provider will be removed in a
follow-up.

Bug: 5036195
Change-Id: I2f8c04685a82cbf77f4778cf057ff62c7da1256a

13 years agoMerge "Introduce param/column for group count"
Daisuke Miyakawa [Mon, 25 Jul 2011 00:53:47 +0000 (17:53 -0700)]
Merge "Introduce param/column for group count"

13 years agoAudioFlinger: add dump of audio pre processing.
Eric Laurent [Mon, 25 Jul 2011 00:49:51 +0000 (17:49 -0700)]
AudioFlinger: add dump of audio pre processing.

Dump of media.audio_flinger service was only listing effects on output threads.
Moved the dump of effect chains from PlaybackThread to ThreadBase class so that
pre processings on RecordThread are also listed.

Change-Id: If8bc74023c12b9c2371f1b300743b156ceca7b87

13 years agoIntroduce param/column for group count
Daisuke Miyakawa [Sat, 23 Jul 2011 18:39:23 +0000 (11:39 -0700)]
Introduce param/column for group count

Bug: 5039532
Change-Id: Ibc604770cb61ca9fd92280e58f1cd1bbf30c216a

13 years agoMerge "Fix interface notification race"
Irfan Sheriff [Mon, 25 Jul 2011 00:14:12 +0000 (17:14 -0700)]
Merge "Fix interface notification race"

13 years agoFix bug 4211099 channel constants and 7.1 mask
Jean-Michel Trivi [Sun, 24 Jul 2011 23:25:38 +0000 (16:25 -0700)]
Fix bug 4211099 channel constants and 7.1 mask

Add definitions for the side and elevated channels.

Add new (correct) definition for 7.1 mask which uses
 the side channels rather than the front half-pan channels.

Change-Id: I13d93f99f3b453ce2ab5fdc2da66629ed7f337ef

13 years agoMerge "Do not wait forever for output buffers in OMXCodec.cpp and error out in case...
James Dong [Sun, 24 Jul 2011 21:40:08 +0000 (14:40 -0700)]
Merge "Do not wait forever for output buffers in OMXCodec.cpp and error out in case time out happens"

13 years agoFix interface notification race
Irfan Sheriff [Sun, 24 Jul 2011 21:28:15 +0000 (14:28 -0700)]
Fix interface notification race

In one use case, I see that if we go straight from
wifi client mode to tethering operation, the interface change notifications
are reported in an order that causes to enter tethered state
without actually tethering through connectivity service.

It is because an interface down notification (from wifi going down) comes after
we have started soft ap and we think we have tethered after calling startTethering
and switch to Tethered state

Instead, we should make sure tethering has started before going to Tethered state.

Change-Id: Iba7e8fab0feeb5637d40938862a8638871df8b02

13 years agoMerge "QueryCodecs() signature change"
Jean-Michel Trivi [Sun, 24 Jul 2011 19:59:35 +0000 (12:59 -0700)]
Merge "QueryCodecs() signature change"

13 years agoMerge "Updated: Wi-Fi p2p framework"
repo sync [Sun, 24 Jul 2011 19:57:17 +0000 (12:57 -0700)]
Merge "Updated: Wi-Fi p2p framework"

13 years agoMerge "Do not change the number of bytes while converting 8-bit samples to 16-bit...
Gloria Wang [Sun, 24 Jul 2011 19:07:20 +0000 (12:07 -0700)]
Merge "Do not change the number of bytes while converting 8-bit samples to 16-bit, because this number will be used later to calculate mCurrentPos. Fix for bug 5063703."

13 years agoUpdated: Wi-Fi p2p framework
repo sync [Fri, 24 Jun 2011 21:23:07 +0000 (14:23 -0700)]
Updated: Wi-Fi p2p framework

First stage. Get the bones in right now even though
we are not ready on the native side.

Once, we have things underneath working - we will further update the
framework

Change-Id: I4a7dab5cd4267373dc5f8989ae4122f91c384ed5

13 years agoam 051660d4: am deb62be2: Merge "Configure RAT dependent retry pattern in GSM DCT...
Wink Saville [Sun, 24 Jul 2011 16:15:39 +0000 (09:15 -0700)]
am 051660d4: am deb62be2: Merge "Configure RAT dependent retry pattern in GSM DCT." into honeycomb-LTE

* commit '051660d4d6d293f4b561bc6a772c70aa077a578a':
  Configure RAT dependent retry pattern in GSM DCT.

13 years agoam 9820a9d2: am 4281817f: Allow suggestedRetryTime to indicate no retry is needed.
Kazuhiro Ondo [Sun, 24 Jul 2011 16:13:52 +0000 (09:13 -0700)]
am 9820a9d2: am 4281817f: Allow suggestedRetryTime to indicate no retry is needed.

* commit '9820a9d299dc46f2a9037866ddf61c4782cf9186':
  Allow suggestedRetryTime to indicate no retry is needed.

13 years agoam deb62be2: Merge "Configure RAT dependent retry pattern in GSM DCT." into honeycomb-LTE
Wink Saville [Sun, 24 Jul 2011 16:13:26 +0000 (09:13 -0700)]
am deb62be2: Merge "Configure RAT dependent retry pattern in GSM DCT." into honeycomb-LTE

* commit 'deb62be2e87b19e9bbbc668f8d9327b12dba4a3b':
  Configure RAT dependent retry pattern in GSM DCT.

13 years agoam 4281817f: Allow suggestedRetryTime to indicate no retry is needed.
Kazuhiro Ondo [Sun, 24 Jul 2011 16:11:42 +0000 (09:11 -0700)]
am 4281817f: Allow suggestedRetryTime to indicate no retry is needed.

* commit '4281817f6b624cb51926eb24fa78c68cd9431dce':
  Allow suggestedRetryTime to indicate no retry is needed.

13 years agoMerge "Configure RAT dependent retry pattern in GSM DCT." into honeycomb-LTE
Wink Saville [Sun, 24 Jul 2011 16:11:28 +0000 (09:11 -0700)]
Merge "Configure RAT dependent retry pattern in GSM DCT." into honeycomb-LTE

13 years agoAllow suggestedRetryTime to indicate no retry is needed.
Kazuhiro Ondo [Sun, 24 Jul 2011 15:08:38 +0000 (08:08 -0700)]
Allow suggestedRetryTime to indicate no retry is needed.

If suggestedRetryTime is 0x7fffffff then no retry is needed
and the framework should not initiate a retry.

Bug: 4949208
Change-Id: I3756ef6a3e93beec4ee95863cbc111b9952e5e06

13 years agoMerge "Handle hostapd and tether interface changes"
Irfan Sheriff [Sun, 24 Jul 2011 05:30:36 +0000 (22:30 -0700)]
Merge "Handle hostapd and tether interface changes"

13 years agoHandle hostapd and tether interface changes
Irfan Sheriff [Fri, 22 Jul 2011 22:21:10 +0000 (15:21 -0700)]
Handle hostapd and tether interface changes

The set config will only update hostapd config file right now and we need to restart after that happens.

Also, softap interface is changed to be the regular interface

Bug: 5069108
Change-Id: Ibe80129b58e5339f06f186870bcd8f37569c6db3

13 years agoSwitch state text not added to accessibility events.
Svetoslav Ganov [Sun, 24 Jul 2011 02:52:17 +0000 (19:52 -0700)]
Switch state text not added to accessibility events.

1. Adding the text to the events now.

bug:5071053

Change-Id: If36afb1f5327720fc002b8c49e5d7b00c5f189f7

13 years agoMerge "TwoStatePreference does not fire click events."
Svetoslav Ganov [Sun, 24 Jul 2011 02:38:47 +0000 (19:38 -0700)]
Merge "TwoStatePreference does not fire click events."

13 years agoMerge "Fix USB tethering"
Mike Lockwood [Sun, 24 Jul 2011 02:36:32 +0000 (19:36 -0700)]
Merge "Fix USB tethering"

13 years agoFix USB tethering
Mike Lockwood [Tue, 19 Jul 2011 20:04:47 +0000 (13:04 -0700)]
Fix USB tethering

The previous approach no longer works with the new USB drivers, since the usb0
interface is no longer enabled by default.
This introduced a chicken & egg problem - usb0 will not be enabled until the
user tries to start tethering, but Settings will not enable the checkbox unless
usb0 is enabled.
To fix this we add an explicit call to start USB tethering in the connectivity manager.
This will enable RNDIS if necessary and then bring up tethering once usb0 is enabled.

Change-Id: Iae1f733366aa6b0dafa66d4c97207794173ef54b
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoConfigure RAT dependent retry pattern in GSM DCT.
Kazuhiro Ondo [Fri, 22 Jul 2011 01:13:52 +0000 (20:13 -0500)]
Configure RAT dependent retry pattern in GSM DCT.

In case GSM DCT is used with EHRPD, retry pattern should follow
the ones for CDMA.

Bug: 5058426
Change-Id: Id9badc9ac14fb20ac62c1746061f056fa2f9ed1b

13 years agoMerge "Tweak APIs for SpellChecker"
satok [Sat, 23 Jul 2011 06:17:51 +0000 (23:17 -0700)]
Merge "Tweak APIs for SpellChecker"

13 years agoTweak APIs for SpellChecker
satok [Sat, 23 Jul 2011 02:39:55 +0000 (11:39 +0900)]
Tweak APIs for SpellChecker

1. Move getSupellcheckerInfo to SpellCheckerSession
2. Change the interface of getSpellCheckerSession
3. Remove a flag in SuggestionsInfo

Change-Id: I3debe09e213fc0ab74618eb3504383f2a9447fd9

13 years agoMerge "Display the current ime and subtype name in the ongoing notification"
satok [Sat, 23 Jul 2011 03:14:27 +0000 (20:14 -0700)]
Merge "Display the current ime and subtype name in the ongoing notification"

13 years agoDisplay the current ime and subtype name in the ongoing notification
satok [Fri, 22 Jul 2011 12:07:23 +0000 (21:07 +0900)]
Display the current ime and subtype name in the ongoing notification

Bug: 4903422
Change-Id: I3eaeb3decb75f687ad2af0d80340b819229c3ebe

13 years agoFix bug 5060033 - No text-editing toolbar when in a dialog
Adam Powell [Sat, 23 Jul 2011 02:35:06 +0000 (19:35 -0700)]
Fix bug 5060033 - No text-editing toolbar when in a dialog

Fix a bug that caused standalone action mode bars to not appear
properly or account for system insets such as the status bar.

Add public API to View to toggle the fitsSystemWindows attribute.

Change-Id: I5d7669425b930c5d23f9df26a45f544b706e8242

13 years agoMerge "Code cleaning"
Fabrice Di Meglio [Sat, 23 Jul 2011 02:24:52 +0000 (19:24 -0700)]
Merge "Code cleaning"

13 years agoTwoStatePreference does not fire click events.
Svetoslav Ganov [Sat, 23 Jul 2011 01:52:56 +0000 (18:52 -0700)]
TwoStatePreference does not fire click events.

1. Event were send in onBindView but since we have fixed the bug
   of unattached views firing accessibility events and there is
   no guarantee that the view is attached in onBindView no events
   were sent. Now posting a runnable so on the next run the UI
   tread will send the event i.e. after the view is bound and
   attached.

bug:5008841

Change-Id: I4ed914f7fb65d6896f0c55e7c46e6508d2b2f11f

13 years agoCode cleaning
Fabrice Di Meglio [Sat, 23 Jul 2011 01:19:36 +0000 (18:19 -0700)]
Code cleaning

- this was a bit ugly, isnt it?

Change-Id: Ic479c180977d73d333afed7696b2920840d92abf

13 years agoMerge "Deprecate two methods in MediaRecorder.java class"
James Dong [Sat, 23 Jul 2011 00:59:10 +0000 (17:59 -0700)]
Merge "Deprecate two methods in MediaRecorder.java class"

13 years agoTouch exploration state set to clients asynchronously and depended on talking service...
Svetoslav Ganov [Thu, 21 Jul 2011 18:35:03 +0000 (11:35 -0700)]
Touch exploration state set to clients asynchronously and depended on talking service being enabled.

1. Upon registration of an accessibility client the latter received only
   the accessiiblity state and waiting for the touch exploration state
   to be sent by the system in async manner. This led the very first
   check of touch exploration state is checked a wrong value to be reported.
   Now a state of the accessibility layer is returned to the client
   upon registration.

2. Removing the dependency on talking accessibility service to be enabled
   for getting into touch exploration mode. What if the user wants to use
   an accessibility service that shows a dialog with the text of the touched
   view?

bug:5051546

Change-Id: Ib377babb3f560929ee73bd3d8b0d277341ba23f7

13 years agoMerge "VPN: increase timeout period to 60 seconds for legacy VPN."
Chia-chi Yeh [Sat, 23 Jul 2011 00:14:50 +0000 (17:14 -0700)]
Merge "VPN: increase timeout period to 60 seconds for legacy VPN."

13 years agoam 3e930dba: (-s ours) am d1b4c10f: Merge "DO NOT MERGE AccessibilityInjectorTest...
Svetoslav Ganov [Sat, 23 Jul 2011 00:10:32 +0000 (17:10 -0700)]
am 3e930dba: (-s ours) am d1b4c10f: Merge "DO NOT MERGE AccessibilityInjectorTest did not restore the default key binsings." into honeycomb-LTE

* commit '3e930dba58442776b3c921b3dc1980fdba2caed9':
  DO NOT MERGE AccessibilityInjectorTest did not restore the default key binsings.

13 years agoam d1b4c10f: Merge "DO NOT MERGE AccessibilityInjectorTest did not restore the defaul...
Svetoslav Ganov [Sat, 23 Jul 2011 00:07:28 +0000 (17:07 -0700)]
am d1b4c10f: Merge "DO NOT MERGE AccessibilityInjectorTest did not restore the default key binsings." into honeycomb-LTE

* commit 'd1b4c10fedc04384f40ba7fc30115a1380ce014f':
  DO NOT MERGE AccessibilityInjectorTest did not restore the default key binsings.

13 years agoMerge "DO NOT MERGE AccessibilityInjectorTest did not restore the default key binsing...
Svetoslav Ganov [Sat, 23 Jul 2011 00:05:26 +0000 (17:05 -0700)]
Merge "DO NOT MERGE AccessibilityInjectorTest did not restore the default key binsings." into honeycomb-LTE

13 years agoMerge "Fix the build"
Romain Guy [Fri, 22 Jul 2011 23:46:59 +0000 (16:46 -0700)]
Merge "Fix the build"

13 years agoFix the build
Romain Guy [Fri, 22 Jul 2011 23:46:34 +0000 (16:46 -0700)]
Fix the build

Change-Id: Icdf7e25fff5f1dc0836e67368f6797b60164e8ae

13 years agoMerge "Connect MediaRecorder Native to SurfaceMediaSource"
Pannag Sanketi [Fri, 22 Jul 2011 23:42:41 +0000 (16:42 -0700)]
Merge "Connect MediaRecorder Native to SurfaceMediaSource"

13 years agoAdd support for creating a Surface from a a SurfaceTexture.
Ted Bonkenburg [Fri, 15 Jul 2011 22:10:10 +0000 (15:10 -0700)]
Add support for creating a Surface from a a SurfaceTexture.

The Surface is already using SurfaceTexture internally and it is parcelable. This
is intended to replace and phase out ParcelSurfaceTexture in favor of creating a
new Surface.java object from an existing SurfaceTexture.

Change-Id: I8e2dd86614523da6abed6403e1d705a68fa19fdf

13 years agoMerge changes Ibd261f7b,Ifdd234ef,I0e2f0bc3
Jamie Gennis [Fri, 22 Jul 2011 23:24:03 +0000 (16:24 -0700)]
Merge changes Ibd261f7b,Ifdd234ef,I0e2f0bc3

* changes:
  SurfaceTexture: add the abandon method.
  SurfaceTexture: add a deadlock scenario test
  SurfaceMediaSource: remove getAllocator method

13 years agoMerge "Nested alpha animations should cause invalidates too Bug #5041061"
Romain Guy [Fri, 22 Jul 2011 23:04:00 +0000 (16:04 -0700)]
Merge "Nested alpha animations should cause invalidates too Bug #5041061"

13 years agoNested alpha animations should cause invalidates too
Romain Guy [Fri, 22 Jul 2011 23:03:07 +0000 (16:03 -0700)]
Nested alpha animations should cause invalidates too
Bug #5041061

Change-Id: I96835449b6b5537872afda90956c5d06d826e841

13 years agoVPN: increase timeout period to 60 seconds for legacy VPN.
Chia-chi Yeh [Fri, 22 Jul 2011 22:46:52 +0000 (15:46 -0700)]
VPN: increase timeout period to 60 seconds for legacy VPN.

Some VPN needs more time than others in order to create the secure tunnel.
For example, L2TP/IPSec PSK on average needs 15 seconds on WiFi. On mobile
connection, variation gets larger, and it sometimes needs more than 30
seconds. This change increases timeout period from 30 to 60 seconds.

Change-Id: I6006fd254a7bc91c22f63d2f3f20ea79ee9b05e2

13 years agoSurfaceTexture: enable RGB external textures
Jamie Gennis [Wed, 20 Jul 2011 00:58:43 +0000 (17:58 -0700)]
SurfaceTexture: enable RGB external textures

This change removes support for conditionally using the GL_TEXTURE_2D
target for SurfaceTexture textures with RGB buffers.  It also enables
and fixes the RGB-based SurfaceTexture tests.

Change-Id: I9a251a981cf66af6b048b2e4c3fe7231e4774f4d

13 years agoStop using charAt for Signatures
Kenny Root [Fri, 22 Jul 2011 22:32:30 +0000 (15:32 -0700)]
Stop using charAt for Signatures

Simply getting the byte array and operating on that instead of using
String.charAt() repeatedly speeds up Signature initializer calls during
bootup from 150ms to 9ms (1700% faster).

Change-Id: I85ef17ef63477927e0181d5f49a1d521b7b0d98b

13 years agoMerge "Fix typo which caused invalid rotations to be returned with NATIVE_WINDOW_TRAN...
Mathias Agopian [Fri, 22 Jul 2011 22:27:47 +0000 (15:27 -0700)]
Merge "Fix typo which caused invalid rotations to be returned with NATIVE_WINDOW_TRANSFORM_HINT"

13 years agoFix typo which caused invalid rotations to be returned with NATIVE_WINDOW_TRANSFORM_HINT
Mathias Agopian [Fri, 22 Jul 2011 22:25:20 +0000 (15:25 -0700)]
Fix typo which caused invalid rotations to be returned with NATIVE_WINDOW_TRANSFORM_HINT

Bug: 4487161
Change-Id: Ib2dfbbef15397b6d90695bd27f25849ca20704f1

13 years agoQueryCodecs() signature change
Jean-Michel Trivi [Fri, 22 Jul 2011 16:52:39 +0000 (09:52 -0700)]
QueryCodecs() signature change

Restore QueryCodecs() signature exactly as used by third-party libs.
Add an alternative function to select HW only codecs.

Change-Id: Ibb2cb4dd36fc0c6599eb93aa5751c216397e3b6f

13 years agoDo not change the number of bytes while converting 8-bit samples to 16-bit,
Gloria Wang [Fri, 22 Jul 2011 21:42:28 +0000 (14:42 -0700)]
Do not change the number of bytes while converting 8-bit samples to 16-bit,
because this number will be used later to calculate mCurrentPos.
Fix for bug 5063703.

Change-Id: I75a78ef694482aa426d82a6c5f3d2ce570a9c19e

13 years agoMerge "Fix bug 5027071 - Action menu parent consistency"
Adam Powell [Fri, 22 Jul 2011 21:28:39 +0000 (14:28 -0700)]
Merge "Fix bug 5027071 - Action menu parent consistency"

13 years agoSurfaceTexture: add the abandon method.
Jamie Gennis [Tue, 19 Jul 2011 19:08:33 +0000 (12:08 -0700)]
SurfaceTexture: add the abandon method.

This change adds the 'abandon' method to the SurfaceTexture C++ class.
This method may be used to put the SurfaceTexture in an abandoned state,
causing all ISurfaceTexture methods to fail.

Change-Id: Ibd261f7b73f44e2bec36a8508bf92113cfb7cf95

13 years agoConnect MediaRecorder Native to SurfaceMediaSource
Pannag Sanketi [Sat, 2 Jul 2011 00:39:39 +0000 (17:39 -0700)]
Connect MediaRecorder Native to SurfaceMediaSource

Making a connection from MediaRecorder Native layer to the
SurfaceMediaSource for the purpose of encoding GL Frames. This will be
called from the java side inside the Mobile Filter Framework.

The mediarecorder native layer (client), when set the videosource to
option VIDEO_SOURCE_FRAMES, asks the StageFrightRecorder on the mediaserver
side to create a SurfaceMediaSource object and pass it back as a
sp<ISurfaceTexture> object. Using that, the client side will dequeue and
queue buffers. Connecting the GL Frames to the obtained
sp<ISurfaceTexture> is not part of this CL.

Related to bug id: 4529323

Change-Id: I651bec718dd5b935779e7d7a050b841c2d0b0fcd

13 years agoImplement CollapsibleActionView on SearchView.
Amith Yamasani [Fri, 22 Jul 2011 18:53:47 +0000 (11:53 -0700)]
Implement CollapsibleActionView on SearchView.

Automatically handle expanding and collapsing in an ActionBar using
the new callback for Collapsible ActionViews.

Also clear the query text when collapsing.
Make sure that the 'x' doesn't show when in expanded mode with no text.

Change-Id: I7cba009c7cc9a1c264ec11c76315353cbde55c6c

13 years agoSurfaceTexture: add a deadlock scenario test
Jamie Gennis [Thu, 21 Jul 2011 21:31:31 +0000 (14:31 -0700)]
SurfaceTexture: add a deadlock scenario test

This change adds a test to ensure that a GL driver that's blocking on a
call to dequeueBuffer does not block other GL threads from rendering and
queueing buffers.

Change-Id: Ifdd234effc534b6a9cf8522ca87f64da5bb0bbd6

13 years agoSurfaceMediaSource: remove getAllocator method
Jamie Gennis [Fri, 22 Jul 2011 21:00:37 +0000 (14:00 -0700)]
SurfaceMediaSource: remove getAllocator method

This change removes the getAllocator method from SurfaceMediaSource
because that method is no longer a part of the ISurfaceTexture
interface.

Change-Id: I0e2f0bc3bc1c8cd3c1b4b14246f07b9b4e3066c3

13 years agoFix bug 5027071 - Action menu parent consistency
Adam Powell [Fri, 22 Jul 2011 20:39:08 +0000 (13:39 -0700)]
Fix bug 5027071 - Action menu parent consistency

Make sure that action menus can tolerate moving around in the bar.

Change-Id: I2dfb4ea7e647a6c4e84ec78865af6fd858e3f59f

13 years agoMerge changes I799532f7,I5cffa6eb
Jamie Gennis [Fri, 22 Jul 2011 20:34:57 +0000 (13:34 -0700)]
Merge changes I799532f7,I5cffa6eb

* changes:
  SurfaceTexture: fix a comment
  SurfaceTexture: remove getAllocator

13 years agoam 19933916: am ad55d351: Add better routes for secondary DNS
Robert Greenwalt [Fri, 22 Jul 2011 20:17:54 +0000 (13:17 -0700)]
am 19933916: am ad55d351: Add better routes for secondary DNS

* commit '199339169476d0d6d0ecaa8ed3bff3a9e9a0f430':
  Add better routes for secondary DNS

13 years agoam ad55d351: Add better routes for secondary DNS
Robert Greenwalt [Fri, 22 Jul 2011 20:15:56 +0000 (13:15 -0700)]
am ad55d351: Add better routes for secondary DNS

* commit 'ad55d35114237071133eb28ded93a014185d4e35':
  Add better routes for secondary DNS

13 years agoAdd better routes for secondary DNS
Robert Greenwalt [Fri, 22 Jul 2011 18:55:33 +0000 (11:55 -0700)]
Add better routes for secondary DNS

We'd been doing no-gateway hostroutes for dns servers on secondary nets, but on
some devices (multi-homed stingray) this is a problem.  Add gateway-ed hostroutes
instead so the BP can do it's nonstandard "magical" demultiplexing.

bug:5011392
Change-Id: Ia48f69c8ddf2a37cfb8f014f078f96bf601d2ddb

13 years agoMerge "Fixing new minResizeWidth/Height API"
Adam Cohen [Fri, 22 Jul 2011 19:27:37 +0000 (12:27 -0700)]
Merge "Fixing new minResizeWidth/Height API"

13 years agoFixing new minResizeWidth/Height API
Adam Cohen [Fri, 22 Jul 2011 18:51:45 +0000 (11:51 -0700)]
Fixing new minResizeWidth/Height API

Change-Id: I6b57cca32ed7678597e7c0d81dc483ee294537a9

13 years agoMerge "Renaming SurfaceEncoder to SurfaceMediaSource"
Pannag Sanketi [Fri, 22 Jul 2011 18:49:36 +0000 (11:49 -0700)]
Merge "Renaming SurfaceEncoder to SurfaceMediaSource"

13 years agoMerge "Adding SurfaceEncoder for encoding FilterFrames"
Pannag Sanketi [Fri, 22 Jul 2011 18:49:21 +0000 (11:49 -0700)]
Merge "Adding SurfaceEncoder for encoding FilterFrames"

13 years agoDeprecate two methods in MediaRecorder.java class
James Dong [Thu, 21 Jul 2011 17:36:03 +0000 (10:36 -0700)]
Deprecate two methods in MediaRecorder.java class

Change-Id: I98fbe628fe77867b97c04f44458948ede2f49d22

13 years agoMerge "Fixing WifiWatchdog log flag"
Irfan Sheriff [Fri, 22 Jul 2011 18:20:14 +0000 (11:20 -0700)]
Merge "Fixing WifiWatchdog log flag"

13 years agoMerge "Fix issue #5054723: java.lang.NullPointerException at..."
Dianne Hackborn [Fri, 22 Jul 2011 18:07:22 +0000 (11:07 -0700)]
Merge "Fix issue #5054723: java.lang.NullPointerException at..."

13 years agoFix issue #5054723: java.lang.NullPointerException at...
Dianne Hackborn [Thu, 21 Jul 2011 23:25:26 +0000 (16:25 -0700)]
Fix issue #5054723: java.lang.NullPointerException at...

...android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1284)

Make sure to commit all pending actions before completing the destroy.

Change-Id: I85643e5f7b1221048523bd186b48fb88fc70ca23

13 years agoMerge "Fix issue 4988574: 8 bit PCM audio playback broken."
Eric Laurent [Fri, 22 Jul 2011 18:04:07 +0000 (11:04 -0700)]
Merge "Fix issue 4988574: 8 bit PCM audio playback broken."

13 years agoMerge "Fix issue #5050039: Launcher is sometimes rendering..."
Dianne Hackborn [Fri, 22 Jul 2011 17:52:34 +0000 (10:52 -0700)]
Merge "Fix issue #5050039: Launcher is sometimes rendering..."