OSDN Git Service

android-x86/frameworks-base.git
13 years agoMerge "Remove timeout support." into gingerbread
Nick Pelly [Tue, 2 Nov 2010 21:46:46 +0000 (14:46 -0700)]
Merge "Remove timeout support." into gingerbread

13 years agoRemove timeout support.
Nick Pelly [Tue, 2 Nov 2010 21:13:52 +0000 (16:13 -0500)]
Remove timeout support.

The implementation was guarenteed to cause deadlock when a timeout was set.

Change-Id: I59444ea784eb9057c6c4c9e9123f558b3ef5eef6
Signed-off-by: Nick Pelly <npelly@google.com>
13 years agoMerge "DOC CHANGE: Add entry for monkeyrunner to tools index page." into gingerbread
Joe Malin [Tue, 2 Nov 2010 20:17:16 +0000 (13:17 -0700)]
Merge "DOC CHANGE: Add entry for monkeyrunner to tools index page." into gingerbread

13 years agoMerge "Support for <compatible-screens><screen> in ADT." into gingerbread
Raphael [Tue, 2 Nov 2010 18:43:11 +0000 (11:43 -0700)]
Merge "Support for <compatible-screens><screen> in ADT." into gingerbread

13 years agoMerge "Rescaled/updated mdpi assets added." into gingerbread
Gilles Debunne [Tue, 2 Nov 2010 17:05:52 +0000 (10:05 -0700)]
Merge "Rescaled/updated mdpi assets added." into gingerbread

13 years agoMerge "Rescaled/updated mdpi assets added." into gingerbread
Gilles Debunne [Tue, 2 Nov 2010 17:04:40 +0000 (10:04 -0700)]
Merge "Rescaled/updated mdpi assets added." into gingerbread

13 years agoFix bugs related to cheek event suppression.
Jeff Brown [Tue, 2 Nov 2010 03:35:46 +0000 (20:35 -0700)]
Fix bugs related to cheek event suppression.

Two issues:

1. First, due to an inverted conditional in the input dispatcher, we were
   reporting touches as long touches and vice-versa to the power manager.

2. Power manager user activity cheek event suppression also suppresses touch
   events (but not long touch or up events).  As a result, if cheek event
   suppression was enabled, touches would not poke the user activity timer.
   However due to the above logic inversion, this actually affected long
   touches.  Net result, if cheek suppression was enabled in the power manager
   and you held your thumb on the screen long enough, the phone would
   go to sleep!

Cheek event suppression is commonly turned on when making a phone call.
Interestingly, it does not seem to get turned off afterward...

This change fixes the logic inversion and exempts touches from the cheek
suppression.  The reason we do the latter is because the old behavior
was actually harmful in other ways too: a touch down would be suppressed
but not a long touch or the touch up.  This would cause bizarre behavior
if you touched the screen while it was dimmed.  Instead of brightening
immediately, it would brighten either when you lifted your finger or
300ms later, whichever came first.

Bug: 3154895
Change-Id: Ied9ccec6718fbe86506322ff47a4e3eb58f81834

13 years agoAdding some StorageManager integration test infrastructure and some basic tests.
Neal Nguyen [Mon, 11 Oct 2010 00:50:52 +0000 (17:50 -0700)]
Adding some StorageManager integration test infrastructure and some basic tests.

More interesting tests to come in the form of host-based tests.

Change-Id: Ifdedf7ef26ed9889871c902af20164df0498cf07

13 years agoDOC CHANGE: Add entry for monkeyrunner to tools index page.
Joe Malin [Tue, 2 Nov 2010 00:19:40 +0000 (17:19 -0700)]
DOC CHANGE: Add entry for monkeyrunner to tools index page.

Change-Id: I6487521c3ab7cdf641242598dee6e2752f46fa7a

13 years agoRescaled/updated mdpi assets added.
Gilles Debunne [Tue, 2 Nov 2010 00:18:10 +0000 (17:18 -0700)]
Rescaled/updated mdpi assets added.

Change-Id: Idce2f1a3fb66565abe2c710281dab1ec6650d0c2

13 years agoRescaled/updated mdpi assets added.
Gilles Debunne [Tue, 2 Nov 2010 00:01:56 +0000 (17:01 -0700)]
Rescaled/updated mdpi assets added.

Change-Id: Ifd179b6850e04a785aef588c2f0f4fd80fc5c8fe

