69186 Commits

Author SHA1 Message Date
Daniel Lam
c930cf3cf3 BufferQueue: fixed issues with buffer slots not available
Bug: 6120953
Change-Id: Ief43f042ee9e1512e86fff8632a1c9dd31bdff35
2012-03-07 14:15:34 -08:00
Chris Craik
28ae199eee Merge "reenable webkit paint pausing" 2012-03-07 14:12:41 -08:00
Eric Fischer
6ff1f4fa5d Import translations. DO NOT MERGE
Change-Id: I7cfb3eeb7743f4db15ff591826d16cc316e2d915
2012-03-07 14:03:43 -08:00
Eino-Ville Talvala
d5f0799082 Merge "NEW_API: Rework CameraSound into MediaActionSound, and unhide it." 2012-03-07 13:54:43 -08:00
Eric Fischer
1ff8796440 Import translations. DO NOT MERGE
Change-Id: I1d2217605c628c8d31d2604fe9a1ee53b541fd15
2012-03-07 13:17:06 -08:00
Eric Fischer
ea7b04383e Import translations. DO NOT MERGE
Change-Id: Ibbe207f9def9c09b12bb3b408e40e0060658448d
2012-03-07 13:05:31 -08:00
Andreas Huber
e5760e3e9f Added better codec statistics to evaluate performance.
Change-Id: I9a1e4a803502329e0342ddde07b6df6b3761afd8
2012-03-07 12:40:59 -08:00
Glenn Kasten
7072dce011 Merge "Isolate references to outputTracks/mOutputTracks" 2012-03-07 12:25:28 -08:00
Jeff Sharkey
8f409bcd4b Merge "Caliper benchmarks for Parcel." 2012-03-07 12:07:01 -08:00
Chris Craik
07b201194a reenable webkit paint pausing
bug:6016196

Change-Id: I4fcab8d84b39f033724c45845ef6c67b3071c509
2012-03-07 11:59:25 -08:00
Jean-Michel Trivi
e8bacb4ea0 Merge "Effect for multichannel PCM downmix to stereo" 2012-03-07 11:53:21 -08:00
John Reck
413fab3f44 Don't draw the focus ring if we don't have focus
Change-Id: Icb03060a03caf817ea39935bb56e14b5c86ed57b
2012-03-07 11:41:19 -08:00
Michael Jurka
1ce1307641 Merge "Don't draw layers in buildLayer()" 2012-03-07 11:25:20 -08:00
Glenn Kasten
08d2c04194 Isolate references to outputTracks/mOutputTracks
Move all references to DuplicatingThread::outputTracks and
DuplicatingThread::mOutputTracks from the common threadLoop() into
virtual methods.  This allows them to be moved from PlaybackThread to
DuplicatingThread, and to be marked private.

Also use vector assignment to copy mOutputTracks to outputTracks.

Change-Id: Ieb1cf1ad36b8a65143e61e6c92a65fb43427e5e2
2012-03-07 11:04:55 -08:00
Ben Gruver
59eb5fd509 Fix up getAttributeFlags() function
In addition to a couple of minor clean-up items, this fixes an issue that can
rarely cause incorrect parsing of attribute flag values, when there is a '|'
character in the few bytes past the end of the attribute value being parsed.

Change-Id: I6050b1c2db60720c7c0ab7df9eba8cfc629b320e
2012-03-07 10:49:55 -08:00
Glenn Kasten
9778bd1f33 Merge "Make applyVolume private to DirectOutputThread" 2012-03-07 10:44:29 -08:00
Eric Fischer
eeaff65bf0 Merge "Mark all of config.xml not translatable in the top-level comment." 2012-03-07 10:43:23 -08:00
Glenn Kasten
e012783db8 Make applyVolume private to DirectOutputThread
Change-Id: I7ca4a59505857cbd106b6f274c66e9580dead271
2012-03-07 10:40:43 -08:00
Glenn Kasten
ed4271e1c1 Merge "Add comments about sequence for setting parameters" 2012-03-07 10:38:12 -08:00
Jean-Michel Trivi
64143abe1f Effect for multichannel PCM downmix to stereo
First pass at implementing an audio effect whose role is to
 downmix multichannel PCM buffers to stereo.
