28965 Commits

Author SHA1 Message Date
John Reck
1467868004 Merge "Include MotionEvent on ACTION_MOVE's TouchEventData" 2012-03-20 09:57:49 -07:00
David Hu
60c116e2a6 Merge "BandwidthTestCase" 2012-03-19 20:19:34 -07:00
Svetoslav Ganov
52c1055462 Merge "Revert "Revamp of the NumberPicker widget."" 2012-03-19 20:03:45 -07:00
Svetoslav Ganov
efd1c67779 Revert "Revamp of the NumberPicker widget."
This reverts commit 912ab8506ae6409ee7fa0323b217fefaf0bd9771
2012-03-19 20:03:29 -07:00
Jeff Sharkey
09f5aededa Merge "Selective enforcement of READ_EXTERNAL_STORAGE." 2012-03-19 19:24:04 -07:00
Dianne Hackborn
975e04c244 Merge "Fix build, forgot to add file." 2012-03-19 19:09:02 -07:00
Dianne Hackborn
6de01a9b03 Fix build, forgot to add file.
Change-Id: Ia4b632170471649d1e1eceaad8fec41729008659
2012-03-19 19:07:40 -07:00
Jeff Sharkey
edc84ee839 Selective enforcement of READ_EXTERNAL_STORAGE.
Store enforcement state of specific permissions, allowing them to be
selectively enforced. Currently supports READ_EXTERNAL_STORAGE, which
by default isn't enforced, but enforcement can be enabled at runtime.

Bug: 6131916
Change-Id: I4bcc215a2eb5e6507d6257b577311cbd13c77acf
2012-03-19 19:01:45 -07:00
Svetoslav Ganov
ca07bc1d35 Merge "Revamp of the NumberPicker widget." 2012-03-19 18:56:51 -07:00
Romain Guy
0084322750 Merge "Pre-scale bitmaps on the native heap" 2012-03-19 18:52:09 -07:00
Romain Guy
7b2f8b8fb7 Pre-scale bitmaps on the native heap
Change-Id: I9819b532b89a997ab775b31ffee46445f1d16e20
2012-03-19 18:47:06 -07:00
David Hu
ca4aab9cd7 BandwidthTestCase
A test case that measures bandwidth metrics when annotated with
android.test.BandwidthTest and adds the metrics to the status bundle

Change-Id: I085110c66c7fcf651aefeeac3d4cdf5bd438ff67
2012-03-19 18:33:58 -07:00
Dianne Hackborn
f1bdf65308 Merge "Start using the new activity options argument." 2012-03-19 18:21:12 -07:00
Adam Powell
ac0f18dcc7 Merge "Fix a bug where MenuItems would not return consistent results for item icons initialized from a drawable resource id." 2012-03-19 18:08:04 -07:00
Dianne Hackborn
7a2195cdd3 Start using the new activity options argument.
New class lets you make an options bundle defining a custom animation,
as an alternative to Activity.overridePendingTransition().

Change-Id: I8e209bf52398a98ab9f1bcafa1ec0a580dae57c0
2012-03-19 17:41:10 -07:00
Kenny Root
ab750c5e29 Merge "Add VPN UID to list in Process" 2012-03-19 17:26:23 -07:00
Jim Miller
5d189e12d7 Merge "Fix 6021938: Improved target support in lock screen" 2012-03-19 17:18:34 -07:00
Amith Yamasani
219be44a4f Merge "Bind to the correct instance of the authenticator service." 2012-03-19 17:01:23 -07:00
Glenn Kasten
4d3f82e8d9 Merge "Add libmedia_native" 2012-03-19 16:21:04 -07:00
Amith Yamasani
34daa75260 Bind to the correct instance of the authenticator service.
Otherwise you will see authentication failures on secondary users' accounts.

Change-Id: Ia3f8427f68df6048cdca65710bf673ac12a2cddb
2012-03-19 16:14:23 -07:00
Adam Powell
c4852a3718 Fix a bug where MenuItems would not return consistent results for
item icons initialized from a drawable resource id.