13 years agoCleaning up some more flakiness in DownloadManager tests.
Neal Nguyen [Thu, 21 Oct 2010 00:43:15 +0000 (17:43 -0700)]
Cleaning up some more flakiness in DownloadManager tests.

A couple of logic fixes (synchronization, poll time), and adding a little more test
logging info.

Change-Id: I8da71f87fd1e211913f84ec517762dca81f87292

13 years agoDO NOT MERGE: Doc Change: Documentation for MonkeyRunner tool
Joe Malin [Tue, 19 Oct 2010 00:07:45 +0000 (17:07 -0700)]
DO NOT MERGE: Doc Change: Documentation for MonkeyRunner tool

Change-Id: I049c5f70c47077c51fefbae32633592e80068df2

13 years agoMerge "Update the API file." into gingerbread
Dan Bornstein [Mon, 1 Nov 2010 23:08:14 +0000 (16:08 -0700)]
Merge "Update the API file." into gingerbread

13 years agoam eda78cea: docs: update dashboard
Scott Main [Mon, 1 Nov 2010 22:57:38 +0000 (15:57 -0700)]
am eda78cea: docs: update dashboard

* commit 'eda78ceaffb234c37b11e69602d020e4bb28ca83':
  docs: update dashboard

13 years agodocs: update dashboard
Scott Main [Mon, 1 Nov 2010 22:10:06 +0000 (15:10 -0700)]
docs: update dashboard

Change-Id: Icf0c2076484f4aed2d3bf3fc24b751e14eeeafe1

13 years agoMerge "Update insertion handler for WebTextView." into gingerbread
Leon Scroggins [Mon, 1 Nov 2010 21:49:47 +0000 (14:49 -0700)]
Merge "Update insertion handler for WebTextView." into gingerbread

13 years agoUpdate the API file.
Dan Bornstein [Mon, 1 Nov 2010 21:08:01 +0000 (14:08 -0700)]
Update the API file.

My previous change was api-compatible, but some of the incidental data
in the API file (like parameter names) changed. It looks like there
were probably a couple other similar changes too, that hadn't
previously been propagated to the API file; all I did to generate this
change was say "make update-api".

Change-Id: I427a9ceb51212fde515df007613b8687b7228ce7

13 years agoMerge "Fix issue #3152415: Various confusions in docs about Application" into gingerbread
Dianne Hackborn [Mon, 1 Nov 2010 19:47:02 +0000 (12:47 -0700)]
Merge "Fix issue #3152415: Various confusions in docs about Application" into gingerbread

13 years agoUpdate insertion handler for WebTextView.
Leon Scroggins [Mon, 1 Nov 2010 19:45:37 +0000 (15:45 -0400)]
Update insertion handler for WebTextView.

Bug:3152629
Change-Id: If2a33eb5456493fb9b3b2c54fcc4f5348fe129e1

13 years agoFix issue #3152415: Various confusions in docs about Application
Dianne Hackborn [Mon, 1 Nov 2010 16:49:37 +0000 (09:49 -0700)]
Fix issue #3152415: Various confusions in docs about Application

Change-Id: Ie1b480ed7a47a3eb6ffff76bef0dcd7b2b845e83

13 years agoFinal SDK API 9. DO NOT MERGE.
Dianne Hackborn [Wed, 27 Oct 2010 19:31:34 +0000 (12:31 -0700)]
Final SDK API 9.  DO NOT MERGE.

Change-Id: I3e2fc2ebc52eecb26ac3a6bb466447f378fb5de6

13 years agoam 579db096: docs: remove another "new" tag
Scott Main [Sat, 30 Oct 2010 00:16:57 +0000 (17:16 -0700)]
am 579db096: docs: remove another "new" tag

* commit '579db096fa05bd077fadb04876ecf99e3ccd02b9':
  docs: remove another "new" tag

13 years agodocs: remove another "new" tag
Scott Main [Sat, 30 Oct 2010 00:12:37 +0000 (17:12 -0700)]
docs: remove another "new" tag

Change-Id: I54d56f2090dee856741ea23028b51c85e526c46b

13 years agoMerge "A little tweaking of DL Manager tests and adding better debugging output....
Neal Nguyen [Sat, 30 Oct 2010 00:07:59 +0000 (17:07 -0700)]
Merge "A little tweaking of DL Manager tests and adding better debugging output." into gingerbread

