27841 Commits

Author SHA1 Message Date
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
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
Romain Guy
b74b84f195 Merge "Proper equals/hashCode impls in Rect and RectF" 2012-01-31 10:51:38 -08:00
Romain Guy
74d7ca133a Proper equals/hashCode impls in Rect and RectF
Change-Id: Ief52d84f134018af4dfd19674de12736c056e3f8
2012-01-31 10:50:38 -08:00
Chet Haase
c1ca665827 Add new ViewPropertyAnimator utility methods
Users have requested the ability to sequence ViewPropertyAnimator
animations. it is not possible with AnimatorSet, which only takes objects
of type Animator (which VPA does not extend). But the AnimatorSet model
is not appropriate for VPA anyway, since it is not possible to set up
a VPA ahead of time to start later; it's just not the way that VPA is
intended to work.

Instead, there are now two new methods on VPA, onStart() and onEnd(). These
methods take a Runnable which is executed when the animation starts or ends.
These methods should allow other VPAs or other arbitrary code to execute at the
start or finish of any particular VPA animation, allowing simple sequencing
without the overhead of creating listeners and monitoring the cancelation status
of the VPA.

Additionally, this change adds a new method withLayer() which sets a hardware
layer on the VPA's target view for the duration of the animation. This
was already possible, but required writing boilerplate code to create a listener
and override the start/end methods to add and remove the layer. This utility method
makes this common use case much simpler and less error-prone.

Change-Id: I819978517e17c647ffb7028063cd0adde68ff691
2012-01-31 10:50:14 -08:00
Scott Main
0aa8f3b8db resolved conflicts for merge of 20d06540 to master
Change-Id: I80da9a11b4538c070b0000cfa3ea6cd865e46aef
2012-01-31 08:55:23 -08:00
Scott Main
20d06540e2 am 4b2eb9a5: Merge "docs: fix typos and clarify some grammar in summary external issue 21548" into ics-mr1
* commit '4b2eb9a50bbead0b756944ebffd01c89916896ad':
  docs: fix typos and clarify some grammar in summary external issue 21548
2012-01-31 08:40:59 -08:00
Ben Murdoch
145b340773 Merge "Remove code that quits the webcore watchdog thread." 2012-01-31 02:17:12 -08:00
Scott Main
6440534660 docs: fix typos and clarify some grammar in summary
external issue 21548

Change-Id: Ic38921cb64390b42651f3971efeb4b76101dfc14
2012-01-30 23:49:26 -08:00
Romain Guy
1e56fff3b9 Merge "Add debug markers to OpenGLRenderer" 2012-01-30 17:43:37 -08:00
Romain Guy
13631f3da8 Add debug markers to OpenGLRenderer
These markers will be used to group the GL commands by View in the
OpenGL ES debugging tool. This will help correlate individual GL
calls to higher level components like Views.

Change-Id: I73607ba2e7224a80ac32527968261ee008f049c6
2012-01-30 17:41:55 -08:00
Gilles Debunne
79e3e5f5d4 Merge "Removed SoftInputShownOnFocus methods in TextView" 2012-01-30 17:01:19 -08:00
Svetoslav Ganov
12df3cf156 Merge "Incorrect behavior of View clear focus." 2012-01-30 16:37:33 -08:00
Jeff Sharkey
54ee2adf17 Deprecate ACTION_BACKGROUND_DATA_SETTING_CHANGED.
Broadcast is no longer sent, except during first boot after platform
upgrade.

Change-Id: I7a9c105b5783ca9f9c3aca2efff6fe5c13a4c1fd
2012-01-30 16:32:54 -08:00
John Reck
74ffdc30e0 Webkit text selection
Change-Id: Idec1ea19b773f100a88ebdb903a250ab923651d9
2012-01-30 16:10:54 -08:00
Eric Fischer
b61712bde1 Import translations. DO NOT MERGE
Change-Id: I2395f99e947c1b75df55216e9b0246eac63f0d8f
2012-01-30 15:21:00 -08:00
Gilles Debunne
e62beb5c20 Removed SoftInputShownOnFocus methods in TextView
Not used by Phone, for which it was initially created.

Change-Id: I0cad668f894e88cda0a410005aaf6b6c0b89dc3e
2012-01-30 15:10:41 -08:00
Romain Guy
a585e8dbcf Merge "Always initialize AsyncTask on the main thread." 2012-01-30 14:12:37 -08:00
Romain Guy
5e9120d4ad Always initialize AsyncTask on the main thread.
Change-Id: I039e5d6cb7157a0c8873e0d29161daf1cbda5577
2012-01-30 14:11:44 -08:00
Gilles Debunne
a821733059 Merge "Remove onPreDrawListeners earlier in TextView" 2012-01-30 12:58:53 -08:00
Romain Guy
69726597b3 Merge "Add stencil buffer to the EGL config" 2012-01-30 12:05:28 -08:00
Romain Guy
530041d319 Add stencil buffer to the EGL config
Change-Id: If76c0cd6127534d90f9526b75c0f8e56259c6722
2012-01-30 12:04:17 -08:00
Ben Murdoch
b5622b6008 Remove code that quits the webcore watchdog thread.
The WebCore thread lives forever ergo so should the
watchdog.

Bug: 5920210
Change-Id: I2596a4cc4720c4e09265b9a875680bb7891bd919
2012-01-30 20:01:41 +00:00
Jeff Sharkey
5e61331da5 Move away from deprecated NetworkInfo extra.
Because the NetworkInfo included in CONNECTIVITY_ACTION broadcast
extra does not reflect the state applicable to the calling UID, and
the last sticky broadcast may have stale state, transition to calling
ConnectivityManager.getActiveNetworkInfo() directly.

Change-Id: I86b316fbedd0273585ad5f1248b091bc3a3a5520
2012-01-30 11:21:35 -08:00
Chet Haase
c7685d6d6e Merge "Fix bug in LayoutTransition for INVISIBLE views" 2012-01-30 08:28:18 -08:00
Marco Nelissen
f3a3b9ec9c Merge "Handle adding/removing/renaming nomedia paths" 2012-01-30 08:27:57 -08:00