33344 Commits

Author SHA1 Message Date
Jaikumar Ganesh
1abb1cb3a8 Changes to Bluetooth Service structure.
Changes to make Bluetooth Service part of the system_service.
These changes may be temporary.

Changes to update to the new disable API.

Change-Id: If89dba17e6e6c6daa53c37684221763a2da076e9

Conflicts:

	services/java/com/android/server/pm/PackageManagerService.java
2012-07-13 22:22:51 -07:00
Jaikumar Ganesh
3419618736 Remove BT references from System Server.
Change-Id: Icfdb3e140aa35174a8b70da57472a1bf2bd0143b

Conflicts:

	services/java/com/android/server/SystemServer.java
2012-07-13 22:22:51 -07:00
Jaikumar Ganesh
313a216709 Delete various Bluetooth files for stack integration. 2012-07-13 22:22:51 -07:00
Amith Yamasani
99e34591c6 Does not compile!!!
Revert "Removing a workaround for incorrect window position on window move."

This reverts commit 939f2e43a80f9a6df16b7e18eba5cfffdbf032da
2012-07-13 20:23:16 -07:00
Svetoslav Ganov
939f2e43a8 Removing a workaround for incorrect window position on window move.
1. The window manager was not notifying a window when the latter
   has been moved. This was causing incorrect coordinates of the
   nodes reported to accessibility services. To workaround that
   we have carried the correct window location when making a
   call from the accessibility layer into a window. Now the
   window manager notifies the window when it is moved and the
   workaround is no longer needed. This change takes it out.

2. The left and right in the attach info were not updated properly
   after a report that the window has moved.

3. The accessibility manager service was calling directly methods
   on the window manager service without going through the interface
   of the latter. This leads to unnecessary coupling and in the
   long rung increases system complexity and reduces maintability.

bug:6623031

Change-Id: Ibbf98afd29439783ba331a7a0cdce55d7f138922
2012-07-13 19:53:37 -07:00
Michael Chan
a07ea5da07 Fixed the problem where getEntityAndIncrementCursor would always return "0" for attendeeIdentity & attendeeIdNamespace instead of the actual string.
Bug: 6798688
Change-Id: Ia3b6ee33110ecc8035c24d6340593160748849fd
2012-07-13 14:10:40 -07:00
Ying Wang
d304e8bfc7 am df523ec5: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit 'df523ec5780aece1f63ce05a0ae57773fef50fbf':
  Import translations. DO NOT MERGE
2012-07-13 13:41:02 -07:00
Ying Wang
df523ec578 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-07-13 13:39:39 -07:00
Chet Haase
6bcfe893d4 am 0f8e402e: Force invalidates on non-visible views. DO NOT MERGE
* commit '0f8e402e954c6e37102fa70f81a1d8ec47156338':
  Force invalidates on non-visible views. DO NOT MERGE
2012-07-13 12:16:46 -07:00
Ying Wang
ab6996bdd8 Import translations. DO NOT MERGE
Change-Id: Iae5f07176cad4505b21f8adc5fef99ac848cc11d
Auto-generated-cl: translation import
2012-07-13 11:49:32 -07:00
Ying Wang
3b1ca7888c Import translations. DO NOT MERGE
Change-Id: Iac7759bb253431f5b75c246938a3cc3a726c8439
Auto-generated-cl: translation import
2012-07-13 11:41:59 -07:00
Chet Haase
87e8b25ea3 Merge "Remove redundant computeScroll() call for hw-accelerated views" 2012-07-13 07:39:41 -07:00
Jonathan Dixon
19274f5a86 Remove deprecated methods from webview provider interface
As these methods are a no-op, no need to foward it to the provider.
Also fixed some missing @Override annotations.

Change-Id: I6ba87cea49d95499de3f62db85c6f6947634bb6f
2012-07-12 18:12:12 -07:00
Romain Guy
401b1f8574 Merge "Remove obsolete optimization" 2012-07-12 18:02:37 -07:00
Romain Guy
f877308f77 Remove obsolete optimization
Change-Id: I2d43c009c62a7f4a4a2e0a6303bdfa692c4b8c8c
2012-07-12 18:01:00 -07:00
Fabrice Di Meglio
b8405c78fc Merge "Make ActionBar aware of layout direction" 2012-07-12 17:53:42 -07:00
Chet Haase
526057bc77 Remove redundant computeScroll() call for hw-accelerated views
View.draw() calls computeScroll() to initialize scrolling values correctly.
But getDisplayList() also calls computeScroll() for the same reason, resulting
in 2 calls to that method for hw-accelerated views.
Fix: avoid calling computeScroll() in View.draw() for views with display lists.