13 years agoMerge "docs: Update various SDK docs for GB platform and tools" into gingerbread
Scott Main [Fri, 29 Oct 2010 22:34:00 +0000 (15:34 -0700)]
Merge "docs: Update various SDK docs for GB  platform and tools" into gingerbread

13 years agoA little tweaking of DL Manager tests and adding better debugging output.
Neal Nguyen [Mon, 25 Oct 2010 01:02:45 +0000 (18:02 -0700)]
A little tweaking of DL Manager tests and adding better debugging output.

Adding more detail to the output logging to help track down issues, fixing some
download completed notification counter flakiness and making reboot test more
robust, and reducing the number of concurrent downloads in testMultipleDownloads()
to 10. After talking with Vasu, this is probably more appropriate as it is
closer to typical usage scenarios, and as a side effect should trim some
time from the test runs. Large numbers of downloads will be left for stress
testing.

Change-Id: Ie337cfe9b8d27299d70553e39c60e241ff3afe66

13 years agoDO NOT MERGE. Add assets for <select>
Leon Clarke [Thu, 18 Mar 2010 13:42:56 +0000 (13:42 +0000)]
DO NOT MERGE. Add assets for <select>

Bug:3133784

Cherry-picking to GB from master.

Change-Id: I7d37c22f555d0e7c59a58fdad1516d3d77bf6d14

13 years agoMerge "docs: revise javadocs for sip add a package description, revise class descript...
Scott Main [Fri, 29 Oct 2010 17:03:36 +0000 (10:03 -0700)]
Merge "docs: revise javadocs for sip add a package description, revise class descriptions and edit some method docs" into gingerbread

13 years agodocs: Update various SDK docs for GB platform and tools
Scott Main [Thu, 28 Oct 2010 07:02:31 +0000 (00:02 -0700)]
docs: Update various SDK docs for GB  platform and tools

Change-Id: I8ccb296e5fba57743197bec140e9c79750f0d4f6

13 years agoMerge "Report the new size to wallpapers when the requested size changed." into ginge...
Joe Onorato [Fri, 29 Oct 2010 01:18:52 +0000 (18:18 -0700)]
Merge "Report the new size to wallpapers when the requested size changed." into gingerbread

13 years agoReport the new size to wallpapers when the requested size changed.
Joe Onorato [Fri, 29 Oct 2010 01:03:23 +0000 (18:03 -0700)]
Report the new size to wallpapers when the requested size changed.

We were telling the app, but we weren't saving the data for ourselves.
This also tells them to re-scroll when there's a new size.

Bug: 3144373
Change-Id: I9d12b714119ff02dd7d7f1cfa997d8a44475b9e9

13 years agoMerge "Hide some NFC API's." into gingerbread
Nick Pelly [Thu, 28 Oct 2010 23:47:31 +0000 (16:47 -0700)]
Merge "Hide some NFC API's." into gingerbread

13 years agodocs: revise javadocs for sip
Scott Main [Fri, 22 Oct 2010 18:29:57 +0000 (11:29 -0700)]
docs: revise javadocs for sip
add a package description, revise class descriptions and edit some method docs

Change-Id: Ice969a99c830349674c65d99e4b7a6f1d2f24a7e

13 years agoHide some NFC API's.
Nick Pelly [Thu, 28 Oct 2010 20:39:37 +0000 (13:39 -0700)]
Hide some NFC API's.

We are leaving enough API so that you can see when any Tag is discovered,
get its ID, and get its NDEF messages.

But for advanced use - creating tag connections and writing messages - we have
2 problems. Firstly a lot of the code is untested
(RawTagConnection.transceive()), or in some cases known not to work
(NdefTagConnection.write()). Secondly, there is still debate about how to
best expose information about Tags.

The set of data/methods exposed for a Tag changes completely depending on the
tag technology. There may be multiple sets of technology implemented in a
single tag. Tag A may have technology X and Y, Tag B may have technology Y
and Z. Furthermore, some NFC controllers will be not be able to use all
technologies, and so Android Device 1 may see technology X and Y on Tag A but
Android device 2 may only see technology X. So we have a pretty challenging
set of constraints to work under, and we are not convinced the current Tag and
NdefTag class is the best approach going forwards.

The Tag application should be able to remain unbundled, since it just needs to
get incoming NDEF Messages.

Change-Id: Ic09f094f33794e10f8d730fffe011c9a5957e0ac
Signed-off-by: Nick Pelly <npelly@google.com>
13 years agoMerge "GPS: remove some logging" into gingerbread
Mike Lockwood [Thu, 28 Oct 2010 21:28:46 +0000 (14:28 -0700)]
Merge "GPS: remove some logging" into gingerbread

