39972 Commits

Author SHA1 Message Date
Mathias Agopian
1d4549ab03 clean-up unneeded code
now that we removed the notion of a "inUse" buffer in surfaceflinger
a lot of code can be simplified / removed.

noteworthy, the whole concept of "unlockClient" wrt. "compositionComplete"
is also gone.

Change-Id: I210413d4c8c0998dae05c8620ebfc895d3e6233d
2011-01-20 12:10:11 -08:00
Adam Powell
ed58d8ed8a Merge "Fix bug 3112733 - Missing TLS encryption option in manual email account setup" into honeycomb 2011-01-19 17:11:37 -08:00
Adam Powell
d2766aec6a Fix bug 3112733 - Missing TLS encryption option in manual email account setup
Make spinner popups observe global events that should change the
position of the popup.

Change-Id: Ia65204f594a6972b96d4db08c205770e340fcaf9
2011-01-19 17:09:29 -08:00
Jeff Brown
2cb866b948 Merge "Never drag scroll views with no children." into honeycomb 2011-01-19 17:03:08 -08:00
Mathias Agopian
8bb9131c66 Merge "fix [3367893] Rotating device on YouTube's home screen several times kills system_server" into honeycomb 2011-01-19 17:01:22 -08:00
Mathias Agopian
578b7a2265 fix [3367893] Rotating device on YouTube's home screen several times kills system_server
A typo in RS tear down cause caused eglMakeCurrent to fail. Additionnaly,
EGLSurfaces where not destroyed explicitely.
Everything worked properly when only one RS context was used, as
eglTerminate() would clean-up everything.

however in the present case, there seem to be more than one RS context
and eglTerminate() is not called.

Change-Id: I37a10945b9c0a85c4f7abad1c4f4c24bc0daa0a5
2011-01-19 16:58:10 -08:00
Romain Guy
eefc82483a Merge "Fix toasts." into honeycomb 2011-01-19 16:51:44 -08:00
Romain Guy
cf3dd6bc69 Fix toasts.
Change-Id: I11916c55e8092169d2ab28c100bc7a152d60d432
2011-01-19 16:54:13 -08:00
Jason Sams
1368436e42 Merge "Check and propogate errors from llvm." into honeycomb 2011-01-19 16:49:17 -08:00
Christopher Tate
28f0a53a88 Merge "Fail more gracefully when window state changes during drags" into honeycomb 2011-01-19 16:41:14 -08:00
Amith Yamasani
1c0012e103 Merge "Ensure that the column is valid before querying." into honeycomb 2011-01-19 16:40:14 -08:00
Mathias Agopian
0fb9c5dcc7 Merge "improve SurfaceFlinger 'dumpsys' log" into honeycomb 2011-01-19 16:31:32 -08:00
Dianne Hackborn
b26a651b47 Merge "Hook up large heap API." into honeycomb 2011-01-19 16:28:31 -08:00
Jason Sams
9dd9d02189 Merge "Expose unchecked copyFrom variants." into honeycomb 2011-01-19 16:27:06 -08:00
Christopher Tate
f01af7551b Fail more gracefully when window state changes during drags
In particular, if a new window was created out from under the drag,
the drag-move event dispatch logic would wind up blithly assuming
that it would find a valid touch-dispatchable window under the
finger.  When this was untrue, it would NPE, but the NPE was caught
and discarded safely by higher-level guard code.

With this change, we now avoid the NPE entirely and report the
spurious condition as part of the debugging log stream.

