27885 Commits

Author SHA1 Message Date
Xavier Ducrohet
75ef7bea32 Merge "Add some lint control for the frameworks." 2012-02-06 10:57:50 -08:00
Chris Craik
d5544ac710 Merge "Pause webkit painting when UI tile painting queue is full" 2012-02-06 10:00:58 -08:00
Fabrice Di Meglio
ffd121233a Merge "Revert back to DroidSansArabic font for SystemUI" 2012-02-03 18:33:49 -08:00
Chet Haase
f492b43f45 Merge "Make the TimeAnimator class public." 2012-02-03 17:48:11 -08:00
Chet Haase
a33de55404 Make the TimeAnimator class public.
This class has existed since ICS, but was hidden. This change
just makes it public API.
Also, cleaned up some internal javadocs.

Change-Id: Id69408446ced183e01d2b065a67397eb305d9665
2012-02-03 16:28:24 -08:00
Chris Craik
4390c6b4a6 Pause webkit painting when UI tile painting queue is full
Change-Id: I8836d7951f8f02d7f966dc22d807ea785ac9e637
2012-02-03 16:07:11 -08:00
Jeff Brown
33c84496a6 Merge "Make the Choreographer thread-safe." 2012-02-03 15:48:33 -08:00
Jeff Sharkey
241dde2306 Unify shorthand for byte-based units.
Change-Id: If990859dee3f0973e1d4c48f05312c84071b3328
2012-02-03 14:50:13 -08:00
Eric Fischer
1c9fcd9086 Merge "Import translations. DO NOT MERGE" 2012-02-03 13:48:14 -08:00
Xavier Ducrohet
9e194a1557 Add some lint control for the frameworks.
Change-Id: Ie80ffee31ca87da3e7f1031317f2d4c1a36640c8
2012-02-03 13:27:52 -08:00
Eric Fischer
8d3d580c51 Import translations. DO NOT MERGE
Change-Id: I50c6c58c7b20c3e8ce02adeac7e05f23d0a3fe44
2012-02-03 12:24:15 -08:00
Adam Cohen
041a434d38 Merge "Handle null PendingIntents, Bitmaps, Uris and Intents in RemoteViews (issue 5223291)" 2012-02-03 12:06:20 -08:00
Amith Yamasani
1ef7d13172 Merge "Multi-user - 1st major checkin" 2012-02-03 12:04:40 -08:00
Amith Yamasani
742a671273 Multi-user - 1st major checkin
Switching activity stacks
Cache ContentProvider per user
Long-press power to switch users (on phone)

Added ServiceMap for separating services by user
Launch PendingIntents on the correct user's uid
Fix task switching from Recents list
AppWidgetService is mostly working.

Commands added to pm and am to allow creating and switching profiles.

Change-Id: I15810e8cfbe50a04bd3323a7ef5a8ff4230870ed
2012-02-03 12:01:47 -08:00
Fabrice Di Meglio
2d315df641 Merge "Fix bug #5929529 Parentheses aren't correctly rendered in RTL context" 2012-02-03 11:57:54 -08:00
Jeff Brown
87d0b03f1f Make the Choreographer thread-safe.
Change-Id: Ieb52cf3b8086e7cf743b45a8b92d4bd5957f43ee
2012-02-03 11:01:21 -08:00
Glenn Kasten
191c849283 Merge "Use ToneGenerator::tone_type consistently" 2012-02-03 08:00:52 -08:00
George Mount
3debfa68c4 Merge "Enable webkit text entry for all fields" 2012-02-03 07:58:14 -08:00
George Mount
60da2fc8c0 Merge "Use a node pointer to identify content-editable fields." 2012-02-03 07:58:07 -08:00
Adam Cohen
c6151f2369 Handle null PendingIntents, Bitmaps, Uris and Intents in RemoteViews (issue 5223291)
Change-Id: If8895b774dee6ba4138751a0c2f68c70402b3fa5
2012-02-02 22:12:58 -08:00
Jim Miller
c7aab1a9f1 Merge "Fix 5907223: Fix lock screen glitch caused on devices with a system bar" 2012-02-02 19:25:06 -08:00
Fabrice Di Meglio
ab8c73882e Fix bug #5929529 Parentheses aren't correctly rendered in RTL context
- do BiDi mirrored char mirroring in TextLayoutCache
- see BiDi mirrored chars list at:

 http://www.unicode.org/Public/6.0.0/ucd/extracted/DerivedBinaryProperties.txt