13 years agoMerge "DO NOT MERGE. Fix asset file descriptor for pipe based fds." into gingerbread
Jeff Hamilton [Thu, 28 Oct 2010 21:01:21 +0000 (14:01 -0700)]
Merge "DO NOT MERGE. Fix asset file descriptor for pipe based fds." into gingerbread

13 years agoDO NOT MERGE. Fix asset file descriptor for pipe based fds.
Jeff Hamilton [Thu, 28 Oct 2010 20:05:27 +0000 (15:05 -0500)]
DO NOT MERGE. Fix asset file descriptor for pipe based fds.

Change-Id: Ic366d01f91017109abfcfa65bd2231dd7416ce71

13 years agoDO NOT MERGE - Ringtone bugfixes (round 1)
Justin Ho [Thu, 28 Oct 2010 17:23:33 +0000 (10:23 -0700)]
DO NOT MERGE - Ringtone bugfixes (round 1)

Change-Id: Idb72659b9cb00ec141b1229f42951e0a6e0b9a9a

13 years agoGPS: remove some logging
Mike Lockwood [Thu, 28 Oct 2010 11:34:47 +0000 (07:34 -0400)]
GPS: remove some logging

Change-Id: Ib2dca53364c9da207a87f2664b54d2ec1d1bd8d9
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "really fix [3118445] Transform * Transform does not work as expected" into...
Mathias Agopian [Thu, 28 Oct 2010 06:44:07 +0000 (23:44 -0700)]
Merge "really fix [3118445] Transform * Transform does not work as expected" into gingerbread

13 years agoMerge "DO NOT MERGE Fix auto connection with headsets which don't send incoming conne...
Jaikumar Ganesh [Thu, 28 Oct 2010 06:42:43 +0000 (23:42 -0700)]
Merge "DO NOT MERGE Fix auto connection with headsets which don't send incoming connections for all profiles." into gingerbread

13 years agoDrop all dispatcher state when dispatcher is disabled.
Jeff Brown [Thu, 28 Oct 2010 01:43:51 +0000 (18:43 -0700)]
Drop all dispatcher state when dispatcher is disabled.

This patch makes the dispatcher drop all of its state when it is
disabled (when the screen turns off).  This ensures that the dispatcher
does not get stuck thinking a pointer is still down if the screen
turned off while the user was touching the display (such as a fat touch
while hitting the power button).

Bug: 3098344
Change-Id: If50ef5804870aa1acd3179fd4b40e3cda58dd39d

13 years agoreally fix [3118445] Transform * Transform does not work as expected
Mathias Agopian [Tue, 26 Oct 2010 01:29:35 +0000 (18:29 -0700)]
really fix [3118445] Transform * Transform does not work as expected

Two bugs were counter acting each other.
- rotation matrices are on the left-hand side of multiplies
- the transform of the overlay is applied before that of the layer

Change-Id: Ia79bd368e9b719235c89ecf244ea263f01ce906a

13 years agoDO NOT MERGE Fix auto connection with headsets which don't send incoming
Jaikumar Ganesh [Wed, 27 Oct 2010 22:57:23 +0000 (15:57 -0700)]
DO NOT MERGE Fix auto connection with headsets which don't send incoming
connections for all profiles.

Bug: 3136095
Change-Id: I48f36b99f3f7619a6a18c6adc2057c9d6d23c3e3

13 years agoSupport for <compatible-screens><screen> in ADT.
Raphael [Wed, 27 Oct 2010 22:17:40 +0000 (15:17 -0700)]
Support for <compatible-screens><screen> in ADT.

SDK Bug: 3125910

Change-Id: I529a5f4e4ece3222495e3a0a78c80286483d218f

13 years agoFix issue #3138926: App's preferences can be lost after onPause()
Dianne Hackborn [Wed, 27 Oct 2010 20:57:00 +0000 (13:57 -0700)]
Fix issue #3138926: App's preferences can be lost after onPause()

Change-Id: Icea3d37fab5e47c89c5cbc0adff7bbec898fa93e

13 years agoMerge "Set capabilities sooner." into gingerbread
Andy McFadden [Wed, 27 Oct 2010 20:22:50 +0000 (13:22 -0700)]
Merge "Set capabilities sooner." into gingerbread