Change-Id: I57a3862e2d554752cd0fdb862513cbb3dfb3105c
2012-07-12 17:50:41 -07:00
Fabrice Di Meglio
cf1ba0298c Make ActionBar aware of layout direction
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Iea8a512311ee99548f39bbbe342f21eabaffbe09
2012-07-12 17:39:12 -07:00
Jeff Brown
c643ca97a8 Merge "Fix bug in IME handling of pending key events." 2012-07-12 16:18:50 -07:00
Chris Craik
d442aaeb46 Merge "Don't attach functor for SW layers" 2012-07-12 16:17:16 -07:00
Jeff Brown
2499bbecc2 Fix bug in IME handling of pending key events.
Bug: 6812529
Change-Id: I7195a4346d44d65a79969a1bb5daa3bb8a018600
2012-07-12 16:14:37 -07:00
Chet Haase
0f8e402e95 Force invalidates on non-visible views. DO NOT MERGE
An optimization prunes invalidates on views which are not inside their
parent's bounds. This works in most cases, but it is possible to run
a situation where a view has been invalidated (and is thus waiting to
be redrawn), but the pruning logic ensures that that draw call
will not happen. Further, when/if the view comes into the bounds
of its parent again, it may still not be redrawn, because now future
invalidates on the view are noop'd because it is already in an invalidated
state (and thus will not propagate invalidates up the hierarchy).

The fix is to remove the optitmization. This will cause some overhead
sending the invalidation request up to the view root, but this
overhead is minimal (and only extra for cases of out-of-bounds views),
and the more expensive part of rendering these views will still not be done
since the view root will avoid re-drawing the hierarchy when the dirty
rectangle is empty.

Issue #6813661 offscreen views don't get invalidated properly (may remain invisible when returning onscreen)

Change-Id: Ic4b439540084a7163be9afc585bea6560d073280
2012-07-12 14:40:28 -07:00
Chris Craik
793b7f8454 Don't attach functor for SW layers
Change-Id: I60fec1629bf1e343a0d69e0ce13a3d632c3f713d
2012-07-12 14:01:50 -07:00
Thomas Tafertshofer
17045a1657 Updated OpenGL bindings to fix nio buffer crash
Contains the updated OpenGL bindings generated by glgen.
Fixes a bug with methods that have more then one nio buffer argument.

Bug: 6772416
Change-Id: I6d50ce79669edd43dbe414e499660cdd55eb4893
2012-07-12 13:55:55 -07:00
Adam Cohen
289b55e55d Merge "Prevent crash in AppWidgetHost that can be triggered by an AppWidget" 2012-07-12 13:28:17 -07:00
Ying Wang
da1f77aef7 Import translations. DO NOT MERGE
Change-Id: Ifa66f213bcb88bc7f7f992af8f8763d6d3cf1dd1
Auto-generated-cl: translation import
2012-07-12 11:50:38 -07:00
Ying Wang
d7b7c2cead am 23edefc6: Import translations. DO NOT MERGE
* commit '23edefc6c6d12dd84ff6b7bd8694b50abf0cc158':
  Import translations. DO NOT MERGE
2012-07-12 11:46:49 -07:00
Ying Wang
23edefc6c6 Import translations. DO NOT MERGE
Change-Id: I115e6356599b76597f52d5f0006d61f4324ae48b
Auto-generated-cl: translation import
2012-07-12 11:41:58 -07:00
Wink Saville
7914fdbfa6 Merge "Merge commit '1b003ef0' into mit" 2012-07-12 09:18:57 -07:00
Romain Guy
f0af1d5cb2 Remove unused View.flushLayer() API
Change-Id: I5d4c7388afb5265964ab6b769cc0abfee9745c84
2012-07-11 18:31:21 -07:00
Wink Saville
5362f17ff5 Merge commit '1b003ef0' into mit
* commit '1b003ef0':
  Create telephony-common and mms-common

