summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'froyo' of ↵The Android Open Source Project2010-07-293-3/+2
|\ | | | | | | git://android.git.kernel.org/platform/frameworks/base into HEAD
| * fix inaccurate copyrightsJean-Baptiste Queru2010-07-293-3/+2
| | | | | | | | Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
* | Squashed commit of the following:Andreas Huber2010-07-291-0/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 4abf16bb04dc9695fedf4007a84f903074312ccd Author: Andreas Huber <andih@google.com> Date: Tue Jul 20 09:21:17 2010 -0700 Support a single format change at the beginning of audio playback. This way the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly. Change-Id: Icc790122744745e9a88099788d4818ca1e265a82 related-to-bug: 2826841 commit 09c74da63e6ad5cb5dafb70f62696d75d2978967 Author: James Dong <jdong@google.com> Date: Sun Jul 18 17:57:01 2010 -0700 Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled. Change-Id: I883c81dad3ea465e71cb5590e89d763671a90ff8 commit f672bf2a782dc7d5fb6325d611a7fe17045dfe9a Author: James Dong <jdong@google.com> Date: Thu Jul 8 20:56:13 2010 -0700 Enable the support for decoding audio with AAC+ and eAAC+ features bug - 282684 Change-Id: I73c8377af3cc4edd3ee7cea86dc3b1c369fbd78b Change-Id: I012f1179e933b6d1345d2368f357576c722485f7
* Support for customizable socket-read timeouts through the HTTP response.Andreas Huber2010-05-111-0/+1
| | | | | | | | | Specify a response header of "X-SocketTimeout: 15" to override the default timeout of 5 secs with a timeout of 15 seconds. Specify a negative value to disable the timeout altogether. Change-Id: I545adf3d8b3f7efe5f8d081a641c6404440a77db related-to-bug: 2675721
* Add remove method in CameraParameters class.Wu-cheng Li2010-05-111-9/+2
| | | | | bug:2672651 Change-Id: I537c817b5ca6a3d925f22febe9a5769156354d00
* A new OggExtractor/VorbisDecoder combo to support approximate seeking.Andreas Huber2010-05-073-1/+8
| | | | | Change-Id: Id5d0c1c8b1adc62896bb5ed951f7b5cfda811e95 related-to-bug: 2654400
* Merge "Make static versions of libutils and libbinder." into froyoDan Egnor2010-05-061-1/+0
|\
| * Make static versions of libutils and libbinder.Dan Egnor2010-05-061-1/+0
| | | | | | | | | | | | | | | | | | | | Fix some small static-initialization-order issues (and a static- initializers-missing issue) that result from doing so. The static libraries don't actually get used for anything real at the moment -- they're used for perf tests of bug 2660235. Bug: 2660235 Change-Id: Iee2f38f79cc93b395e8d0a5a144ed92461f5ada0
* | Disable vorbis seek when streaming from localhost.Andreas Huber2010-05-063-4/+13
|/ | | | | Change-Id: Icda523ae1c89e26482f1c1767fe3a8b9222bb30f related-to-bug: 2654400
* Support for Ogg Vorbis decoding in stagefright.Andreas Huber2010-05-041-0/+1
| | | | | | | Set the magic property media.stagefright.enable-vorbis to true to use the new implementation instead of the standalon vorbis player for file-based playback. HTTP streaming of vorbis content will always go through stagefright. Change-Id: Ie3843a99fadb22372f89540d0f8d65196e0c2af8 related-to-bug: 2654400
* fix [2599939] "cannot play video" after open/close a video player a dozen of ↵Mathias Agopian2010-04-193-5/+2
| | | | | | | | | | | | | times get rid off the MAP_ONCE flag is MemoryHeapBase (as well as it's functionality), this feature should not be used anymore. the software renderer was incorrectly using the default ctor which set MAP_ONCE, causing the leak. the software renderer itself is incorrectly used while coming back from sleep. Change-Id: I123621f8d140550b864f352bbcd8a5729db12b57
* Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we ↵Andreas Huber2010-04-121-0/+1
| | | | | | | don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks. Change-Id: Ic9a9198413431db4ea40bb63b9de91aa8a7183af related-to-bug: 2587341
* Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.Wu-cheng Li2010-04-101-0/+7
| | | | | bug:2544367 Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867
* Refactor connection/redirection code, support redirects on reconnection.Andreas Huber2010-04-081-3/+2
| | | | | Change-Id: Id2517568000e028b01553c06a4893813a6883168 related-to-bug: 2580785
* Increase the size of the pages used in CachingDataSource (total amount of ↵Andreas Huber2010-04-081-1/+1
| | | | | | | memory used remains the same) to compensate for reduced locality of audio/video data requests. Also fixes a mistaken trailing "\r\n" in the range header and better error handling on http connection. Change-Id: Ic9a6ef204362bc9afdc61e081c76bc62e5ef92ad related-to-bug: 2580785
* Coalesce multiple encoded AAC frames into a single input buffer on this ↵Andreas Huber2010-04-021-10/+13
| | | | | | | particular OMX codec to increase throughput significantly. Change-Id: I90c7db6656a53339c5d454336548c4f00d0d9064 related-to-bug: 2548426
* Public API changes for CameraProfile and CamcorderProfile classesJames Dong2010-04-011-2/+2
| | | | | | | | | | | | 1. CamcorderProfile: “@see” links are broken; Remove m prefix from fields; remove “final” 2. CamcorderProfile.Quality: use an int rather than an enum 3. Add API on MediaRecorder to pass in a CamcorderProfile 4. CameraProfile.getImageEncodingQualityLevels @hide or make it consistent with CamcorderProfile 5. Remove a convenient method and instead let the (mms) app do that task bug - 2553862 Change-Id: I759215c7892f772aeddf3651d17038489c6fbc50
* fix [2545826] calling into gralloc with external lock heldMathias Agopian2010-03-251-1/+0
| | | | Change-Id: I2d0e017382404c684c768a0dd0423d574213f10a
* libutils Condition are now PRIVATE by defaultMathias Agopian2010-03-191-1/+18
| | | | | | | | | | | Condition must be initialized with SHARED for the old behavior, where they can be used accross processes. Updated the two places android that require SHARED conditions. PRIVATE conditions (and mutexes) use more efficient syscalls. Change-Id: I9a281a4b88206e92ac559c66554e886b9c62db3a
* Update TTS plugin interface to receive engine configuration dataJean-Michel Trivi2010-03-181-15/+8
| | | | | | coming from the plugin helper code (handling config and preferences). Change-Id: Ibc1d229463f11f8977552d74d1fd2aa6a6cab88e
* While streaming media data, upon a socket-read error, try reconnecting to ↵Andreas Huber2010-03-171-1/+7
| | | | | | | the server and attempt to re-read for at most 3 times. Change-Id: I7534905e07a6456d18b26d5d60fa8915f25ae99e related-to-bug: 2492187
* Properly handle errors during the codec configuration phase, attempt to ↵Andreas Huber2010-03-161-1/+3
| | | | | | | revert to next available (likely software-) codec if configuration fails. Change-Id: Id1c699711e30139c9cc29df972254b5ba026e6fb related-to-bug: 2517098
* Fix the media metadata retriever (tests). The native constants must match ↵Andreas Huber2010-03-122-2/+8
| | | | | | those published at the java layer. Change-Id: Ic1efed709e4d93c61913b231a8cd3ef1074f8ca0
* Merge "HTTPStream and HTTPDataSource now support cancellation of the ↵Andreas Huber2010-03-121-5/+18
|\ | | | | | | connection process, AwesomePlayer takes advantage of this in cases where ::reset() or ::suspend() is called while in the preparation phase to bail out early. Also fixes in issue where the audio codec was not properly stopped if no audio player object ever took ownership."
| * HTTPStream and HTTPDataSource now support cancellation of the connection ↵Andreas Huber2010-03-121-5/+18
| | | | | | | | | | | | | | process, AwesomePlayer takes advantage of this in cases where ::reset() or ::suspend() is called while in the preparation phase to bail out early. Also fixes in issue where the audio codec was not properly stopped if no audio player object ever took ownership. Change-Id: I6d73defe6d276693853a469db267bb2668d07af5 related-to-bugs: 2475845,2414536
* | implement connect/disconnect in our native_window_t implementationsMathias Agopian2010-03-111-0/+8
| | | | | | | | | | | | | | | | the framebuffer implementation doesn't do anything special with this but the surfaceflinger implementation makes sure the surface is not used by two APIs simultaneously. Change-Id: Id4ca8ef7093d68846abc2ac814327cc40a64b66b
* | Add a new connect/disconnect API to android_native_window_tMathias Agopian2010-03-111-1/+37
|/ | | | | | it's used to keep track of which API owns the surface. Change-Id: I1021c5905c020efc3c428e561b38189377168b22
* Reduce buffer sizes related to HTTP media data transfer in order to reduce ↵Andreas Huber2010-03-101-1/+1
| | | | | | | the probability of a connection timeout/reset due to long periods of time between socket activity. Change-Id: I799ce1d58d56a31088a89603d8a18d24780f5b57 related-to-bug: 2492187
* Merge "Instead of instantiating StagefrightMetadataRetriever directly, ↵Andreas Huber2010-03-101-2/+2
|\ | | | | | | instantiate a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files."
| * Instead of instantiating StagefrightMetadataRetriever directly, instantiate ↵Andreas Huber2010-03-101-2/+2
| | | | | | | | | | | | | | a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files. Change-Id: Ibda4b5268514934f14a3d49a564902bc670f4384 related-to-bug: 2074137
* | Add ability for some manifest attributes to reference resources.Dianne Hackborn2010-03-091-2/+2
|/ | | | | | | | | | | This loosens our restriction on many manifest attributes requiring literal string values, to allow various ones to use values from resources. This is only allowed if the resource value does not change from configuration changes, and the restriction is still in place for attributes that are core to security (requesting permissions) or market operation (used libraries and features etc). Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
* Merge "Add camera parameter string constant for "true"."Wu-cheng Li2010-03-081-0/+3
|\
| * Add camera parameter string constant for "true".Wu-cheng Li2010-03-081-0/+3
| | | | | | | | | | bug:2458926 Change-Id: I11eaae8ff031765e23f2627ded5873eabc09cead
* | The audio track was accidentally not participating in the prefetch since it ↵Andreas Huber2010-03-081-1/+1
|/ | | | | | | wasn't started at the time prepare() was called. Also, properly report the cached duration even near the end when the source has no more data to fetch. Change-Id: I66a92fec24c9bfb25f1c186f1c877127bae2b4f9 related-to-bug: 2444425
* Refactor car mode.Dianne Hackborn2010-03-051-1/+2
| | | | | | | | | | | | | | | | | | Extract all UI behavior from dock observer and ACTION_DOCK_EVENT. Also introduce a desk type to go along with the car type all through the resource system, since we now need to have corresponding high-level broadcasts for desk dock mode. As part of that I also reworked some of the logic for switching modes to all funnel through a single update() call that looks all of the current state to decide what to do next, and fixed various locking issues. In addition I found there were bugs in the configuration change handling causing us to only switch into the car mode config and then never get out of it. Unfortunately now that we are actually changing the configuration for each mode change, the transitions between them are really crummy as we restart all kinds of activities. :(
* Add location provider name to gps-processing-method in EXIF header.Ray Chen2010-03-051-0/+3
|
* Issue 2071329: audio track is shorter than video track for video capture on ↵Eric Laurent2010-03-023-0/+12
| | | | | | | | sholes Add API to retrieve number of frames dropped by audio input kernel driver. Submitted on behalf of Masaki Sato <masaki.sato@motorola.com>
* Fix issue #2448075: aapt doesn't fix up activity-alias ↵Dianne Hackborn2010-03-011-6/+7
| | | | | | | | | | | | | | android:targetActivity links And related: - The aapt tool now sets a resource configurations sdk level to match any configs that have been set (for example if you specify density your sdk level will be at least 4). - New option to modify the targetPackage attribute of instrumentation. - Clean up of aapt options help. - Fix of UI type values to leave 0 for "unspecified". - Make the UI mode config APIs public.
* Added a name to Surface created by SurfaceFlingerMathias Agopian2010-03-012-0/+12
| | | | | Updated the window manager to use this new facility. Surfaces name are now printed by "dumpsys".
* Unhide zoom API.Wu-cheng Li2010-03-011-1/+23
| | | | bug:2458926
* Unhide exposure compensation API.Wu-cheng Li2010-02-261-7/+14
| | | | bug:2375993
* Merge "Image encoding settings java API through xml configuration file"James Dong2010-02-251-0/+17
|\
| * Image encoding settings java API through xml configuration fileJames Dong2010-02-241-0/+17
| | | | | | | | | | | | - I decided to completely remove jpeg decoding related stuff from this change I think that setting is better off if it is specified by the system properties. We don't have to include MediaProfiles.h header in skia files
* | Merge "Use UTF-8 strings to avoid duplicate caching, part 1"Kenny Root2010-02-241-0/+2
|\ \
| * | Use UTF-8 strings to avoid duplicate caching, part 1Kenny Root2010-02-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | StringBlock instances containing UTF-8 strings use a cache to convert into UTF-16, but using that cache and then using a JNI call to NewString causes the UTF-8 string as well as two copies of the UTF-16 string to be held in memory. Getting the UTF-8 string directly from the StringPool eliminates one copy of the UTF-16 string being held in memory. This is part 1. Part 2 will include ResXMLParser optimizations. Change-Id: Ibd4509a485db746d59cd4b9501f544877139276c
* | | Propagate errors all the way through the MediaSources and send either ↵Andreas Huber2010-02-232-1/+3
|/ / | | | | | | | | | | MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR depending on the final reason for running out of buffers to play back. related-to-bug: 2463749
* | Merge "This hardware video decoder lies about its required input buffer ↵Andreas Huber2010-02-221-0/+1
|\ \ | | | | | | | | | sizes allocating 2.7 MB of memory instead of the required 176 KB... Added another quirk."
| * | This hardware video decoder lies about its required input buffer sizes ↵Andreas Huber2010-02-221-0/+1
| |/ | | | | | | | | | | allocating 2.7 MB of memory instead of the required 176 KB... Added another quirk. related-to-bug: 2281327
* | remove a dependency of GraphicBuffer (libui) on Parcel (libbinder).Mathias Agopian2010-02-213-6/+77
|/ | | | | | | | | Add a Flattenable interface to libutils which can be used to flatten an object into bytestream + filedescriptor stream. Parcel is modified to handle Flattenable. And GraphicBuffer implements Flattenable. Except for the overlay classes libui is now independent of libbinder.
* Remove a dependency of Region (libui) on Parcel (libbinder).Mathias Agopian2010-02-171-6/+0
|