81776 Commits

Author SHA1 Message Date
Adam Cohen
4d95747dc4 Merge "Fixing issue where you couldn't set null RemoteViews for a widget" 2012-07-16 14:06:17 -07:00
Adam Cohen
e582746621 Fixing issue where you couldn't set null RemoteViews for a widget
-> As noted here: http://code.google.com/p/android/issues/detail?id=35014

Change-Id: Id5d1c47b6961d4b448453d8b16700801c0137f2b
2012-07-16 13:56:17 -07:00
Romain Guy
1deb589bf5 Merge "Don't copy paints for 9patches" 2012-07-16 12:44:56 -07:00
Romain Guy
be6f9dc1e7 Don't copy paints for 9patches
Change-Id: I863100a0dc53fec1a3a1b2acbdeb76e6049ffe58
2012-07-16 12:41:17 -07:00
Nick Pelly
e0fd693c60 Improve geofencing: throttle location updates with distance to fence.
Previously any geofence (proximity alert) would turn the GPS on at full rate.
Now, we modify the GPS interval with the distance to the nearest geofence.
A speed of 100m/s is assumed to calculate the next GPS update.

Also
o Major refactor of geofencing code, to make it easier to continue to improve.
o Discard proximity alerts when an app is removed.
o Misc cleanup of nearby code. There are other upcoming changes
  that make this a good time for some house-keeping.

TODO:
The new geofencing heuristics are much better than before, but still
relatively naive. The next steps could be:
- Improve boundary detection
- Improve update thottling for large geofences
- Consider velocity when throttling

Change-Id: Ie6e23d2cb2b931eba5d2a2fc759543bb96e2f7d0
2012-07-16 12:18:52 -07:00
Adam Cohen
f08a8b78b6 Fixing issue where you couldn't set null RemoteViews for a widget
-> As noted here: http://code.google.com/p/android/issues/detail?id=35014

Change-Id: Id5d1c47b6961d4b448453d8b16700801c0137f2b
2012-07-16 12:04:17 -07:00
Ying Wang
1696af9692 am 6d1e7ca3: (-s ours) am 6b7b9b4a: Import translations. DO NOT MERGE
* commit '6d1e7ca30e3dc68f20c8b796748dfc822905f267':
  Import translations. DO NOT MERGE
2012-07-16 11:53:26 -07:00
Ying Wang
6d1e7ca30e am 6b7b9b4a: Import translations. DO NOT MERGE
* commit '6b7b9b4abe3a55a5349951f64a348826e90996c9':
  Import translations. DO NOT MERGE
2012-07-16 11:50:32 -07:00
Ying Wang
215f806482 Merge "Import translations. DO NOT MERGE" 2012-07-16 11:48:10 -07:00
Ying Wang
a232ed6a72 Merge "Import translations. DO NOT MERGE" 2012-07-16 11:47:58 -07:00
Ying Wang
a45a568616 Import translations. DO NOT MERGE
Change-Id: I7b2ac5e0d46af6ba80cb6ad1cb38b143f9e4a4a5
Auto-generated-cl: translation import
2012-07-16 11:46:42 -07:00
Ying Wang
7fffed5fcb Import translations. DO NOT MERGE
Change-Id: Ie0adf80bdc9ab6f2eb8cbf05c743c7cfeb9efd6f
Auto-generated-cl: translation import
2012-07-16 11:38:27 -07:00
Ying Wang
6b7b9b4abe Import translations. DO NOT MERGE
Change-Id: I90c2a81acb707d11c4268ed78c8c06871370faa6
Auto-generated-cl: translation import
2012-07-16 11:29:20 -07:00
Dirk Dougherty
7b756e6246 Doc change: API diffs for 16.
Change-Id: Id6c4f7f1f7d869847de580d8b2431b37e69260b4
2012-07-16 11:02:25 -07:00
Daniel Sandler
ef863701ae Switch to split status/nav bars on all device sizes.
Change-Id: Ie76aa4bdfd76e4a0ffb3949424ab28ef86ec54a1
2012-07-16 09:59:20 -07:00
Svetoslav Ganov
c80aba4674 Merge "Removing a workaround for incorrect window position on window move." 2012-07-16 08:47:10 -07:00
Svetoslav Ganov
c9c9a48e7b 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: Iacb734b1bf337a47fad02c827ece45bb2f53a79d
2012-07-16 08:46:11 -07:00
Romain Guy
565e3e79b0 am 4094fb3c: am 8d170421: Merge "Fix wrong condition."
* commit '4094fb3c5b95c88d689238cbf0a9e2c169a5e557':
  Fix wrong condition.
2012-07-16 01:58:48 -07:00
Romain Guy
4094fb3c5b am 8d170421: Merge "Fix wrong condition."
* commit '8d1704215e80ebec61f6d77c503d83b32d881096':
  Fix wrong condition.
2012-07-16 01:55:55 -07:00
Romain Guy
8d1704215e Merge "Fix wrong condition." 2012-07-16 00:57:42 -07:00
Nick Pelly
357d9cb861 Add a tiny bit of javadoc to PackageMonitor.
Change-Id: I1f9a56f44b4189d77df1327cc4f8c8ccf25db4b9
2012-07-13 23:46:19 -07:00
Jaikumar Ganesh
e4caddbb7a Changes for new Bluetooth APIs.
Changes to Bluetooth Adapter, Device and IBluetooth interfaces
for new Bluetooth APIs. Delete AudioGateway.