The effect is not handling volume changes.
The effect code here handles quad, 4.0, 5.1 and 7.1 input configurations,
 to optimize the most commom configurations, and does not yet handle
 generic multichanel configurations.

Change-Id: I74d04bd961348f3f0e4ae7714b70e620808a0829
2012-03-07 10:17:19 -08:00
Alex Sakhartchouk
42f23b3cfe Merge "Adding more modes to the sampler test app. Fixing pixel placement." 2012-03-07 09:25:56 -08:00
Glenn Kasten
761415bd7f Merge the calls to prepareTracks_l
Change-Id: I1dd759581333e2908d980180d44db7bf5ed6591d
2012-03-07 07:28:12 -08:00
Glenn Kasten
ff249c0dc8 Merge "Remove references to sched_policy.h in RS" 2012-03-07 07:16:46 -08:00
Jeff Sharkey
091ca2d5fb Merge "Avoid updating network stats after shutdown." 2012-03-06 20:04:26 -08:00
Jeff Sharkey
6341fcecc8 Avoid updating network stats after shutdown.
Bug: 6109476
Change-Id: I9a3a8b182c8fa56d83ddc755d204d5b267c9bc5d
2012-03-06 19:59:57 -08:00
Dianne Hackborn
5eb37241fe Merge "Work on more low memory reporting to apps." 2012-03-06 19:06:25 -08:00
Dianne Hackborn
27ff913d56 Work on more low memory reporting to apps.
There are now some new trim memory levels that are sent to
non-background applications as RAM becomes low.

There is a new API for an application to retrieve information
about memory trimming and such on demand.

Fixed various checks against the memory trim level to be
robust (not compare against exact values).

Change-Id: Ifd1c6151124350168aef20a94e517166fd2e03eb
2012-03-06 18:46:32 -08:00
Mathias Agopian
3e964c55ac attempt to fix a deadlock in SurfaceTextureClient::disconnect
- condition wasn't signaled if an error happened between acquire and release
- also replace signal with broadcasts

Bug: 6109450
Change-Id: Iaf9371b829f772f559daae42e06d4dbd9505d6a0
2012-03-06 18:26:54 -08:00
John Reck
afeecb0740 Merge "Fix focus rings for buttons" 2012-03-06 18:22:14 -08:00
John Reck
ef109b0b70 Fix focus rings for buttons
Bug: 6124914

Change-Id: I8cb63de2636afc297756de7733de7bdda920b694
2012-03-06 18:02:11 -08:00
Adam Powell
494e155a5a Merge "Fix some action bar menu layout bugs around config changes" 2012-03-06 17:43:48 -08:00
Adam Powell
f203e0a44e Fix some action bar menu layout bugs around config changes
Bug 5712010

Fix cases where the transition between split/standard action bar menu
presentation wasn't happening properly for windows in activities that
handle their own config/orientation changes.

Change-Id: I7168555e09c9ed448afb8619fd6f0e1466695365
2012-03-06 17:42:47 -08:00
Jeff Sharkey
a197e37f7f Caliper benchmarks for Parcel.
Bug: 6111276
Change-Id: I4b89e4c14d2dc20e71bbaed78f285e6d539a1f0f
2012-03-06 17:21:01 -08:00
Michael Jurka
7e52caf6db Don't draw layers in buildLayer()
Creating the layer, if necessary, takes the bulk
of the time - just do the creation, and schedule a
deferred update

Change-Id: I21399ebd5d2929a4f242ec1c08e3f97fed1ef58a
2012-03-06 17:18:00 -08:00
Wink Saville
d28111f4f8 Merge "Telephony: Create and use UiccController" 2012-03-06 17:13:16 -08:00
Wink Saville
22c1700378 Telephony: Create and use UiccController
UiccController creates and disposes IccCard
IccRecords and IccFileHandler is part of IccCard

