1122 Commits

Author SHA1 Message Date
Mathias Agopian
be16be13c6 Merge "minor cleanup." 2010-02-16 12:56:56 -08:00
Mathias Agopian
08956f04c6 minor cleanup. 2010-02-12 18:50:28 -08:00
Jason Sams
6f8a3dfa6b Merge "Add comment block matching the type defines added by RS." 2010-02-12 17:26:46 -08:00
Jason Sams
941533186c Add comment block matching the type defines added by RS. 2010-02-12 17:25:47 -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
Mathias Agopian
7f66d6e63d Merge changes I128ce4b2,I5cbb940c
* changes:
  real fix for [2440014] launcher2 crashing in loop during boot
  Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""
2010-02-12 14:09:03 -08:00
Mathias Agopian
128ce4b24a real fix for [2440014] launcher2 crashing in loop during boot
Surface* cannot be casted to void* and then to android_native_window_t*
2010-02-12 14:04:35 -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
Mathias Agopian
5cbb940cf6 Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""
This reverts commit a0659aa36c987e28e29778bd97e75fe52152c60e.
2010-02-12 12:00:38 -08:00
Jack Palevich
a0659aa36c Revert "RenderScript should not depend on libsurfaceflinger_client.so"
This reverts commit 88b55fb090ace1a835f890758866f42f03795c12.
2010-02-12 18:21:26 +08:00
Mathias Agopian
88b55fb090 RenderScript should not depend on libsurfaceflinger_client.so 2010-02-11 14:57:11 -08:00
Mathias Agopian
000479f9e3 split libsurfaceflinger_client and libcamera_client out of libui 2010-02-11 13:16:22 -08:00
Jason Sams
8dd9ca3e97 Change default mode. 2010-02-10 18:09:36 -08:00
Jason Sams
586f3b5d32 Add java benchmark to imageProcessing. 2010-02-10 18:07:37 -08:00
Jason Sams
1d317d1453 Cleanup image processing example script. 2010-02-10 16:58:16 -08:00
Jason Sams
a5cbed967d Merge "Fix ImageProcessing example." 2010-02-10 15:04:56 -08:00
Jason Sams
ec2746c33f Fix ImageProcessing example. 2010-02-10 15:03:24 -08:00
Wu-cheng Li
ca35953c90 Merge "Remove some logs." 2010-02-10 00:07:36 -08:00
Wu-cheng Li
ca9d9dc827 Remove some logs. 2010-02-10 13:02:17 +08:00
Wu-cheng Li
be14332227 Merge "Add exposure compensation parameter." 2010-02-09 20:49:06 -08:00
Jason Sams
b687581d4c Merge "Preview seperating RenderScript into RenderScript and RenderScriptGL" 2010-02-09 17:08:50 -08:00
Jason Sams
704ff64b09 Preview seperating RenderScript into RenderScript and RenderScriptGL 2010-02-09 16:05:07 -08:00
Mathias Agopian
ba637f8736 Merge "Add support for physically rotated displays" 2010-02-09 15:26:44 -08:00
Wu-cheng Li
ff723b6c43 Add exposure compensation parameter.
bug:2375993
2010-02-09 18:28:50 +08:00
Jason Sams
5bec3aa2c6 Fix fountain and put the demos back in the optional build. 2010-02-08 16:32:29 -08:00
Mathias Agopian
66c77a5b42 Add support for physically rotated displays
This feature is currently controled by a system property.
"ro.sf.hwrotation" can be set to either 90 or 270. It'll cause
SF to rotate the screen by 90 and 270 degres respectively.

That is, if the driver reports 800x480 for instance, and
ro.sf.hwrotation is set to 90, applications will "see" a
480x800 display and will run in portrait.

This is implemented by introducing an extra "display"
transformation in the GraphicPlane.
2010-02-08 15:49:35 -08:00
Mathias Agopian
fcdd394f3b Add support for direct EGLImageKHR use with pushbuffer API
We now always first try to use the EGLImageKHR directly before
making a copy with copybit. The copy may be needed when
EGLImage doesn't support the requested format, which is
currently the case with YUV.
2010-02-04 17:13:06 -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
Eric Laurent
f145108a68 Remove verbose log from AudioPolicyManagerBase. 2010-01-28 13:42:59 -08:00
Jason Sams
2060b637f7 Merge "Fix some minor bugs with GL state setup that were exposed by Droids driver." 2010-01-27 14:48:29 -08:00
Jason Sams
5dbfe93b3f Fix some minor bugs with GL state setup that were exposed by Droids driver. 2010-01-27 14:41:43 -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
Chih-Chung Chang
89e02edf6f Merge "Add support for setting camera display orientation." 2010-01-27 09:20:19 -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
Jason Sams
122b309481 Merge "Turn the debugging back on." 2010-01-26 11:34:48 -08:00
Jason Sams
a1d302e867 Turn the debugging back on. 2010-01-26 11:34:09 -08:00
Chih-Chung Chang
d1d7706fce Add support for setting camera display orientation. 2010-01-26 11:07:07 -08:00
Nick Pelly
c8b60d1932 Revert "Fix failure to open AVRCP input device due to EPERM."
This reverts commit e6b1bbd8acca3f6e174c24cf4eb23a66db2d08a2.
2010-01-26 10:28:52 -08:00
Nick Pelly
a667fda9f5 am 425324e9: am e834722f: Merge "Fix failure to open AVRCP input device due to EPERM." into eclair
Merge commit '425324e97bba75cd69bb6c81de6248529540e6fe'

* commit '425324e97bba75cd69bb6c81de6248529540e6fe':
  Fix failure to open AVRCP input device due to EPERM.
2010-01-25 18:12:47 -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
Jason Sams
df48b57114 Cleanup seperation of Legacy and user attribs. All user programs now use the new names. Legacy vertex attribs are given default names. 2010-01-25 12:41:19 -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
60e8495c16 Merge "Add support for 180/270 degrees rotation." 2010-01-22 18:08:23 -08:00
Chih-Chung Chang
ac127dc31b Add support for 180/270 degrees rotation. 2010-01-22 16:30:39 -08:00
Mathias Agopian
f226e9f27b Merge "return an error when Surface::lock() is called while the surface is already locked." 2010-01-22 11:52:08 -08:00
Mathias Agopian
116e541eac return an error when Surface::lock() is called while the surface is already locked. 2010-01-22 11:47:55 -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
Mathias Agopian
2d41cb9433 fix [2324665] texture leak in surfaceflinger when using camera 2010-01-21 16:29:34 -08:00