(Also add the local-state object to DragEvent.toString()'s output.)

Change-Id: Idfa5f45d049e48415ee59c8b0ffb5b0ed4098ce3
2011-01-19 16:25:22 -08:00
Amith Yamasani
de6e2ca7fb Ensure that the column is valid before querying.
Bug: 3303147
Change-Id: Ieec93317c5a2e924d3ee3108b61577b636943160
2011-01-19 16:19:35 -08:00
Mathias Agopian
06a61e2fa8 improve SurfaceFlinger 'dumpsys' log
list the purgatory, which shows windows that have been closed,
but for which the client still has references.

Change-Id: I5168bb88cb328d5d77d71d0871deb9190f493126
2011-01-19 16:15:53 -08:00
Jason Sams
fdc54a97ee Check and propogate errors from llvm.
Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
2011-01-19 16:14:21 -08:00
Joe Onorato
b2b14397e5 Merge "Cut a hole in the status bar for events when the IME is open." into honeycomb 2011-01-19 16:14:14 -08:00
Dianne Hackborn
de39851592 Hook up large heap API.
Change-Id: I215644f8de326fe3d4fa582447885b0aa01f72d3
2011-01-19 16:13:18 -08:00
Joe Onorato
4defed4291 Merge changes I3814b491,Ic3a7f4c0 into honeycomb
* changes:
  Pass SkRegion::toString() through to java.
  Remove optimization to isInContentArea that wasn't working.
2011-01-19 16:11:04 -08:00
Mike Lockwood
62097ad654 Merge "@hide MediaStore.ACTION_MTP_SESSION_END" into honeycomb 2011-01-19 16:09:49 -08:00
Gilles Debunne
0c44d1dbb1 Merge "Race condition patched in Email autocompletion." into honeycomb 2011-01-19 16:08:20 -08:00
Mike Lockwood
e222872a77 @hide MediaStore.ACTION_MTP_SESSION_END
BUG: 3370230

Change-Id: Idc05512930ceab8f91e3ddf0969a3b17deab2f62
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-19 16:07:25 -08:00
Gloria Wang
a4b0cdc96e Merge "More fix for 64 bit offset." into honeycomb 2011-01-19 15:57:23 -08:00
Jason Sams
4fa3eed8e0 Expose unchecked copyFrom variants.
Change-Id: I452d082bb4adbd578b6300bf5829dc59e91e517a
2011-01-19 15:44:38 -08:00
Gloria Wang
d0423d2b12 More fix for 64 bit offset.
Change-Id: Ia05060113ca0f43a4362914dc99c89c89e30eb4a
2011-01-19 15:38:16 -08:00
Joe Onorato
020460b610 Cut a hole in the status bar for events when the IME is open.
Bug: 3238092
Change-Id: I8af18c2ebada624fbf5baee09b4b7ef98a7c8205
2011-01-19 15:29:31 -08:00
Joe Onorato
120856c50a Pass SkRegion::toString() through to java.
Change-Id: I3814b491c689313c1f8da811a104d913175f6268
2011-01-19 15:29:31 -08:00
Joe Onorato
6223fba87e Remove optimization to isInContentArea that wasn't working.
This might fix the bug where tapping outside the notification panel doesn't close it.

I'm not 100% sure because I can't reproduce this on-demand, but I think it's possible for
onSizeChanged to race with the animations and we end up with a bad rectangle.  The time
I did see it happen was tapping above the title area right after canceling a notification,
so that could explain it I think.

Bug: 3339023
Change-Id: Ic3a7f4c059e7bf6f30b864a371a0912a6414edb7
2011-01-19 15:29:31 -08:00
Joe Onorato
cb109a0eea Add docs for Notification.Builder.
Bug: 3362451
Change-Id: I8f16a7f266812190dc8d06751f5ca914e2050111
2011-01-19 15:29:30 -08:00
Jaikumar Ganesh
7457b36b92 Merge "Make connection / disconnect failure more robust." into honeycomb 2011-01-19 15:13:37 -08:00
Andreas Huber
3cd6302b9e Merge "Prefill the cache before trying to instantiate the media extractor." into honeycomb 2011-01-19 15:12:41 -08:00
Gilles Debunne
be2c4f92a9 Race condition patched in Email autocompletion.
Bug 3347962

Root cause of this problem: if the adapter's content gets updated by a backgroung
thread, the PopupDataSetObserver will call showDropDown which will popup the
list.

Added a flag to make this call show the popup iif it is already visible.
This relayout is needed to clear the mDataChanged flag set when the content was
modified and which otherwise prevents touch events on the result list.

ArrayAdapter didn't use its lock to protect access to mObject.

-------------------------------------------------

However, the study of the this race conditions revealed an other bug:

Updated adapter's content is not displayed in filtered AutoCompleteTextView
Bug 3369097

Change-Id: Icd90d452f98231866f4d8a1f6994c1492febecb9
2011-01-19 15:10:09 -08:00
Andreas Huber
9634665ed6 Prefill the cache before trying to instantiate the media extractor.
The latter is an operation that otherwise could block on the datasource
for a significant amount of time. During that time we'd be unable to
abort the preparation phase without this prefill.

Change-Id: Ia42496d88a11314386ea8797d665bf4e94871e30
related-to-bug: 3362836
2011-01-19 15:07:19 -08:00
Brad Fitzpatrick
9240f16d77 Merge "StrictMode: class instance limits (track object "leaks")" into honeycomb 2011-01-19 14:53:24 -08:00
Brad Fitzpatrick
bfbe577110 StrictMode: class instance limits (track object "leaks")
Change-Id: I2db5a19060c2013078feb88a91caf655469b2f98
2011-01-19 14:52:08 -08:00
Carl Shapiro
b098f73556 Merge "Add a property for specifying a dalvik heap growth limit." into honeycomb 2011-01-19 14:40:24 -08:00
Romain Guy
514fb18827 Don't attempt to create empty layers.
Bug #3369888

Change-Id: Ic17bbd1c04bbf760cb17d0eb9e6767fd6479948c
2011-01-19 14:38:29 -08:00
Romain Guy
8f36bedcf3 Merge "Don't attempt to create empty layers. Bug #3369888" into honeycomb 2011-01-19 14:36:22 -08:00
Gil Dobjanschi
c4edeb5a60 Bug fix: 368813 Transition is regenerated when overlay duration changes outside the transition
Change-Id: I8217e7fe00392455427e117dc54c3461301f95c5
2011-01-19 14:10:32 -08:00
Jaikumar Ganesh
fbe807d064 Make connection / disconnect failure more robust.
Add error codes so that the states can be tracked better.

Change-Id: Ic07a5d34589134b68dedeb4803ccb523aa01b567
2011-01-19 14:06:29 -08:00
Dharmaray Kundargi
fe93351cf1 Merge "remove eng developement local tags in make file" into honeycomb 2011-01-19 14:02:12 -08:00
Shimeng (Simon) Wang
b501f77f1f Merge "Use rounded interger to represent the last touch point." into honeycomb 2011-01-19 13:58:57 -08:00
James Dong
fc37018a90 Merge "Logging the duration range from different media tracks for recording" into honeycomb 2011-01-19 13:57:06 -08:00
Christopher Tate
5383d077ed Merge "Fix a couple of drag & drop crashes" into honeycomb 2011-01-19 13:51:58 -08:00
Romain Guy
9335f5b2fd Merge "Make embedded hardware layers work. Bug #3369474" into honeycomb 2011-01-19 13:40:43 -08:00
Romain Guy
42f3a4b7c3 Make embedded hardware layers work.
Bug #3369474

Change-Id: Ib6d7fb44eedda9dc2933b5e1b176f307968af91d
2011-01-19 13:42:26 -08:00
Shimeng (Simon) Wang
1e07da3651 Use rounded interger to represent the last touch point.
This prevents loss of delta calculation accurracy when dragging, which
was done in float and converted to integer.

issue: 3366067
Change-Id: Ia121a6ef4619c9abfb1f76a01db3272d41d02b81
2011-01-19 13:19:56 -08:00
Derek Sollenberger
aa2275e31d Fix complex character support for plugins.
bug: 3369527
Change-Id: I48c3442d7de54589f9f9578f6375b7ad291677db
2011-01-19 16:18:04 -05:00