39444 Commits

Author SHA1 Message Date
Hung-ying Tyan
5eacf071bf Fix VPN notification helper.
+ Show the ticker text only on the first time.
+ Keep static variables to avoid GC during connection.

Bug: 3292710
Change-Id: I8ddc9e0abb22da484ec577c0ee018b88299fe26f
2011-01-14 16:50:40 +08:00
Jeff Brown
370f01bd42 Merge "Fix NPE in interceptKeyBeforeDispatching." into honeycomb 2011-01-13 20:00:31 -08:00
Jeff Brown
00ae87d4fd Fix NPE in interceptKeyBeforeDispatching.
Bug: 3349786
Change-Id: Ic2f969ff8a654fdcfeca06199acca531ae5596d3
2011-01-13 19:58:24 -08:00
Romain Guy
5b907be8f5 Merge "Move the main thread check to the appropriate place." into honeycomb 2011-01-13 18:36:13 -08:00
Romain Guy
501053a16d Move the main thread check to the appropriate place.
Change-Id: Ic9bcf209e9398ea05b293a8cc31ac7f234b9de16
2011-01-13 18:38:45 -08:00
Xavier Ducrohet
428a731db9 Merge "LayoutLib: Fix multi-line text rendering." into honeycomb 2011-01-13 18:30:04 -08:00
Xavier Ducrohet
bbefc8662a LayoutLib: Fix multi-line text rendering.
Stupid indices.

Change-Id: I1dbdd04b8f25a5769de8dc21e6c513cef3e35635
2011-01-13 18:02:08 -08:00
Romain Guy
1e3a431d07 Remove debug code
Change-Id: Idbc54d16adb4d86185d7196ea0297b5019d14ae4
2011-01-13 17:47:15 -08:00
Romain Guy
24bb317fe2 Merge "Remove debug code" into honeycomb 2011-01-13 17:44:28 -08:00
Romain Guy
ffac7fc504 Add debug logs for display lists.
Change-Id: I7bae8fd96e9eccb51f29f73e4069b4d3e6bdbdd7
2011-01-13 17:22:58 -08:00
Jason Sams
e9d3da1374 Merge "Re-implement img npot support in HC." into honeycomb 2011-01-13 17:21:02 -08:00
Romain Guy
7f5690bb10 Merge "Add debug logs for display lists." into honeycomb 2011-01-13 17:20:47 -08:00
Jason Sams
9333e64f79 Re-implement img npot support in HC.
Change-Id: Iac56ec54e46c998ec14f71d8e85eccdc5fb3aa91
2011-01-13 17:02:35 -08:00
Huahui Wu
bfbb089c7f Merge "b/3133123 Pass touch point ids to WebKit." into honeycomb 2011-01-13 17:02:33 -08:00
Kenny Root
402438bb40 Merge "Deep clone settings for system package update" into honeycomb 2011-01-13 16:55:00 -08:00
Huahui Wu
e838a42778 b/3133123 Pass touch point ids to WebKit.
This is the CL in framework side and it needs the WebKit part CL:
  https://android-git.corp.google.com/g/#change,89627

Change-Id: I11d4ffa29fa106d918332e6983090b06726ebd36
2011-01-13 16:47:17 -08:00
Alex Sakhartchouk
49dc58bf1c Merge "Docs plus removing some junk per API review." into honeycomb 2011-01-13 16:27:23 -08:00
Jaikumar Ganesh
e77e9da849 Merge "Fix bug in handling connect/disconnect multiple devices." into honeycomb 2011-01-13 16:21:12 -08:00
Kenny Root
291e78cc9c Deep clone settings for system package update
The copyFrom() method was not written to create a clone of the
PackageSetting, so just create a new constructor that actually does a
clone.

Bug: 3349588
Change-Id: I61864869154340420f005cd5120cad751de30ee8
2011-01-13 16:17:50 -08:00
Brad Fitzpatrick
52ea989874 Merge "Remove accidental StrictMode logging left in." into honeycomb 2011-01-13 16:16:46 -08:00
Brad Fitzpatrick
4a82b62044 Remove accidental StrictMode logging left in.
Change-Id: I7580816c6efc32889f49987152ff1d4c40d47140
2011-01-13 16:15:40 -08:00
Jaikumar Ganesh
d1287f5ef0 Fix bug in handling connect/disconnect multiple devices.
Multiple HID devices can be connected. There is no pointing
maintaining the global state. Check individual device state.

Bug: 3350904

Change-Id: I03d9a6015e39e4f9d7f68cc8bbdb19731129b4e6
2011-01-13 15:59:27 -08:00
Dianne Hackborn
8eca7a1e11 Merge "Fix issue #3153930: orphan window left on screen" into honeycomb 2011-01-13 15:45:37 -08:00
Guang Zhu
2c037d14b8 Merge "remove runFinalizationSync calls" into honeycomb 2011-01-13 15:38:44 -08:00
Guang Zhu
e88255df39 remove runFinalizationSync calls
according to csharpiro, these calls are unnecessary and may
lead to problems.

bug: 3350034