13 years agoSet capabilities sooner.
Andy McFadden [Wed, 27 Oct 2010 18:26:05 +0000 (11:26 -0700)]
Set capabilities sooner.

Bug 3135433.

Change-Id: I4e34b60c0a01b85ce0d80eb96ff3510604a68c71

13 years agoMerge "Fix issue with project resources overriding framework resources." into gingerbread
Xavier Ducrohet [Wed, 27 Oct 2010 18:22:22 +0000 (11:22 -0700)]
Merge "Fix issue with project resources overriding framework resources." into gingerbread

13 years agoMerge "Add the mediaplayer release in the test validation. This is to ensure the...
Yu Shan Emily Lau [Wed, 27 Oct 2010 18:12:58 +0000 (11:12 -0700)]
Merge "Add the mediaplayer release in the test validation. This is to ensure the media player release properly." into gingerbread

13 years agoMerge "Fix off-by-two and other bugs in the visualization code. b/3137511" into ginge...
Marco Nelissen [Wed, 27 Oct 2010 18:06:39 +0000 (11:06 -0700)]
Merge "Fix off-by-two and other bugs in the visualization code. b/3137511" into gingerbread

13 years agoFix off-by-two and other bugs in the visualization code.
Marco Nelissen [Wed, 27 Oct 2010 16:06:01 +0000 (09:06 -0700)]
Fix off-by-two and other bugs in the visualization code.
b/3137511

Change-Id: Ic431701e93c025bc417c9742e9af6bb2350c7dd6

13 years agoMake best effort attempt to recover NFC service when it dies.
Nick Pelly [Wed, 27 Oct 2010 08:14:43 +0000 (01:14 -0700)]
Make best effort attempt to recover NFC service when it dies.

Retrieve the service again from ServiceManager on RemoteException.

Change-Id: Ie227b52019e7deafeab712af1addd6d957f7a8ee
Signed-off-by: Nick Pelly <npelly@google.com>
13 years agoFix issue with project resources overriding framework resources.
Xavier Ducrohet [Tue, 26 Oct 2010 23:58:34 +0000 (16:58 -0700)]
Fix issue with project resources overriding framework resources.

Framework resources loaded through Drawable.createFromXml could
be overriden by project resources if there were loaded through
a  state list drawable where the final resource name was used
by a project resource (of the same type).

This ensures that the XML parser knows that it's a framework
resource being parsed and that the resource resolution uses
that information.

Change-Id: I39cf9eba755e55f1604b968637aeecff969a558d

13 years agoMerge "Assume that all of the decoded vorbis audio data is valid unless the source...
Andreas Huber [Tue, 26 Oct 2010 23:21:47 +0000 (16:21 -0700)]
Merge "Assume that all of the decoded vorbis audio data is valid unless the source indicates otherwise." into gingerbread

13 years agoMerge "DO NOT MERGE - Fixing ringtones that were put in as notifications" into ginger...
Justin Ho [Tue, 26 Oct 2010 23:06:28 +0000 (16:06 -0700)]
Merge "DO NOT MERGE - Fixing ringtones that were put in as notifications" into gingerbread

13 years agoDO NOT MERGE - Fixing ringtones that were put in as notifications
Justin Ho [Tue, 26 Oct 2010 22:34:07 +0000 (15:34 -0700)]
DO NOT MERGE - Fixing ringtones that were put in as notifications

Change-Id: I09a8a0f369604a6332b921b9e944a800ec4d6677

13 years agoAssume that all of the decoded vorbis audio data is valid unless the source indicates...
Andreas Huber [Tue, 26 Oct 2010 22:01:03 +0000 (15:01 -0700)]
Assume that all of the decoded vorbis audio data is valid unless the source indicates otherwise.

Change-Id: Iea88e3f09955d82a9a11fbcc075db8d9c4007490

13 years agoAdd the mediaplayer release in the test validation. This is to ensure the media playe...
Yu Shan Emily Lau [Tue, 26 Oct 2010 21:36:09 +0000 (14:36 -0700)]
Add the mediaplayer release in the test validation. This is to ensure the media player release properly.

Change-Id: Ia4758a3c549b64b6efead18e7538d977dee2be76

13 years agoMerge "Updade Surface (ANativeWindow) format based on its buffers format" into ginger...
Mathias Agopian [Tue, 26 Oct 2010 19:18:32 +0000 (12:18 -0700)]
Merge "Updade Surface (ANativeWindow) format based on its buffers format" into gingerbread

