57218 Commits

Author SHA1 Message Date
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
Daniel Sandler
c638c1eb1b Put the status bar and navigation bar in HW when advisable.
This allows the hardware to place these windows into
overlays if possible.

Change-Id: I43717fcd2c7e8f38340975eb93088d1c2c96f09b
2011-08-24 18:03:48 -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
Pannag Sanketi
886530788c Default W, H allowed in SurfaceMediaSource dequeue
The client does not have to send (w, h) = (0,0) in dequeuebuffer. It can
set the same w, h as the default width and height.

Change-Id: I8202f90261ccaebbd35ea28c153a7472f01912f1
2011-08-24 17:51:05 -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
Justin Ho
7a1b5e9b8d Updated Roboto font
Bug: 5173136

Change-Id: I59c04d169bf0b0df6319a9d751f748ac51b8987f
2011-08-24 17:00: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
Daniel Lehmann
e8aae096d8 Add Contact ID to StreamItem-Fields
Bug:5134325

Change-Id: I541c6d1c7ac06abb234985cf056f31b3dee712c2
2011-08-24 16:41:00 -07:00
Svetoslav Ganov
8bd69610aa Intra-process view hierarchy interrogation does not work.
The content retrieval APIs are synchronous from a client's
perspective but internally they are asynchronous. The client thread
calls into the system requesting an action and providing a callback
to receive the result after which it waits up to a timeout for that
result. The system enforces security and then delegates the request
to a given view hierarchy where a message is posted (from a binder
thread) describing what to be performed by the main UI thread the
result of which it delivered via the mentioned callback. However,
the blocked client thread and the main UI thread of the target view
hierarchy can be the same one, for example an accessibility service
and an activity run in the same process, thus they are executed on the
same main thread. In such a case the retrieval will fail since the UI
thread that has to process the message describing the work to be done
is blocked waiting for a result is has to compute! To avoid this scenario
when making a call the client also passes its process and thread ids so
the accessed view hierarchy can detect if the client making the request
is running in its main UI thread. In such a case the view hierarchy,
specifically the binder thread performing the IPC to it, does not post a
message to be run on the UI thread but passes it to the singleton
interaction client through which all interactions occur and the latter is
responsible to execute the message before starting to wait for the
asynchronous result delivered via the callback. In this case the expected
result is already received so no waiting is performed.

bug:5138933

Change-Id: I382e2d8689f5189110226613c2387f553df98bd3
2011-08-24 16:26:43 -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
Jeff Sharkey
558a232006 Data usage buckets active time, parsing ISE.
When recording data usage, measure the actual active time, since
buckets can be quite long.  Offer incrementOperationCount() version
that reads thread stats tag for caller.  Rethrow any NPE as ISE
during stats parsing, which callers already handle.

Bug: 5171812, 5184508, 5180659
Change-Id: I6da80ccc0162be68bee279529e3a23b6f98ebd87
2011-08-24 16:00:39 -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
Jamie Gennis
7de41f1bf7 EGL: move disconnect to surface dtor
This change moves the call to native_window_api_disconnect from
eglDestroySurface to the egl_surface_t destructor.  The egl_surface_t
can outlive the external EGLSurface if eglDestroySurface is called while
the surface is made current on a thread.

Change-Id: I0df6117a5633c2a19935fe356579abdd76fc471f
2011-08-24 15:00:23 -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
Daniel Sandler
7b2013d94c Only show wifi indicator when wifi is connected.
Bug: 5182789
Change-Id: I06e9592f9c51affd3b05b163f7a4f7b0c144403f
2011-08-24 12:20:55 -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