Mathias Agopian
e59a54c0ed
Remove a dependency of Region (libui) on Parcel (libbinder).
2010-02-17 20:26:47 -08:00
Mathias Agopian
102f49f361
fix a bug I introduced recently where YUV formats would crash the system
2010-02-16 20:43:39 -08:00
Mathias Agopian
8f2423e8f3
get rid off the YUV formats at the libui layer
2010-02-16 17:33:37 -08:00
Kenny Root
a9886c580b
Totally remove Unicode.cpp and rely on ICU
...
Unicode.cpp used a packed data table for character data that essentially
duplicated ICU's functionality.
Change-Id: Ia68fe4ac94e89dc68d9a3f45f33f6e648a5500b7
2010-02-12 14:37:42 -08:00
Kenny Root
a16e4ee840
Merge "Excise code from Unicode.cpp that was dead"
2010-02-12 13:25:14 -08:00
Kenny Root
564bfc27f2
Excise code from Unicode.cpp that was dead
...
Remove some utility functions for discovering character data
that ICU probably took over a while ago.
Change-Id: I97abe4de2f51eb2bf48679941258bc501184c3dc
2010-02-12 13:01:16 -08:00
Andreas Huber
fbb3885024
New API on java's MediaPlayer to suspend/resume a session.
...
related-to-bug: 2231576
2010-02-12 12:44:10 -08:00
Marco Nelissen
8b799a323c
Merge "Add support for "album artist" tag."
2010-02-11 13:43:40 -08:00
Marco Nelissen
c5d5ee34d7
Add support for "album artist" tag.
2010-02-11 13:32:04 -08:00
Mathias Agopian
000479f9e3
split libsurfaceflinger_client and libcamera_client out of libui
2010-02-11 13:16:22 -08:00
Tobias Haamel
27b28b3f62
Introduce special UI modes for night and car usage.
...
The device mode is now called ui mode. Furthermore is the order of
precedence for the resources now in such a way that the ui mode needs
to be specified after the orientation and before the density.
The ui mode can be set, like it is done for the locale, as follows:
IActivityManager am = ActivityManagerNative.getDefault();
Configuration config = am.getConfiguration();
config.uiMode = Configuration.UI_MODE_TYPE_CAR | Configuration.UI_MODE_NIGHT_ANY;
am.updateConfiguration(config);
To allow users to disable the car mode and set the night mode the IUiModeManager
interface is used.
The automatic night mode switching will be added in a separate change.
2010-02-11 21:25:58 +01:00
Andreas Huber
6ed937ebe9
Implementation of stagefright-enabled MediaPlayerService::decode functionality
...
related-to-bug: 2359268
2010-02-10 10:20:34 -08:00
Wu-cheng Li
be14332227
Merge "Add exposure compensation parameter."
2010-02-09 20:49:06 -08:00
Wu-cheng Li
ff723b6c43
Add exposure compensation parameter.
...
bug:2375993
2010-02-09 18:28:50 +08:00
Marco Nelissen
655306f8a8
Add support for the TPOS/TPA (disc number) id3 tag.
2010-02-08 14:50:19 -08:00
James Dong
e7038ace44
Camcorder profile Java API support
...
- Use Enum for Quality instead of int
- Use static values() method from Enum, rather than if-else
bug - 2417312
2010-02-04 13:47:36 -08:00
Andreas Huber
70d10c0156
Fix a deadlock caused by the AudioPlayer notifying the observer that the stream had ended at the same time the observer was shutting down the AudioPlayer.
...
related-to-bug: 2414536
2010-02-03 13:24:26 -08:00
Mathias Agopian
e304bdd5ee
fix [2133133] Software OpenGL ES Lighting is buggy (GL Gears washed out bug)
...
A typo caused GL_AMBIENT_AND_DIFFUSE to only set the the ambient color.
Fix another typo which caused the viewer position to be wrong for
specular highlights.
Switch back to eye-space lighting, since there are still some issues
with some demos (San Angeles in particular).
2010-02-03 12:13:15 -08:00
Mathias Agopian
b0f324d4a9
Merge "implement [2396050] Add ETC1 texture support to AGL"
2010-02-02 20:34:15 -08:00
Mathias Agopian
d1f73a2fca
implement [2396050] Add ETC1 texture support to AGL
2010-02-02 20:19:54 -08:00
Andreas Huber
b777bf3100
Don't use a HEAD request to determine redirects, instead do a regular GET (since that's always supported), also limit the number of redirects to avoid infinite redirects. Finally, properly handle the end of stream.
...
related-to-bug: 2403674
2010-02-02 13:54:57 -08:00
Andreas Huber
8cc1b2a32c
Properly advertise the content length of the HTTP stream if available.
...
related-to-bug: 2312941
2010-02-02 10:38:40 -08:00
James Dong
705300b842
Merge "Initial check-in for xml-based encoder capabilities retrieval - Changed the Java API as suggested - Treat /etc/media_profiles.xml as the default xml configurtion file"
2010-02-01 22:48:36 -08:00
James Dong
c371194e4e
Initial check-in for xml-based encoder capabilities retrieval
...
- Changed the Java API as suggested
- Treat /etc/media_profiles.xml as the default xml configurtion file
2010-02-01 22:38:37 -08:00
Andreas Huber
e331c7b2c4
The TI MP3 decoder lies about the number of channels it outputs, add a quirk for that.
2010-02-01 10:53:20 -08:00
Wu-cheng Li
7eae31cab4
Add float support for set and get in CameraParameters.
...
bug:2375989
bug:2375987
2010-01-31 17:03:10 +08:00
Wu-cheng Li
6c8d276073
Add focal length and view angle API.
...
bug:2375989,2375987
2010-01-30 20:36:04 +08:00
Mathias Agopian
6faf7893b6
Simplify the MemoryDealer implementation
...
At some point the implementation became complicated because of
SurfaceFlinger's special needs, since we are now relying on gralloc
we can go back to much simpler MemoryDealer.
Removed HeapInterface and AllocatorInterface, since those don't need
to be paramterized anymore. Merged SimpleMemory and Allocation.
Made SimplisticAllocator non virtual.
Removed MemoryDealer flags (READ_ONLY, PAGE_ALIGNED)
Removed a lot of unneeded code.
2010-01-29 14:51:06 -08:00
Andreas Huber
62eac00850
Properly forward errors returned by AudioTrack up to the player.
...
related-to-bug: 2300197
2010-01-29 13:24:58 -08:00
Andreas Huber
433c9acaf7
Support the specification of additional HTTP headers in the creation of a DataSource.
...
related-to-bug: 2393577
2010-01-28 13:04:28 -08:00
Andreas Huber
2564300936
API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played.
...
related-to-bug: 2393577
Original change by Andrei Popescu <andreip@google.com>
2010-01-28 11:52:43 -08:00
Andreas Huber
46ce847a62
Fix http streaming for shoutcast servers that do not support http ranges.
...
related-to-bug: 2295438
2010-01-27 16:21:41 -08:00
Eric Laurent
0ebff76e95
Merge "Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync"
2010-01-27 14:21:20 -08:00
Andreas Huber
8258879fe8
Merge "Better support for HTTP streaming media content, fixes to the way HTTPDataSource streams the data, prefetcher implementation."
2010-01-27 09:24:43 -08:00
Eric Laurent
0986e7907f
Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync
...
Added getRenderPosition() API to IAudioFlinger to retreive number of audio frames
written by AudioFlinger to audio HAL and by DSP to DAC.
Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames
written by DSP to DAC.
Exposed AudioTrack::getPosition() to AudioSink() to make it available to media player.
Removed excessive log in AudioHardwareGeneric.
2010-01-26 18:40:39 -08:00
Andreas Huber
b9e63830c6
Better support for HTTP streaming media content, fixes to the way HTTPDataSource streams the data, prefetcher implementation.
...
related-to-bug: 2295438
2010-01-26 16:20:10 -08:00
Chih-Chung Chang
d1d7706fce
Add support for setting camera display orientation.
2010-01-26 11:07:07 -08:00
Andreas Huber
996dddff64
Support for audio recording into AMR NB/WB files as well as audio tracks in MPEG4 files.
...
related-to-bug: 2295449
2010-01-26 09:10:33 -08:00
Eric Laurent
473bd77675
Merge "Fix issue 2378022: AudioService should direct volume control to STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active."
2010-01-25 17:16:05 -08:00
Andreas Huber
07bf09da4a
Initial checkin of AudioSource and AMRWriter, a pair of classes supporting pure-audio recording in stagefright.
...
related-to-bug: 2295449
2010-01-25 16:17:40 -08:00
Eric Laurent
23f25cda0c
Fix issue 2378022: AudioService should direct volume control to STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active.
...
Modified AudioService.getActiveStreamType() so that STREAM_VOICE_CALL is selected when a track using this stream
type is playing.
Chanded isMusicActive() for a more generic isStreamActive(stream) method in AudioSystem, IAudioFlinger and AudioFlinger.
2010-01-25 14:00:10 -08:00
Andreas Huber
52733b83a7
The qcom OMX video decoders do not allocate output buffer memory at the time OMX_AllocateBuffer is called, wait until we received the first FILL_BUFFER_DONE notification until we rely on the buffer data ptr.
2010-01-25 11:24:26 -08:00
Wu-cheng Li
acf77033bb
Change key to KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES for consistency.
...
bug:2375986
2010-01-25 15:20:23 +08:00
Chih-Chung Chang
ac127dc31b
Add support for 180/270 degrees rotation.
2010-01-22 16:30:39 -08:00
Chih-Chung Chang
e1ceec234c
Add an orientation parameter for overlay, so we can do camera preview in portrait mode.
2010-01-21 20:20:08 -08:00
Andreas Huber
c712b9fe28
Fix no-copy-overhead OMXCodec implementation to actually work.
2010-01-20 15:05:46 -08:00
Andreas Huber
61fa01d47d
Merge "Support for 'iTunes-style' metadata in .mp4 and .3gp files."
2010-01-20 11:35:02 -08:00
Eric Laurent
243bf50e1e
Merge "Create base class for audio policy manager."
2010-01-20 10:03:36 -08:00
Andreas Huber
c2c9dd3251
Support for 'iTunes-style' metadata in .mp4 and .3gp files.
...
related-to-bug: 2368967
2010-01-20 09:50:32 -08:00
Andreas Huber
cb6ffa2824
Merge "Avoid unnecessary buffer copying if at all possible, detect if running in the mediaserver process."
2010-01-19 11:43:12 -08:00