Change-Id: I25a80e4e7610901e75622334bf97d6c1bed17cbd
2011-01-13 15:37:43 -08:00
Alex Sakhartchouk
f5c876e82d Docs plus removing some junk per API review.
Change-Id: I45f995b656754550be68c78e467071d6e59b348f
2011-01-13 14:53:43 -08:00
Gilles Debunne
783e6c8b3b Merge "fix for cts DuplicateParentStateEnabled bug with TextViews." into honeycomb 2011-01-13 14:51:33 -08:00
Adam Powell
379a51d96f Merge "Fix bug 3242262 - Add queryHint attribute for SearchView" into honeycomb 2011-01-13 14:51:16 -08:00
Svetoslav Ganov
cecb1db6ac Merge "Invisible of gone views fire accessibility events." into honeycomb 2011-01-13 14:46:27 -08:00
Adam Powell
c0171d5e8e Fix bug 3242262 - Add queryHint attribute for SearchView
Change-Id: I211b65139622c2a2cba03bd1323e2543b09bb111
2011-01-13 14:46:15 -08:00
Gilles Debunne
fb81703ab1 fix for cts DuplicateParentStateEnabled bug with TextViews.
Bug 3347206

Do not add an extra slot in the drawable state for multiline if it
is not needed.

Updated setDuplicateParentStateEnabled documentation.

Change-Id: I95f74284721e25b483e12e9b861e810a55c260b6
2011-01-13 14:41:25 -08:00
Dianne Hackborn
f99f9c5f92 Fix issue #3153930: orphan window left on screen
The problem is that if a window containing children is removed
before the children are, the children may be lost.  This change
(amongst the huge amount of new debugging code) now ensures at
this point that all children windows are removed when the parent
is.

Note that this results in a bunch of error messages now as the
client app tries to continue to do things with that child window.
This is correct, it shouldn't be doing that, and needs to be
fixed to stop it.  But at least it now can't cause the window
manager to leak surfaces.

Change-Id: I7b80dd89ff9de7cb5af1dc759cfa4b31ac29cddc
2011-01-13 14:24:16 -08:00
Svetoslav Ganov
9cd1eca854 Invisible of gone views fire accessibility events.
bug:3350110

1. Added a visibility check before sending an accessibility event.

Change-Id: I322ede3844502bc623ba2aff2b3586a9925ba682
2011-01-13 14:24:08 -08:00
Christopher Tate
6458202abe Merge "Suppress orientation changes during drag operations" into honeycomb 2011-01-13 14:20:48 -08:00
Xavier Ducrohet
a6cbd72816 Merge "LayoutLib: Use the new log tag constants from LayoutLog" into honeycomb 2011-01-13 13:45:38 -08:00
Jamie Gennis
3defffe06e Merge "Fix remote GraphicBuffer allocation in SurfaceFlinger." into honeycomb 2011-01-13 12:57:21 -08:00
Jamie Gennis
57ce3909fc Merge "Add logging to SurfaceTextureClient." into honeycomb 2011-01-13 12:56:38 -08:00
Fabrice Di Meglio
27ac243e2d Merge "Print currentDestinationString() for each backup transport" into honeycomb 2011-01-13 12:45:27 -08:00
Svetoslav Ganov
462433ae94 Merge "DatePicker is calling back its listener on init." into honeycomb 2011-01-13 12:41:04 -08:00
Fabrice Di Meglio
8aac3ee086 Print currentDestinationString() for each backup transport
when doing a "adb shell dumpsys backup"

Change-Id: I9a7d080ad50b715f693f3e16cae3d6e5b1189d47
2011-01-13 12:37:44 -08:00
Jamie Gennis
f7acf162f8 Fix remote GraphicBuffer allocation in SurfaceFlinger.
This change fixes a horrible hack that I did to allow application
processes to create GraphicBuffer objects by making a binder call to
SurfaceFlinger.  This change introduces a new binder interface
specifically for doing this, and does it in such a way that
SurfaceFlinger will maintain a reference to the buffers until the app is
done with them.

Change-Id: Icb240397c6c206d7f69124c1497a829f051cb49b
2011-01-13 12:19:04 -08:00
Jamie Gennis
e8d0e8a776 Add logging to SurfaceTextureClient.
Change-Id: I984c3b9c88f8af613a50138188ff1b770e2de6b4
2011-01-13 12:19:03 -08:00
Jason parks
a3cdaa5337 Revert "Remove the APIs for the old encryption scheme."
This reverts commit 1125d780a8b61703b8eb28c5c77dac5f3f0022dd.
2011-01-13 14:15:43 -06:00
Romain Guy
c15c7a79a6 Merge "Cleanup implementation of hardware layers." into honeycomb 2011-01-13 12:13:59 -08:00
Jamie Gennis
5865c494a5 Merge "Fix a bug in SurfaceTexture::dequeueBuffer." into honeycomb 2011-01-13 12:13:56 -08:00
Romain Guy
ada830f639 Cleanup implementation of hardware layers.
The new implementation relies on OpenGLRenderer's existing layer
code instead of duplicating it. The new code is much cleaner, with
simpler and better APIs and allows tracking of drawn regions inside
layers. Region tracking is not yet enabled but this will be done
in a future CL.

Change-Id: Ie826121a2227de8252c77b992a61218defea5143
2011-01-13 12:13:20 -08:00
Eric Laurent
8eff452421 Merge "Fix issue 3302649." into honeycomb 2011-01-13 11:59:13 -08:00
Svetoslav Ganov
2f136a874d DatePicker is calling back its listener on init.
bug:3341515

1.Changed the callbeack registration to follow the spinners
  initialization.

Change-Id: I3baff68c295993f975beec2b376af88e32b24e20
2011-01-13 11:33:10 -08:00
Jamie Gennis
9aba2324ac Merge "Add getTransformMatrix to the SurfaceTexture API." into honeycomb 2011-01-13 11:29:14 -08:00
Xavier Ducrohet
918aaa5717 LayoutLib: Use the new log tag constants from LayoutLog
Change-Id: I29dd578ae16405358d3673caf13528be393f0967
2011-01-13 11:08:27 -08:00