57011 Commits

Author SHA1 Message Date
Jean-Michel Trivi
22cb204cbb Bug 4364249 Play position is 0 after flushing AudioTrack
AudioTrack::stop() is not synchronous, so a stop() followed
 by flush(), which is synchronous, will not always report
 a playhead position of 0 after being called.
This CL adds a flag to mark a track as flushed, and report the
 correct playhead position in this state.
Bug 5217011 has been created to address the real issue in the
 future, where flush could be made synchronous, to properly
 address bug 4364249.

Change-Id: Icf989d41a6bcd5985bb87764c287f3edb7e26d12
2011-08-25 17:33:49 -07:00
Dianne Hackborn
1fc756da43 Merge "New API to determine if device has lots of RAM." 2011-08-24 19:57:52 -07:00
Brett Chabot
b26db260ae Merge "Disable package verification by default." 2011-08-24 19:45:51 -07:00
Jean-Michel Trivi
e9816475a6 Merge "Fix deadlock in AudioService" 2011-08-24 19:22:52 -07:00
Scott Main
9a10bf0386 fix sample code typo
issue 5190961

Change-Id: I15f10bc97b46f0e5f5e31ff5b38d6c3a938ddedf
2011-08-24 19:09:48 -07:00
Jean-Michel Trivi
3094d955b8 Fix deadlock in AudioService
Locks related to audio focus and remote control should always be
 taken in the following order:
 1/ audio focus lock
 2/ remote control stack
 3/ current remote control client generation

Change-Id: If8be11bfef92849957e692b2bd52adbd67a2ef0b
2011-08-24 19:08:48 -07:00
Chih-Chung Chang
7096c4a0e2 Merge "Port setting change should happen before receiving any filled frame." 2011-08-24 18:57:35 -07:00
Katherine Kuan
2382c3a92f Merge "Add DATA_SET value to Entity from EntityIterator cursor" 2011-08-24 18:56:06 -07:00
Mathias Agopian
7345d36fd0 Merge changes I6b6f7537,I18e5b72d
* changes:
  Fix a few style issues and remove LOG spam
  More error checks to avoid div by zero.
2011-08-24 18:45:01 -07:00
Mathias Agopian
3a3fca3dce Fix a few style issues and remove LOG spam
Change-Id: I6b6f75373f4ac28f98dea6a6f1c2567a6aa02243
2011-08-24 18:40:33 -07:00
Brett Chabot
ae05e8655d Disable package verification by default.
Change-Id: I0e02cd177dbb99fc97e964ac87251a900d915b95
2011-08-24 18:38:26 -07:00
Michael Johnson
f5cfea78b0 More error checks to avoid div by zero.
Change-Id: I18e5b72d02bf5420c14334d3a03f18fa40572d31
2011-08-24 18:34:49 -07:00
Gilles Debunne
f874c4f934 Merge "Spell checking in TextViews" 2011-08-24 17:53:42 -07:00
Mathias Agopian
7d0dd6addb Merge "Fix Recent thumbnails aren't taken when leaving an activity via notification" 2011-08-24 17:53:21 -07:00
Adam Powell
4dded27cb5 Merge "Fix bug 5211053 - use actionBarItemBackground for overflow" 2011-08-24 17:49:14 -07:00
Mathias Agopian
e328134b8f Fix Recent thumbnails aren't taken when leaving an activity via notification
When taking screenshots we need to use the full drawing state list
instead of the visible list.

Bug: 5186823
Change-Id: I214ee0203aaf8e2c038e44581f7f1ae36edf08c5
2011-08-24 17:44:41 -07:00
Dianne Hackborn
c2644096b7 Merge "Fix issue #5050039: Launcher is sometimes rendering underneath the system/status bar" 2011-08-24 17:39:07 -07:00
Dianne Hackborn
49d228b3f3 New API to determine if device has lots of RAM.
Change-Id: Ie243e851960fdd9e1ebeaf1c1929879193620051
2011-08-24 17:37:31 -07:00
Adam Powell
04db9b6b03 Fix bug 5211053 - use actionBarItemBackground for overflow
Change-Id: I3f26a32dca648ae7cc8d77191f4ab24471175cc5
2011-08-24 17:34:20 -07:00
Jean-Michel Trivi
25c18fe06b Merge "More information for RemoteControlDisplay about new client" 2011-08-24 17:21:29 -07:00
Jean-Michel Trivi
4b6df6a3dc More information for RemoteControlDisplay about new client
When the client gets cleared, let the display know the new
 client generation ID is for a clear.
When a new client becomes current, let the display know
 what the associated media button event receiver is.

Change-Id: I18e37a309b5b30ed361a68918379b60418409f1e
2011-08-24 17:13:49 -07:00
Romain Guy
c39e8e89eb Merge "Add OpenGL backend to ImageWallpaper Bug #5204874" 2011-08-24 17:09:30 -07:00
Dianne Hackborn
19bc995e9a Merge "Fix animation scale to also scale start offset." 2011-08-24 17:07:51 -07:00
Romain Guy
407ec78b82 Add OpenGL backend to ImageWallpaper
Bug #5204874

Currently disabled.

Change-Id: I5e7b35dce2981b0691f107e39c6394b260466543
2011-08-24 17:06:58 -07:00
Dianne Hackborn
fa6b35be12 Fix issue #5050039: Launcher is sometimes rendering underneath the system/status bar
It looks like this is caused by the change in HC to stop activities when
the screen is off.  ViewRootImpl (a.k.a. ViewRoot) has special code to
avoid doing work when it is stopped, and it is now stopped when the screen
is off.  The problem here is if the window's activity is stopped when the
window is first displayed, then it would never do the initial fitSystemWindows()
with the status bar offsets given by the window manager, and never do this
again until the status bar changes.