Change-Id: Ie8876541dbe7f4c933cf7d69910dd204538bc975
2012-07-11 18:15:50 -07:00
Romain Guy
7d3082a3f0 Update View's opacity when changing the background color
Change-Id: Ib5851d47918c99d4906055a9d0245ea100aee231
2012-07-11 17:52:54 -07:00
Romain Guy
4c9dfc4da9 Merge "Update layers' opaque property when needed" 2012-07-11 17:48:34 -07:00
Romain Guy
846a533945 Update layers' opaque property when needed
Before this change, changing a View's opacity would not be reflected
by hardware layers. This could cause layers to retain their previous
opacity.

Change-Id: Iba2c8b4242deca021651df9324cc7c585a64653d
2012-07-11 17:44:57 -07:00
Adam Cohen
f31608d1fb Prevent crash in AppWidgetHost that can be triggered by an AppWidget
-> When the RemoteViewsFactory violates the getViewTypeCount() contract
   we detect it, and prevent the AdapterView from crashing
-> Also made RemoteViewsCache a static inner class, since we may need
   that down the road, and there's no reason it shouldn't be

Change-Id: I872a255167aac94513e522924179de61286b995a
2012-07-11 17:32:03 -07:00
Mathias Agopian
f16336790b Merge "Fixed exception caused crash in GL bindings" 2012-07-11 16:08:25 -07:00
Mathias Agopian
73a3c0c4d7 Merge "EGL 1.4 bindings generated by glgen" 2012-07-11 16:08:18 -07:00
Wink Saville
a639b311e9 Create telephony-common and mms-common
These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
  frameworks/base/core/java/com/google/android/mms
to:
   frameworks/opt/mms

telephony-common was created by moving some of
   frameworks/base/telephony
to:
   frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
2012-07-11 16:02:08 -07:00
Ying Wang
0ddea75be4 am 04ca8e57: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '04ca8e577859235a68fa9a5268af528d547310be':
  Import translations. DO NOT MERGE
2012-07-11 13:57:43 -07:00
Ying Wang
40cbdd2ae6 Merge "Import translations. DO NOT MERGE" 2012-07-11 13:55:46 -07:00
Teng-Hui Zhu
5a9bb64eaf Merge "Release the media player when trimming memory" 2012-07-11 13:31:02 -07:00
Ying Wang
b16d4294d0 Import translations. DO NOT MERGE
Change-Id: I2a0c62b421d1a080549c2cbedc1a14c3afaf60f3
Auto-generated-cl: translation import
2012-07-11 12:58:16 -07:00
Ying Wang
2ba281577a Import translations. DO NOT MERGE
Change-Id: Idabf12464d73bf707daf0f870de2349731b574e2
Auto-generated-cl: translation import
2012-07-11 12:51:31 -07:00
Victoria Lease
cae28fa051 Merge "Remove hardcoded typeface pointers" 2012-07-11 12:49:12 -07:00
Billy Hewlett
d6deccb346 Remove hardcoded typeface pointers
There were a number of extraneous typeface pointers, one per
language, in TextLayoutCache.  Removing these makes adding additional
supported fonts easier.  This checkin now properly
unrefs typefaces returned by SkCreateTypefaceForScript.  Additionally,
all harfbuzz shaped fonts (with exceptions Greek, Cyrillic, Hangul)
should call SkCreateTypefaceForScript.

Change-Id: I7dcf603a89e5ff52c6dab8fb87ae1807a79c351c
2012-07-11 08:55:59 -07:00
Raph Levien
23316a1ef8 am 00139b22: Merge "Fix for bug 6716343. Use correct offset for mPos reset. DO NOT MERGE" into jb-dev
* commit '00139b2238562780d66c2ebb8a0675fbe7d896b7':
  Fix for bug 6716343. Use correct offset for mPos reset. DO NOT MERGE
2012-07-10 18:07:27 -07:00
Raph Levien
00139b2238 Merge "Fix for bug 6716343. Use correct offset for mPos reset. DO NOT MERGE" into jb-dev 2012-07-10 18:05:12 -07:00
Thomas Tafertshofer
6b1e838fc1 EGL 1.4 bindings generated by glgen
Change-Id: I1c3da57101f4ea089a12f1796f25b72d6852141e
2012-07-10 15:48:30 -07:00
Teng-Hui Zhu
156f97b6c8 Release the media player when trimming memory
Change-Id: I2bb2880546311761fc38d6208de080a66216fa2f
2012-07-10 15:11:38 -07:00
Craig Mautner
fbf885b652 Merge "Notify client side of window movement." 2012-07-10 14:48:06 -07:00