13 years agoMerge "add format parameter to setBufferGeometry" into gingerbread
Mathias Agopian [Tue, 26 Oct 2010 19:18:19 +0000 (12:18 -0700)]
Merge "add format parameter to setBufferGeometry" into gingerbread

13 years agoMerge "fix eglChooseConfig() for special attributes." into gingerbread
Mathias Agopian [Tue, 26 Oct 2010 19:18:07 +0000 (12:18 -0700)]
Merge "fix eglChooseConfig() for special attributes." into gingerbread

13 years agoMerge "Add a way to get a string for an error code." into gingerbread
Jeff Hamilton [Tue, 26 Oct 2010 19:14:17 +0000 (12:14 -0700)]
Merge "Add a way to get a string for an error code." into gingerbread

13 years agoAdd a way to get a string for an error code.
Jeff Hamilton [Tue, 26 Oct 2010 19:09:48 +0000 (14:09 -0500)]
Add a way to get a string for an error code.

Change-Id: I133e974c656eb558349cbc3f9a2caf5b18c8fc3d

13 years agoMerge "Fix rendering of digitalClock/Gallery in Eclipse editors." into gingerbread
Xavier Ducrohet [Tue, 26 Oct 2010 19:09:18 +0000 (12:09 -0700)]
Merge "Fix rendering of digitalClock/Gallery in Eclipse editors." into gingerbread

13 years agoFix rendering of digitalClock/Gallery in Eclipse editors.
Xavier Ducrohet [Tue, 26 Oct 2010 18:18:39 +0000 (11:18 -0700)]
Fix rendering of digitalClock/Gallery in Eclipse editors.

Change-Id: I80f4f90b173529632eaf2fbc3bb5471b7ede8216

13 years agoMerge "DO NOT MERGE - Fixing capitalized ringtone metadata only" into gingerbread
Justin Ho [Tue, 26 Oct 2010 16:09:22 +0000 (09:09 -0700)]
Merge "DO NOT MERGE - Fixing capitalized ringtone metadata only" into gingerbread

13 years agoDO NOT MERGE - Fixing capitalized ringtone metadata only
Justin Ho [Tue, 26 Oct 2010 16:05:06 +0000 (09:05 -0700)]
DO NOT MERGE - Fixing capitalized ringtone metadata only

Change-Id: Ib16ca195356b6cbb3d3926f6d5a3de366eaa980e

13 years agoMerge "Location Manager: Fix LocationManager.getBestProvider filtering." into gingerbread
Mike Lockwood [Tue, 26 Oct 2010 15:34:32 +0000 (08:34 -0700)]
Merge "Location Manager: Fix LocationManager.getBestProvider filtering." into gingerbread

13 years agoMerge "Partial fix for issue 3124895." into gingerbread
Eric Laurent [Tue, 26 Oct 2010 15:13:32 +0000 (08:13 -0700)]
Merge "Partial fix for issue 3124895." into gingerbread

13 years agoMerge "Make some contructors public but hidden." into gingerbread
Jeff Hamilton [Tue, 26 Oct 2010 14:16:46 +0000 (07:16 -0700)]
Merge "Make some contructors public but hidden." into gingerbread

13 years agoLocation Manager: Fix LocationManager.getBestProvider filtering.
Mike Lockwood [Tue, 26 Oct 2010 14:01:55 +0000 (10:01 -0400)]
Location Manager: Fix LocationManager.getBestProvider filtering.

getBestProvider should only return location providers that the client
has permission to use.

BUG: 3124614

Change-Id: I065091d0445092563bc53fb4f7d93a1ab6bebb9a
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMake some contructors public but hidden.
Jeff Hamilton [Tue, 26 Oct 2010 13:59:18 +0000 (08:59 -0500)]
Make some contructors public but hidden.

This allows them to be used from within the
NFC stack process internally.

Change-Id: I7f81759da63d451efe86550a57a400fb224b2064

13 years agoPartial fix for issue 3124895.
Eric Laurent [Tue, 26 Oct 2010 02:42:08 +0000 (19:42 -0700)]
Partial fix for issue 3124895.

When a SIP call is put on hold and no other call is active, the audio mode should not be
switched to incall.

Change-Id: I1307330f10cbfb9c4223bcb9dc4faa79778750af

13 years agoMerge "Don't turn the button backlights on if the screen is off. Part 2." into ginger...
Joe Onorato [Tue, 26 Oct 2010 01:48:08 +0000 (18:48 -0700)]
Merge "Don't turn the button backlights on if the screen is off. Part 2." into gingerbread