Change-Id: I3dfb476c76162bbe8443271927a06743bb5e39c4
2012-03-06 17:11:49 -08:00
John Reck
e6725bcba5 Merge "Fix unhandled navigation path" 2012-03-06 17:05:48 -08:00
John Reck
ff8025b994 Merge "Fix FOCUS_BACKWARD search if view had no id" 2012-03-06 17:04:13 -08:00
Eric Fischer
f712747333 Mark all of config.xml not translatable in the top-level comment.
Change-Id: Ic123e5db57e47d4aa6cc85e703949ded4a2b468c
2012-03-06 17:03:47 -08:00
Jeff Brown
bba4179dc8 Merge "Don't close the database until all references released." 2012-03-06 16:51:13 -08:00
Alex Sakhartchouk
e51ae26282 Adding more modes to the sampler test app.
Fixing pixel placement.

Change-Id: I355cc611ebe0bfb15af96cc498604d9b9fa1a9d3
2012-03-06 16:43:28 -08:00
Glenn Kasten
ffed04ac3c IAudioFlingerClient::ioConfigChanged param2 const
The 3rd parameter (param2) to AudioFlingerClient::ioConfigChanged
is used as an input.  So changed it from void * to const void *.
It is then cast to const OutputDescriptor *
or const audio_stream_type_t * depending on the event.

Change-Id: Ieec0d284f139b74b3389b5ef69c7935a8e5650ee
2012-03-06 16:43:19 -08:00
Jeff Brown
03bd302aeb Don't close the database until all references released.
SQLiteDatabase.close() should call releaseReference() rather than
closing the database immediately.  SQLiteDatabase should also hold
a reference to itself while performing certain operations to
ensure that they complete normally even if another thread closes
the database at the same time.

Fixed a couple of missing or redundant uses of acquireReference()
related to CursorWindows.

To be honest, the reference counting performed by SQLiteClosable should
not be needed, but we're stuck with it in the API.

Bug: 6104842
Change-Id: I3444a697409905d4a36b56418dc7766f5ba76b59
2012-03-06 16:42:56 -08:00
Eino-Ville Talvala
e69095869c NEW_API: Rework CameraSound into MediaActionSound, and unhide it.
MediaActionSound is a helper class for applications that use the
camera, or include camera-like behavior such as taking
screenshots. This class helps applications match the sound-playing
behavior of the Camera.takePicture, MediaRecorder.start, and
MediaRecorder.stop methods.

This is useful for applications that don't use the above methods, but
still logically capture images or video, such as the panorama capture
feature and the video effects in the platform camera application.

Bug: 5029099
Change-Id: I829f6e2941f167f91f9cb506215b7232cb054958
2012-03-06 16:33:50 -08:00
Glenn Kasten
b7a4007563 Merge "Rename fields of AudioSessionRef" 2012-03-06 16:22:30 -08:00
Glenn Kasten
bf10657c8e Add comments about sequence for setting parameters
Change-Id: Iffa59a34c3c47bdc1d3234cdcb4d8ff99c102825
2012-03-06 16:18:17 -08:00
Scott Main
99e790de9e docs: add troido adk link
Change-Id: Ib7cb1dd821dc17ffc8acd02843218e6d21e15295
2012-03-06 16:17:08 -08:00
John Reck
1ecebbb27f Fix FOCUS_BACKWARD search if view had no id
Bug: 6126875

Change-Id: I113a7125d71dc3e6cc34d31a669e844a4a882266
2012-03-06 16:08:54 -08:00
John Reck
4fa40371b3 Fix unhandled navigation path
Bug: 6109044
 Tab keys are handled via canTakeFocus & takeFocus (new path)
 Arrow keys are handled by seeing if the keyDown was unhandled (similar to old path)

Change-Id: I825de102de31443b1383a8126992c65a4957dcce
2012-03-06 15:38:09 -08:00
Glenn Kasten
6be5247cc5 Merge "Fix indentation for re-organized code" 2012-03-06 15:23:58 -08:00