Change-Id: Ieb5245b8fe0e11b2eb788143859da1c0b3657b9f
2012-03-19 15:35:46 -07:00
Kenny Root
26993b37d5 Add VPN UID to list in Process
The VPN user ID is defined in android_filesystem_config.h as 1016. Add
it to android.os.Process so it can be referred to in Java code.

Change-Id: If3da3765747afda4e5e0761e289c45eebc7cddd5
2012-03-19 15:07:53 -07:00
Teng-Hui Zhu
d49ea7f11e Merge "Don't allow enter full screen while still in full screen mode." 2012-03-19 15:04:35 -07:00
Jim Miller
b030476d19 Fix 6021938: Improved target support in lock screen
This adds the ability to enable or disable target icons based on the drawable
resource of the target.

It also fixes a bug where we'd show the camera while displaying
the PIN/PUK unlock screen or when it's disabled by DevicePolicyAdmin.

Minor simplification and cleanup KeyguardUpdateMonitor callbacks.

Change-Id: I33fad56a2203bc8b7bcd0300c20478711a56713a
2012-03-19 14:18:13 -07:00
Teng-Hui Zhu
2b64c5a6f7 Don't allow enter full screen while still in full screen mode.
bug:5504581
Change-Id: Ib4922ce2cdb89b24120f87177658ce94c483f118
2012-03-19 14:16:03 -07:00
Eric Fischer
fae7ab3a24 Merge "Import translations. DO NOT MERGE" 2012-03-19 13:55:39 -07:00
Eric Fischer
def849723e Import translations. DO NOT MERGE
Change-Id: I6f82687669c41ae6a681b306d53e1b95ec8f95c6
2012-03-19 13:52:26 -07:00
Chet Haase
584eda7c99 Merge "Enable DisplayList properties" 2012-03-19 13:50:32 -07:00
Chet Haase
bdd896c264 Enable DisplayList properties
This CL simply enables DisplayList property functionality. The code for
this feature is already there, but it's been disabled by default pending further
testing and analysis. This change sets these build-type flags to true
so that all hw-accelerated apps will now use DisplayList properties by default.

In particular, this feature enables a fast-path for changes that affect the
handful of View properties involved in animations (alpha, translationX, etc.).
Setting these properties now gets propagated to the native DisplayList associated
with the View, avoiding costly recreation of the SDK-level DisplayList and
also enabling faster invalidation of the view hierarchy.

Change-Id: Ic99c8f28fa9183f2e54e9e4860b333eb9c540f7c
2012-03-19 13:40:49 -07:00
Jeff Sharkey
a2dea4fce6 Merge "Better exceptions around provider permissions." 2012-03-19 13:39:20 -07:00
Svetoslav Ganov
912ab8506a Revamp of the NumberPicker widget.
1. The number picker no longer shows up and down arrows, it
   has only three touch targets which are the currently selected number
   in the middle with a lesser one above and greater below, now what
   you touch is what you get, flingability and long press are still
   supported.

2. Removed the restriction for a View with an AccessibilityNodeProvider
   to not have any concrete children. If the View has a provider, then
   this provider is responsible for creating the AccessibilityNodeInfos
   for all its descendants, concrete and virtual. The number picker is
   a good example for such a case - it has a concrete input view and
   two virtual buttons as its children. This is a safe change since
   this behavior has not been released.

3. This patch also fixes bug where the number picker is stretched too
   much in the Theme theme.

bug:6177794
bug:5728294

Change-Id: Id8c0b3549174b9599f971d6e3086ca427cfbaa39
2012-03-19 13:02:22 -07:00
Eric Fischer
21cc2c15b1 Merge "Move map center resources out of arrays.xml." 2012-03-19 11:20:31 -07:00
Eric Fischer
e10333fdcc Move map center resources out of arrays.xml.
Having them in the same file means that the translation importer
will in some cases try to override the files that were manually
added for each locale.

Change-Id: Ie34106d08aacdbddb0c1005fb511f2018db93800
2012-03-19 11:14:20 -07:00
Marc Blank
b106153ba9 Merge "Use renameTo safely when creating the user 0 account database" 2012-03-18 21:37:52 -07:00
Marc Blank
c6b0f99bb3 Use renameTo safely when creating the user 0 account database
* Because the user directory probably won't exist, the renameTo
  in previous code fails silently