13 years agoam c9ac1079: update featured videos also remove "new" tags from SDK and Resources...
Scott Main [Tue, 26 Oct 2010 00:15:50 +0000 (17:15 -0700)]
am c9ac1079: update featured videos also remove "new" tags from SDK and Resources nav items

Merge commit 'c9ac1079696b93a294f504c6561397ef731a46f9' into gingerbread

* commit 'c9ac1079696b93a294f504c6561397ef731a46f9':
  update featured videos

13 years agoUpdade Surface (ANativeWindow) format based on its buffers format
Mathias Agopian [Mon, 25 Oct 2010 23:29:24 +0000 (16:29 -0700)]
Updade Surface (ANativeWindow) format based on its buffers format

this is to allow applications to change the format of a surface's
buffer, and have it reflected in EGL; which is needed for
EGLConfig validation.

Change-Id: Iee074c30ad765881e2409c1d37450b05e561c44d

13 years agoMerge "DO NOT MERGE - Updated ringtone assets for crespo" into gingerbread
Justin Ho [Mon, 25 Oct 2010 23:44:01 +0000 (16:44 -0700)]
Merge "DO NOT MERGE - Updated ringtone assets for crespo" into gingerbread

13 years agoDO NOT MERGE - Updated ringtone assets for crespo
Justin Ho [Mon, 25 Oct 2010 23:38:41 +0000 (16:38 -0700)]
DO NOT MERGE - Updated ringtone assets for crespo

Change-Id: Ie5c6b0bfa282f976129f5e87a09512da01e6851b

13 years agoMerge "Doc Change: Revert NotePad sample test package" into gingerbread
Joe Malin [Mon, 25 Oct 2010 23:19:18 +0000 (16:19 -0700)]
Merge "Doc Change: Revert NotePad sample test package" into gingerbread