Change-Id: Ia0af0e252dbb0c55cc689bc9db34e05591bb6ee8
2012-02-02 19:07:02 -08:00
Fabrice Di Meglio
9b255cac77 Revert back to DroidSansArabic font for SystemUI
- see bug #5957987 Revert to use DroidSansArabic instead of DroidNaskh font for Arabic Shaping in SystemUI
- DroidNaskh was having FontMetrics not compatible with Roboto

Change-Id: I9f3031c250f907c80f3992f71d929dc91686e1e5
2012-02-02 18:57:19 -08:00
Jeff Brown
ec99f609cc Merge "Rename CancellationSignal using preferred spelling." 2012-02-02 18:50:55 -08:00
Jeff Brown
4c1241df8f Rename CancellationSignal using preferred spelling.
Bug: 5943637
Change-Id: I12a339f285f4db58e79acb5fd8ec2fc1acda5265
2012-02-02 18:02:16 -08:00
Jeff Sharkey
34c4d2e249 Merge "Support snoozing of data warning notification." 2012-02-02 16:26:41 -08:00
Jeff Sharkey
0e2e5f8b56 Support snoozing of data warning notification.
Introduce second snooze timestamp to support dismissal of data usage
warning notification.  Also explicitly set notification "when" to
avoid fighting with other notifications, such as ongoing downloads.

Bug: 5443756, 5262414
Change-Id: I03342c25b0410b1b2db84de9a40884f04cb1d8ae
2012-02-02 16:22:33 -08:00
Jim Miller
bf032650e3 Fix 5907223: Fix lock screen glitch caused on devices with a system bar
This fixes a regression caused by making the lock screen window slippery where
dragging the target over the system bar would incorrectly cause it to
snap to an invisible target.  It now interprets MotionEvent.ACTION_CANCEL
the same as an "up" event and resets to the initial state.

Change-Id: I9a3c195371d64e1a4613f6f1fb0a043e9a47a601
2012-02-02 16:22:29 -08:00
Dianne Hackborn
c69acaef0b Merge "New global setting for developer options." 2012-02-02 15:17:16 -08:00
Dianne Hackborn
895f99e9ca New global setting for developer options.
Change-Id: I3f60538e9f858858501c5b063b0da97675d445a6
2012-02-02 14:13:08 -08:00
Chet Haase
a553113a1f Fix bug in LayoutTransition that caused views to stay invisible
LayoutTransition side-effects the alpha property on View to fade views
in and out. This works fine if the layout transition is always used on
those views' container. But if you fade out a disappearing view and then
set the transition to null on the container and set that view to VISIBLE,
there is no transition logic to restore the alpha value to 1 (opaque).

The fix is to always restore alpha to its pre-animation value when fading
the view out.

Also, added extra info to alpha and the various View transform properties
to help hierarchyviewer debugging.

Issue #5958434: LayoutTransition temporary disablement may leave some views invisible

Change-Id: I3c21b0e7334dc29c10c5e372b589f0e2b59c2883
2012-02-02 13:41:44 -08:00
George Mount
0caa4cef22 Use a node pointer to identify content-editable fields.
Bug 5946645
 Webkit change: I915b49c6161fc0604e584699ec96cc86ba96ac79