Bug: 6188815
Change-Id: I6afd1bad9bbd1a36de7e93d9e02ed7172b1ed370
2012-03-18 19:18:49 -07:00
John Reck
3869fa2294 Include MotionEvent on ACTION_MOVE's TouchEventData
Change-Id: Iaf2aa284d0e794d0d9fa430b7c0da2aedd196ce1
2012-03-16 19:20:00 -07:00
Dianne Hackborn
dea50f05e4 Merge "More work on rotation animation." 2012-03-16 18:29:16 -07:00
Jeff Sharkey
06ba42d5fb Merge "Move StrictMode timers to postAtFrontOfQueue()." 2012-03-16 18:26:48 -07:00
Dianne Hackborn
d6b32b6178 More work on rotation animation.
Change-Id: Ib8206db98b68cb1e0b16e4c55d949e80ff31bd9f
2012-03-16 18:20:07 -07:00
Chet Haase
d3c326e653 Merge "Reduce redundant animation processing" 2012-03-16 18:03:21 -07:00
Chet Haase
c6ffab3241 Reduce redundant animation processing
Starting several animations will place separate events onto the
animation queue, which may cause the active animations to get
processed more than once in any frame when one of those start messages
is processed.

This change moves the logic of starting pending animations into
the animation frame processing itself. Now when a start event is
processed, it only calls the animation frame logic if there are
unstarted animations pending.

Issue #6172602 Inconsistent animation callbacks

Change-Id: I3a546f0c849f42b2dd998f099fcdfafd7d780ad9
2012-03-16 16:43:06 -07:00
Jeff Sharkey
3761f33387 Move StrictMode timers to postAtFrontOfQueue().
StrictMode posts a message to estimate how long the main thread was
blocked during a violation.  Currently, any pending messages are
counted against the violation.  To avoid this, switch to using
postAtFrontOfQueue().

Bug: 6119289
Change-Id: I94530632ca678b78b75a698cf9193641b102be9a
2012-03-16 15:46:46 -07:00
George Mount
9e4fdfae11 Merge "Move the selection handles vertically to match TextView." 2012-03-16 15:31:50 -07:00
George Mount
f5124e39b8 Move the selection handles vertically to match TextView.
Bug 6185758

Change-Id: I4165f216b5e02cab5b19f10666f28abbb956de03
2012-03-16 15:13:24 -07:00
Victoria Lease
793ce52d7c Merge "proposed public API for asynchronous find-on-page" 2012-03-16 14:56:11 -07:00
Victoria Lease
abeb6a7915 proposed public API for asynchronous find-on-page
Bug: 6052412

Change-Id: I63bff3bfda50eede958cb885f5068ae94bdcfe7d
2012-03-16 14:19:37 -07:00
John Reck
a5408e619a Pipe down isHardwareAccelerated
Change-Id: I19285ea03409279aea09f9e44a1870364762f877
2012-03-16 14:18:44 -07:00
Amith Yamasani
65e4b90d6c am 31f7ef24: am 90e3bcae: Increase line limit for summary text
* commit '31f7ef2436ca7cbe754f33d536593f9640a31fb0':
  Increase line limit for summary text
2012-03-16 14:17:05 -07:00
Amith Yamasani
31f7ef2436 am 90e3bcae: Increase line limit for summary text
* commit '90e3bcae6771df767c3377ca3bd6c08d99062ca3':
  Increase line limit for summary text
2012-03-16 14:13:48 -07:00
Amith Yamasani
90e3bcae67 Increase line limit for summary text
Doing this to accomodate some really long warning text in a
checkbox widget. Needs 5 lines for English. Probably a lot
more for German, etc., so increasing it to 10 lines.

Please don't abuse that. 4 lines is still a reasonable max.

Change-Id: Ife5858f2165cb2bc046ce606f29d31010d26ecc2
2012-03-16 13:13:50 -07:00