27866 Commits

Author SHA1 Message Date
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
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
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
Chet Haase
d21a9fe2d9 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.

Change-Id: I3d5fbc956695c88d01c30820259da3e107ffd8a3
2012-02-01 14:59:08 -08:00
John Reck
9cf8462751 Fix NPE
Change-Id: I9c05a11f971f033322b8988abf852c95cbaba8a5
2012-02-01 14:58:32 -08:00
Christopher Tate
f46723b41f Implement background vs foreground broadcasts
Before now, receiving a broadcast would cause a process to be hoisted
to foreground priority / cgroup.  This is no longer the case: broadcasts
by default are handled in the background, with a suitably increased
timeout interval.  When a given broadcast needs to be dealt with in a
more timely manner, the issuer can set the new FLAG_BROADCAST_FOREGROUND
flag on the Intent, which will produce the old foreground-priority
behavior.

To avoid priority inversions, foreground broadcasts are tracked on a
separate outgoing queue and can be in flight simultaneously with a
background-priority broadcast.  If there is already a background-level
broadcast in flight to a given app and then a foreground-level one is
dispatched to that app, the app [and its handling of both broadcasts]
will be properly hoisted to foreground priority.

This change is also essentially the first step towards refactoring the
broadcast-handling portions of the Activity Manager into a more
independent existence.  Making BroadcastQueue a top-level class and
regularizing its operation viz the primary Activity Manager operation
is the next step.

Change-Id: If1be33156dc22dcce318edbb5846b08df8e7bed5
2012-02-01 14:36:34 -08:00
Svetoslav Ganov
2eecea3b48 Merge "Speedup the accessibility window querying APIs and clean up." 2012-02-01 13:45:24 -08:00
Scott Main
0f4dc8f7d7 am 414cc6cf: am 9af875ec: am 5e095939: docs: update menu guide with CAB and popup menu, plus many other revisions
* commit '414cc6cfcdb6d766d095f0af1da76e7da946af84':
  docs: update menu guide with CAB and popup menu, plus many other revisions
2012-02-01 11:51:53 -08:00
Scott Main
9af875ec74 am 5e095939: docs: update menu guide with CAB and popup menu, plus many other revisions
* commit '5e0959393426371dadef2c7905d5c915a1ac2dd4':
  docs: update menu guide with CAB and popup menu, plus many other revisions
2012-02-01 11:45:49 -08:00
Scott Main
5e09593934 docs: update menu guide with CAB and popup menu, plus many other revisions
Change-Id: I5faedd5f5b812ca58eb2085b0c036570de861f15
2012-02-01 11:40:49 -08:00
Xia Wang
a8c0d5e6d4 Merge "Use PackageManager to detect wifi-only devices in ConnectivityManagerTest." 2012-02-01 11:12:05 -08:00
Brett Chabot
4dfa295ad8 Use PackageManager to detect wifi-only devices in ConnectivityManagerTest.
Change-Id: I9749bf9024a73af095d4a681bb902594828ad599
2012-02-01 10:32:18 -08:00
Dianne Hackborn
18899406ba Merge "Update preload drawables to not include pre-holo assets." 2012-02-01 10:26:51 -08:00
Scott Main
e85fc6220a am 1a8a8b73: am 0b2701b7: Merge "docs: change that stated as a few doc fixes and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag c
* commit '1a8a8b73d48261384a0f63df894b68db97e7b02c':
  docs: change that stated as a few doc fixes and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a format bug.
2012-02-01 00:18:11 -08:00
Dianne Hackborn
89123bc934 Update preload drawables to not include pre-holo assets.
Change-Id: Id73bcb67961aef8b84e2664dd9edf39208ab6fa5
2012-01-31 16:54:20 -08:00
Scott Main
1a8a8b73d4 am 0b2701b7: Merge "docs: change that stated as a few doc fixes and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a form
* commit '0b2701b7344fb7b7b6f9a1c1c99c8ede81b49d2d':
  docs: change that stated as a few doc fixes and turned into fully documenting the device default themes and fixing many more, including adding API level information for older themes to avoid confusion. Oh and fix an unclosed <em> tag causing a format bug.
2012-01-31 16:10:38 -08:00
Xavier Ducrohet
d2726ba47e Add tools specific annotations to the API.
Those annotations are not runtime retention and have zero impact
on the device builds.

Change-Id: I18d905fccfe18eb621e1411d7ae7ba97910cc727
2012-01-31 15:56:40 -08:00
Dianne Hackborn
6c997a9e88 aapt now sorts the strings in the resource string pool.
In our current environment with very many translations, this can
save a lot of RAM -- for example over 200K in Gmail just by sorting
the strings in the Gmail .apk (not the framework).

Also add a new aapt command to print the contents of the resource
table string pool.

Change-Id: I1da037b3e2c377b890833ff57ab158965314ac48
2012-01-31 15:41:30 -08:00
Scott Main
493d27b89c docs: change that stated as a few doc fixes and turned into
fully documenting the device default themes and fixing many more,
including adding API level information for older themes to avoid confusion.
Oh and fix an unclosed <em> tag causing a format bug.

Change-Id: Ia4b33559bd5ad2cbae8b53966999cf7f5038b125
2012-01-31 15:24:08 -08:00
John Reck
540643bff5 Support select all
external/webkit CL: 161648

Change-Id: I9cdff2e2e9a1e986ef10946924da85c7b577352b
2012-01-31 13:36:59 -08:00
John Reck
2bb2323d63 Merge "Webkit text selection" 2012-01-31 11:08:14 -08:00
Chet Haase
4125f0b5ce Merge "Add new ViewPropertyAnimator utility methods" 2012-01-31 11:07:25 -08:00