68905 Commits

Author SHA1 Message Date
Eric Laurent
d1f0023ddf Merge "MediaPlayerService: fix AudioSink latency" 2012-03-06 10:53:39 -08:00
Eric Laurent
54682583ba Merge "AudioTrack: relax check on minimum buffer size" 2012-03-06 10:52:18 -08:00
Dianne Hackborn
4f03d35f9c Merge "Fix issues #6103378 and #5959515." 2012-03-06 10:34:18 -08:00
James Dong
b7fdddab0d Merge "Remove unused code - MediaSourceSplitter" 2012-03-06 10:23:58 -08:00
James Dong
bc6b837a60 Merge "There was copy and paste code in JNI to create a DrmConvertedStatus object." 2012-03-06 10:23:51 -08:00
Siva Velusamy
aa52141212 Merge "gltrace: Send vertex attribute data after glDraw() call." 2012-03-06 08:59:32 -08:00
Alex Sakhartchouk
6a1d388282 Merge "First draft of the sample function implementation." 2012-03-06 08:31:54 -08:00
Glenn Kasten
66199cf939 Merge "Remove obsolete references to sched_policy.h" 2012-03-06 08:17:43 -08:00
Glenn Kasten
46c92df26d Merge "Remove references to sched_policy.h" 2012-03-06 08:17:20 -08:00
Derek Sollenberger
6d159451bb Merge "Add missing includes for Mutex.h" 2012-03-06 05:27:31 -08:00
Daniel Sandler
6768c11d60 Merge changes I8343449c,I4eaf69a1
* changes:
  New slide-out mechanism.
  Newly reimplemented PhoneStatusBar, now with fewer windows.
2012-03-06 05:18:10 -08:00
Jeff Brown
1b0cc3ca65 Merge "Rename remove callback methods." 2012-03-05 20:38:12 -08:00
Mathias Agopian
18364b31fc Merge "Add ATRACEs for Buffer indices" 2012-03-05 19:41:29 -08:00
James Dong
5fe7057960 Remove unused code - MediaSourceSplitter
Change-Id: Icf37832a1c234501ee3ff91ff13eece2242425ae
2012-03-05 19:30:08 -08:00
Jeff Brown
97a355a9a1 Merge "Support posting delayed animation/draw callbacks." 2012-03-05 19:05:02 -08:00
James Dong
9864b25bd8 There was copy and paste code in JNI to create a DrmConvertedStatus object.
o This patch removed duplicated code.

Change-Id: Ic3d3461fb8da6fab1b4d19d28b8d9d4abc8a53b1
2012-03-05 18:52:32 -08:00
Dianne Hackborn
6569625bee Fix issues #6103378 and #5959515.
Change-Id: I762d86dd7119c9ac02f4b8803c4a250c6b7637c7
6103378: APR: IOOBE at android.content.pm.PackageParser.generatePackageInfo(
    PackageParser.java:355)
5959515: PackageManager doesn't validate className in setComponentEnabledSetting
2012-03-05 18:49:21 -08:00
Glenn Kasten
403475a894 Remove obsolete references to sched_policy.h
As part of scheduling policy cleanup, remove or isolate
all references to the scheduling policy APIs.

Change-Id: Ia1ea2fe711a399039f25217309e061267744b856
2012-03-05 18:12:45 -08:00
Jeff Brown
5bebea436e Rename remove callback methods.
Change-Id: Ib9ef32fedbe0db2ea5efd250693915d626d7d8ae
2012-03-05 18:09:04 -08:00
Alex Sakhartchouk
43ca3cfa87 First draft of the sample function implementation.
Change-Id: I51bb999419b5b424a8549461a6d91f48f3fc9298
2012-03-05 18:03:32 -08:00
Glenn Kasten
5298321df2 Remove references to sched_policy.h
As part of scheduling policy cleanup, remove obsolete
references to sched_policy.h and its APIs.

Change-Id: Id957d11dd645cdf9d53dd6c02e568369aef23243
2012-03-05 17:44:04 -08:00
Eric Laurent
380b705924 MediaPlayerService: fix AudioSink latency
The AudioSink latency is currently cached when the associated AudioTrack
is created. However, the AudioTrack latency can change if the AudioTrack is moved
from one output stream to another.
The AudioPlayer must also periodically update its view of the latency
as it is needed to compensate the real audio time used for A/V sync.

This fixes an A/V sync problem seen when switching A2DP on and off while
playing a video.

Change-Id: I28b24049ca114e1af3e24791dcc900f463536ba4
2012-03-05 17:27:11 -08:00
Jeff Brown
2b6cb9a27e Support posting delayed animation/draw callbacks.
This is especially useful for slow animations such as blinking the
cursor, which only needs to happen after a certain amount of time
has elapsed.

Change-Id: If1163a3480078c75d6461eb8f96d8bf8b625534f
2012-03-05 17:21:01 -08:00
Eric Laurent
bd6b74ce46 AudioTrack: relax check on minimum buffer size
Current AudioTrack implementation enforces that the requested audio
buffer size is at least corresponding the audio latency.
This requirement is too strong and leads to problems with current
stagefright and AudioSink implementations when playing over output
streams with long latency.

Ultimately, the AudioSink design should be changed to specify a minimum
buffer size in time or frames units but not in buffer count units.