Change-Id: I0b1c52a6c78f2a2bc16a69fa97f21655af3209d3
2012-02-02 11:38:32 -08:00
Chet Haase
659793bcd0 Merge "Add Developer Option setting for Animator scaling." 2012-02-02 10:42:44 -08:00
Dianne Hackborn
306eed22e5 Merge "Use Choreographer for window manager animation timing." 2012-02-02 10:41:50 -08:00
George Mount
71d3641d4e Enable webkit text entry for all fields
Change-Id: Ie0385e93ac6ebb1834277b6e6cedfee77dbb4f58
2012-02-02 10:18:24 -08:00
Chet Haase
c38fa1f636 Add Developer Option setting for Animator scaling.
This new setting allows users to set a scale factor for the
duration and startDelay of all Animator-based animations. This
setting is very similar to the Transition animation scale and
Window animation scale settings, except this one applies specifically
to Animator animations. The property is only accessible by users
through the Settings UI, not programmatically. The value applies
system-wide and is picked up per-process at the time of the first
ValueAnimator construction.

This is an update to a previous CL; this approach uses the WindowManager
to store the animator scale settings, instead of SystemProperties.

Change-Id: I8295fab060aa6d597ae507ded8f9c9d6077be966
2012-02-02 08:40:44 -08:00
Svetoslav Ganov
4e921197e2 Merge "Update the comment for View#clearFocus" 2012-02-01 18:08:01 -08:00
Adam Powell
80ec4ab7f5 Merge "Fix bug 5339708 - edge case in ListView focus restoration" 2012-02-01 17:46:55 -08:00
Adam Powell
2d8b0170bf Fix bug 5339708 - edge case in ListView focus restoration
Some apps have managed to hit this edge case in monkey runs. In
layoutChildren an attempt to findFocus() fails when items are
focusable. When ListView attempts to restore focus to this view,
bad things happen.

Change-Id: Ie8bb1bab847898e342c16fbe3ff1a6153d6f69df
2012-02-01 17:23:41 -08:00
Fabrice Di Meglio
81453f761a Merge "Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics" 2012-02-01 17:21:59 -08:00
Fabrice Di Meglio
8a551a53fd Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics
- was missing a clean of the attrs.xml file

Change-Id: I58155fa624326e8ae11f8b88d8a27d2c44cb467b
2012-02-01 17:19:18 -08:00
Svetoslav Ganov
13fd561848 Update the comment for View#clearFocus
Change-Id: I779f94e88821574c74e5e76d99ae555a47042c12
2012-02-01 17:01:12 -08:00
Jeff Sharkey
88de70f3c5 Merge "Deprecate ACTION_BACKGROUND_DATA_SETTING_CHANGED." 2012-02-01 16:54:53 -08:00
Jeff Brown
9dbfc331b4 Merge "Support automatic cancellation of Loaders." 2012-02-01 16:31:48 -08:00
Jeff Brown
b19a71a20a Support automatic cancellation of Loaders.
Change-Id: I18d3f49e413f48fcdd519d15e99c238ad54d35b9
2012-02-01 16:30:14 -08:00
Romain Guy
bbf1bc8b6c Merge "Add optional metadata to initiliaze the render threat." 2012-02-01 16:15:17 -08:00
Romain Guy
211370fd94 Add optional metadata to initiliaze the render threat.
The render threat is likely to break your application if you initiate it.
As such it must be explicitely requested using the following meta-data
tag in your manifest's application tag:

<meta-data android:name="android.graphics.renderThread" android:value="true" />

Change-Id: Ibf0a48af2a0d091562bf6907eac970e3d1d601c4
2012-02-01 16:10:55 -08:00
Dianne Hackborn
8bcd54b98a Use Choreographer for window manager animation timing.
Change-Id: Ic34aff698c63d383ecd06af7da9957475683a1db
2012-02-01 16:02:14 -08:00
Chet Haase
6baed6c110 Merge "Add Developer Option setting for Animator scaling." 2012-02-01 15:08:26 -08:00
John Reck
0918a4e8c0 Merge "Fix NPE" 2012-02-01 15:03:38 -08:00