13 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Mon, 25 Oct 2010 23:14:47 +0000 (16:14 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

13 years agoadd format parameter to setBufferGeometry
Mathias Agopian [Mon, 25 Oct 2010 01:35:26 +0000 (18:35 -0700)]
add format parameter to setBufferGeometry

Change-Id: I7cc2acdc6e65e9468ecfd5b2f22e6b495a383be9

13 years agoDoc Change: Revert NotePad sample test package
Joe Malin [Mon, 25 Oct 2010 22:55:13 +0000 (15:55 -0700)]
Doc Change: Revert NotePad sample test package

Change-Id: I68a1b6f9cd64a86c5a8fa6657559f47a89162b37

13 years agofix eglChooseConfig() for special attributes.
Mathias Agopian [Mon, 25 Oct 2010 22:51:24 +0000 (15:51 -0700)]
fix eglChooseConfig() for special attributes.

affects software renderer (emu) only.

per EGL spec:
  If EGL_MAX_PBUFFER_WIDTH, EGL_MAX_PBUFFER_HEIGHT,
  EGL_MAX_PBUFFER_PIXELS, or EGL_NATIVE_VISUAL_ID are speciļ¬ed
  in attrib list, then they are ignored

Change-Id: I3d5214ce896986da2f11d2eb1889afc41731eaa6

13 years agoupdate featured videos
Scott Main [Mon, 25 Oct 2010 20:45:35 +0000 (13:45 -0700)]
update featured videos
also remove "new" tags from SDK and Resources nav items

Change-Id: I75e16fc6dda5a7cbcd4ff8e4ebb2189860e884d5

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 25 Oct 2010 22:41:31 +0000 (15:41 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I404fe29521193ca9d0a3689d4a786253dc27e2d6

13 years agoMerge "Add a RHS status bar slot for NFC." into gingerbread
Jeff Hamilton [Mon, 25 Oct 2010 21:46:45 +0000 (14:46 -0700)]
Merge "Add a RHS status bar slot for NFC." into gingerbread

13 years agoAdd a RHS status bar slot for NFC.
Jeff Hamilton [Mon, 25 Oct 2010 21:41:41 +0000 (16:41 -0500)]
Add a RHS status bar slot for NFC.

Change-Id: I62cbcec051a2c69f76fb9a5b9ff6f6bc05a8257b

13 years agoDon't turn the button backlights on if the screen is off. Part 2.
Joe Onorato [Mon, 25 Oct 2010 21:09:21 +0000 (14:09 -0700)]
Don't turn the button backlights on if the screen is off. Part 2.

These are the logs from when I just reproduced it here.  This means that we got an event after the
screen turned off.  So isScreenTurningOffLocked() is working, but we need to also check that we're
not off.  This bug is happening because lightSensorChangedLocked is calling
mButtonLight.setBrightness() directly instead of going through updateLightsLocked, which is where
I added that check to not turn the buttons on of the screen is off.

D/PowerManagerService( 1243): onSensorChanged: light value: 1280
I/power   ( 1243): *** set_screen_state 0
D/PowerManagerService( 1243): enableLightSensor false
D/PowerManagerService( 1243): onSensorChanged: light value: 320
D/PowerManagerService( 1243): lightSensorChangedLocked 320
D/PowerManagerService( 1243): lcdValue 55
D/PowerManagerService( 1243): buttonValue 255
D/PowerManagerService( 1243): keyboardValue 0
D/SurfaceFlinger( 1243): About to give-up screen, flinger = 0x8dcf! 0

Bug: 3117801
Change-Id: I722d66cafba71b183cc987b7383d4ad7e171ba82

13 years agoMerge "GPS: Disable verbose logging" into gingerbread
Mike Lockwood [Mon, 25 Oct 2010 20:49:13 +0000 (13:49 -0700)]
Merge "GPS: Disable verbose logging" into gingerbread

13 years agoGPS: Disable verbose logging
Mike Lockwood [Mon, 25 Oct 2010 20:35:55 +0000 (16:35 -0400)]
GPS: Disable verbose logging

BUG: 3127049

Change-Id: I9efd9eb7ff69724b133f3b70c52e173f49ddfbc5
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "fix [3123221] Video sticks playing back upside down following orientation...
Mathias Agopian [Mon, 25 Oct 2010 20:31:11 +0000 (13:31 -0700)]
Merge "fix [3123221] Video sticks playing back upside down following orientation switch" into gingerbread

13 years agoMerge "fix [3118445] Transform * Transform does not work as expected" into gingerbread
Mathias Agopian [Mon, 25 Oct 2010 20:31:03 +0000 (13:31 -0700)]
Merge "fix [3118445] Transform * Transform does not work as expected" into gingerbread

13 years agoMerge "DO NOT MERGE Fix bug 3124899 - timeout in CTS test ExpandableListViewBasicTest...
Adam Powell [Mon, 25 Oct 2010 18:43:03 +0000 (11:43 -0700)]
Merge "DO NOT MERGE Fix bug 3124899 - timeout in CTS test ExpandableListViewBasicTest" into gingerbread

13 years agoMerge "docs: fix a couple api links" into gingerbread
Scott Main [Mon, 25 Oct 2010 18:18:28 +0000 (11:18 -0700)]
Merge "docs: fix a couple api links" into gingerbread

13 years agoDO NOT MERGE Fix bug 3124899 - timeout in CTS test
Adam Powell [Mon, 25 Oct 2010 18:08:06 +0000 (11:08 -0700)]
DO NOT MERGE Fix bug 3124899 - timeout in CTS test
ExpandableListViewBasicTest

A certain sequence of events could cause AbsListView to enter an
infinite event loop. Only report reaching a scroll boundary to the
overscroll code path if the Scroller wants to move further, not if
we're done moving.

Change-Id: Ifdaf72d60ca25584e4a37d3d8f17365e0fcbfa40

13 years agoMerge "Fixed NdefTag parcelable conversion methods." into gingerbread
Nick Pelly [Mon, 25 Oct 2010 15:58:00 +0000 (08:58 -0700)]
Merge "Fixed NdefTag parcelable conversion methods." into gingerbread

13 years agoMerge "Remove the FLIP_H/ROT_90 workaround from CameraService.do not merge" into...
Wu-cheng Li [Mon, 25 Oct 2010 15:55:54 +0000 (08:55 -0700)]
Merge "Remove the FLIP_H/ROT_90 workaround from CameraService.do not merge" into gingerbread

13 years agoFixed NdefTag parcelable conversion methods.
Sylvain Fonteneau [Mon, 25 Oct 2010 14:28:03 +0000 (07:28 -0700)]
Fixed NdefTag parcelable conversion methods.

Also removed call to obsolete openTagConnection() method which was crashing.

Change-Id: Iffd46bd5cad877bb3a82ede298e65ae98322dca9
Signed-off-by: Nick Pelly <npelly@google.com>