Change-Id: I8ba603956f92ac49143a8249572665aa548f2f0f
2012-03-05 17:18:36 -08:00
Mathias Agopian
4b97257979 Merge "fixup include paths" 2012-03-05 16:08:26 -08:00
Mathias Agopian
a1549ff1bf fixup include paths
- remove unneeded include deps
- remove some hardcoded include paths

Change-Id: Ifae0e2b2d738e0f94f8525c45be78f4227ce1673
2012-03-05 15:59:38 -08:00
Nick Pelly
3edd8f06cb Merge "Clarify docs for the thread used in BroadcastReceiver.onReceive()" 2012-03-05 15:57:13 -08:00
Jeff Brown
faeac2737d Merge "Change widgets to post invalidate to the animation timer." 2012-03-05 15:38:47 -08:00
Guang Zhu
f89ed89523 Merge "Update to DumpRenderTree test harness" 2012-03-05 15:35:27 -08:00
Guang Zhu
3ae8c42152 Update to DumpRenderTree test harness
* removed some unused parameters
* removed obsolete live website test harness
* updated test class so that mean suite time for page cycler
  is emmitted via instrumentation status

Change-Id: Iccb40f70a62a4ac9b8d5bceab9a6a715c611c573
2012-03-05 15:33:17 -08:00
Gilles Debunne
e5d076e8d1 Merge "EditText caches only text in its internal display list." 2012-03-05 15:22:28 -08:00
Jeff Brown
6cb7b46c56 Change widgets to post invalidate to the animation timer.
Change-Id: I8377e924529fb9d8afd8a834003a17de616e8e87
2012-03-05 15:19:31 -08:00
Eric Fischer
d7a66670d5 Merge "Import translations. DO NOT MERGE" 2012-03-05 15:18:30 -08:00
Eric Fischer
ffa5514f73 Merge "Import translations. DO NOT MERGE" 2012-03-05 15:18:20 -08:00
Jean-Michel Trivi
b93a765ba6 Merge "Add channel mask in AudioSink" 2012-03-05 14:51:54 -08:00
Tom Taylor
c1717569db Merge "Remove deleted pdu items from the updated cache" 2012-03-05 14:47:27 -08:00
Scott Main
74e8d6261a am 5186f094: am 8b0f6881: am a47d88a7: docs: dashboard update for march 5
* commit '5186f094ba6d37f47ae52085e34dd87267ec41d4':
  docs: dashboard update for march 5
2012-03-05 14:43:11 -08:00
Fabrice Di Meglio
e6ad12ae38 Merge "Fix bug #5815381 [DA] [Android Gallery] [Cut string in "no-response" box]" 2012-03-05 14:40:50 -08:00
Scott Main
5186f094ba am 8b0f6881: am a47d88a7: docs: dashboard update for march 5
* commit '8b0f688156919cec527bc60df43c527d2dd940dc':
  docs: dashboard update for march 5
2012-03-05 14:39:46 -08:00
Scott Main
8b0f688156 am a47d88a7: docs: dashboard update for march 5
* commit 'a47d88a7d25da74319dc3decf80d98516a85fab2':
  docs: dashboard update for march 5
2012-03-05 14:36:05 -08:00
Scott Main
a47d88a7d2 docs: dashboard update for march 5
Change-Id: Ic71a478ad8afd818dfe9c0a2341e1d1937be5444
2012-03-05 14:32:15 -08:00
Eric Fischer
d42abc32ce Import translations. DO NOT MERGE
Change-Id: Ib8f8a67208b0626263507d3bea3ceb48cf8c7507
2012-03-05 14:26:22 -08:00
Gilles Debunne
6c488de023 EditText caches only text in its internal display list.
Decorelate background and text in layout display. This allows
to only store the text in the editable TextView's display list.

Selection and cursor changes no longer need to invalidate the
display list, leading to faster rendering.

Change-Id: I3af3a98846e1bfe2d9ec6c42590e71bf3704595e
2012-03-05 14:22:20 -08:00
Eric Fischer
9841174e07 Import translations. DO NOT MERGE
Change-Id: I9eeb25b7b81a0ad7a7a794eb344879c51488ca36
2012-03-05 14:15:03 -08:00
Jim Miller
1e34e1bdc3 Merge "Fix 5958806: Allow play button to be hidden in TransportControlView" 2012-03-05 13:50:48 -08:00
Romain Guy
f51abc7dc5 Merge "Delete display list objects and resources on the UI thread Bug #6073717 Bug #6065504 Bug #6026515 Bug #5971725" 2012-03-05 13:48:55 -08:00
Derek Sollenberger
029f64303b Add missing includes for Mutex.h
The missing header was being transitively included through a
Skia header which is being removed.

Change-Id: I5a65bae076027951fe07d1e7eecd4732124fb0e4
2012-03-05 16:48:32 -05:00
Romain Guy
bb0acdf9e1 Delete display list objects and resources on the UI thread
Bug #6073717
Bug #6065504
Bug #6026515
Bug #5971725

Prior to this patch, the destructor of DisplayList would always run
on the finalizer thread. This could cause a race condition if the UI
thread was busy rendering display lists at the same time leading to
various random native crashes.

Change-Id: Ie11108e3b1538d4b358a1a8b4cce1b2d33152d0c
2012-03-05 13:44:35 -08:00
Jeff Brown
7bcbeb789d Merge "Make SQLiteDatabase final." 2012-03-05 13:38:59 -08:00
Jeff Brown
ef6f68b8c8 Merge "Don't log SQLITE_SCHEMA errors." 2012-03-05 13:38:24 -08:00