Change-Id: Ib51b31187eafde261441b9311b5e7e13c8bff82f
2012-07-13 22:22:51 -07:00
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
9773ebb778 Dock: Temporary removal of function to get BT address
Change-Id: I0d1033654e2708f864649f2b2568be7c9da014ed
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
SeongJae Park
8108e9f8cd Fix wrong condition.
Should check width and height, not width and width.

Change-Id: Ie84d3605b2a7a0f4776adb876608ea92f56817c4
2012-07-14 14:18:51 +09:00
Amith Yamasani
d1cdfb3e42 Merge "Does not compile!!!" 2012-07-13 20:24:16 -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
46b05cc411 Merge "Removing a workaround for incorrect window position on window move." 2012-07-13 19:54:43 -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
Romain Guy
b1d0a4ed21 Refactor GammaFontRenderer
This change is the first step to a shader-based text antialias
gamma correction.

Change-Id: I9eb02d4c56cb95d05219f712290c865b46141954
2012-07-13 18:25:35 -07:00
Jim Miller
dd0d0ba654 Merge "Fix regression in SIM state handling" 2012-07-13 15:43:15 -07:00
Romain Guy
c9cf9e5459 Merge "Improve rendering speed by disabling scissor tests" 2012-07-13 15:31:30 -07:00
Romain Guy
586cae3ac6 Improve rendering speed by disabling scissor tests
This change improves execution of display lists, particularly on
tiled renderers. The goal is to disable the scissor test as
often as possible. Drawing commands are rarely clipped by View
bounds so most of them can be drawn without doing a scissor test.

The speed improvements scale with the number of views and drawing
commands.

Change-Id: Ibd9b5e051a3e4300562463805acc4fd744ba6266
2012-07-13 15:28:31 -07:00
Jim Miller
646d60383d Fix regression in SIM state handling
This fixes a bug introduced by If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
that accidentally reverted I019d1d8c65c55cbf4d10d4928e1d2b2b242162a6

Change-Id: Ia006bf31387162a520374f3bc9acb6e69197b106
2012-07-13 15:12:55 -07:00
Greg Hackmann
bb033ea362 Don't force RGB-565 for tablet status bar
RGBX-8888 is preferred on some devices because the HW composer doesn't
support RGB-565.  SurfaceFlinger can map PixelFormat.OPAQUE to RGB-565
or RGBX-8888 depending on the NO_RGBX_8888 flag.

Change-Id: I6848b11f694188b606a5547b6dd386d933e30601
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2012-07-13 13:48:52 -07:00
Ying Wang
ad0c8c3a3b am d304e8bf: (-s ours) am df523ec5: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit 'd304e8bfc7094763cdbbfc2d84f71e2912f7bfcf':
  Import translations. DO NOT MERGE
2012-07-13 13:43:46 -07:00
Romain Guy
98b8eb6044 am 01f03dc3: (-s ours) am 0a386ffa: Text shadow alpha handling incorrect DO NOT MERGE
* commit '01f03dc3895352e0d4b50ecb3090b29c591f2502':
  Text shadow alpha handling incorrect DO NOT MERGE
2012-07-13 13:43:43 -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
Romain Guy
01f03dc389 am 0a386ffa: Text shadow alpha handling incorrect DO NOT MERGE
* commit '0a386ffac026e259c408b77c2dd2cc5d2e22b5f8':
  Text shadow alpha handling incorrect DO NOT MERGE
2012-07-13 13:41:00 -07:00
Ying Wang
6eb86ac40c Merge "Import translations. DO NOT MERGE" 2012-07-13 13:40:33 -07:00
Ying Wang
e89b6c38be Merge "Import translations. DO NOT MERGE" 2012-07-13 13:40:28 -07:00
Ying Wang
bff40dcf60 Merge "Import translations. DO NOT MERGE" 2012-07-13 13:39:56 -07:00
Ying Wang
df523ec578 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-07-13 13:39:39 -07:00
Craig Mautner
052db7c25e Merge "Further isolate layout side from animation side." 2012-07-13 13:39:25 -07:00
Craig Mautner
322e403156 Further isolate layout side from animation side.
- Use local AppWindowAnimators in WindowAnimator rather than
    using shared WindowManagerService objects.
- Use local WindowStateAnimators in AppWindowAnimator rather
    than use AppToken's WindowState objects.
- Remove redundant WindowManagerService parameter passed to
    AppWindowAnimator ctor.
- Keep from copying parameters from performLayout if the
    parameters haven't changed since the last copy.
- Link WindowStateAnimator to AppWindowAnimator to keep
    from going through WindowStateAnimator.mWin,
    WindowState.mAppToken and AppWindowToken.mAppAnimator.
- Converted attached WindowState in WindowStateAnimator to
    WindowStateAnimator to eliminate multiple conversions.

Change-Id: I5e35af88d8fdc1a7454984eaea91a1bc4f926978
2012-07-13 13:35:20 -07:00
Romain Guy
0a386ffac0 Text shadow alpha handling incorrect
DO NOT MERGE

External bug: http://code.google.com/p/android/issues/detail?id=34879
This is a regression from ICS.

This CL also fixes a bug where a View's alpha would be applied twice.

Change-Id: I13a1546228f44d4c169259414b6fa103a6e4a0fa
2012-07-13 12:24:09 -07:00
Romain Guy
489041dd41 Merge "Text shadow alpha handling incorrect" 2012-07-13 12:21:32 -07:00
Chet Haase
899274ca39 am 6bcfe893: (-s ours) am 0f8e402e: Force invalidates on non-visible views. DO NOT MERGE
* commit '6bcfe893d46b1adb5a89920b82707c3d55a53e27':
  Force invalidates on non-visible views. DO NOT MERGE
2012-07-13 12:20:38 -07:00