Also included here is some re-arranging of the code dealing with the offsets
changing, because it was dealt with in two places and only one had a bunch of
code dealing with HW accelerated drawing and performing the fade transition
between states.  Now all of that is unified into one place.

Change-Id: I9828f02664cc622dbf186effb1f685a8aa4456a1
2011-08-24 17:03:54 -07:00
Adam Powell
28853aaf89 Merge "Fix bug 5191728 - Specialized formatting in the split action bar" 2011-08-24 16:58:07 -07:00
Katherine Kuan
1d837232d2 Add DATA_SET value to Entity from EntityIterator cursor
Account name and account type are being retrieved from the
cursor for the contact, but account dataset, which is the
3rd value to uniquely distinguish an account is missing.

Bug: 5210676
Change-Id: I85f93b3fa19839734e4e22928382e0f786ed8ee2
2011-08-24 16:45:59 -07:00
JP Abgrall
5688d784cf Merge "dumpstate: dump qtaguid info, ip6tables info, buddyinfo" 2011-08-24 16:09:51 -07:00
Justin Ho
f8d4e16b46 Merge "Updated phone sounds" 2011-08-24 16:08:35 -07:00
Adam Powell
be3c329ebe Fix bug 5191728 - Specialized formatting in the split action bar
Visually center a single text menu item in the split action bar even
when an overflow button is present.

Fix a bug in allocating space in the split action bar.

Change-Id: I54eff86bf35197030c9c1656ebd71297e3c8b62b
2011-08-24 16:03:31 -07:00
Pannag Sanketi
409f95ff89 Merge "Testing the GL/ CPU encoding w/ Gralloc buffers" 2011-08-24 15:18:07 -07:00
Dianne Hackborn
a4bacb8b74 Fix animation scale to also scale start offset.
Also more better info in meminfo dump.

Change-Id: I45ab41821cd8dd81b61605de6a0cf7074e76c71a
2011-08-24 15:12:38 -07:00
Jamie Gennis
011833c308 Merge "SurfaceFlinger: use the HWC gralloc usage bit" 2011-08-24 15:12:04 -07:00
Jamie Gennis
5af1729f26 Merge "SurfaceTexture: disable sync-mode SurfaceTextures" 2011-08-24 15:11:37 -07:00
Alex Sakhartchouk
0806d51832 Merge "Fixing the lockless fifo destory bug. Removing unused code from element. build." 2011-08-24 14:25:25 -07:00
Christopher Tate
1c424f86c6 Merge "Make sure to go to the right Settings panel when tapping a notification" 2011-08-24 14:12:18 -07:00
Christopher Tate
765f97d5e6 Make sure to go to the right Settings panel when tapping a notification
We now use Intent.makeRestartActivityTask() to build the notification
PendingIntent objects, so that when tapped they restart the activity
in the desired state.

Fixes bug 5011926

Change-Id: Ie1ec3543cc0f49d1bd407622a617316cf53a078c
2011-08-24 14:06:00 -07:00
Justin Ho
c7015c7450 Merge "Make notification divider exactly 1px in hdpi." 2011-08-24 14:03:36 -07:00
Pannag Sanketi
557b7092cc Testing the GL/ CPU encoding w/ Gralloc buffers
This is the test for Gralloc buffers based encoding.
contains a combination of two main changes:

1. GL based encoding tests added to SurfaceMediaSource_test

2. SurfaceMediaSource ::read() colorformat

The SurfaceMediaSource::getformat() sets it to OMX_COLOR_FormatAndroidOpaque.
The omx encoder needs to interpret that colorformat and reads the format
from the Gralloc buffers directly

Change-Id: Iee2fe8901384109a4952e1d6c528c59eb01eb5b1
2011-08-24 13:57:46 -07:00
Jason Sams
2707503388 Merge "Fix DPI issues in RS tests." 2011-08-24 13:56:34 -07:00
Chia-chi Yeh
42577560fb Merge "VPN: stop daemons by closing the control sockets." 2011-08-24 13:03:50 -07:00
Jason Sams
0ed5ebacf9 Fix DPI issues in RS tests.
Change-Id: I02ca34187d93dfe703b90681061c3c7a42fafc15
2011-08-24 12:11:41 -07:00
Dianne Hackborn
2da59ffbda Merge "Fix issue #5192141: systemui asplodes after enough tapping on the windowlist button" 2011-08-24 12:07:10 -07:00
Flavio Lerda
192df696d3 Merge "Add a few columns for caching to the call log." 2011-08-24 12:07:03 -07:00
Dianne Hackborn
cfb9f2bca3 Fix issue #5192141: systemui asplodes after enough tapping on the windowlist button
Change-Id: I5afb2d54b531d9eac9435660616579324f239812
2011-08-24 12:06:15 -07:00
Romain Guy
9b9783ad60 Merge "Enable linear filter when scaling bitmaps Bug #5205673" 2011-08-24 11:52:55 -07:00
Romain Guy
631582f7f7 Enable linear filter when scaling bitmaps
Bug #5205673

Change-Id: I8b0f90877df6b6c6757d35dcf6cd14e79e840b96
2011-08-24 11:51:35 -07:00
Irfan Sheriff
a407aef898 Merge "Added support for multiple DNS servers." 2011-08-24 11:46:12 -07:00
Peter Ng
41927f185d Make notification divider exactly 1px in hdpi.
It remains 1dp for all other densities.

Change-Id: I40491d4512d79c026b7039ca15debf1c0f4ef99d
2011-08-24 11:43:12 -07:00
Jeff Brown
818439323c Merge "Improve input device wake heuristics. Bug: 5205674" 2011-08-24 11:41:40 -07:00