73466 Commits

Author SHA1 Message Date
Craig Mautner
22ce1414a0 Fix flickering when starting and ending apps.
Surfaces were displaying animations in their entirety for a single
frame before the animation kicked in. This caused a flash on the
screen. By setting the animation to invisible (alpha=0) at their
start it makes no difference if they are displayed.

Fixed bug 6176540.

Removed redundant mDimAnimator.show call.

Change-Id: I47c1b0d38273b011d9115822a8476671d6a050fc
2012-03-20 10:16:26 -07:00
Katie McCormick
579e7cc02e am 86d5301b: am 45660f46: am 2b056c6e: Merge "Doc update: DDMS Network Traffic tool." into ics-mr1
* commit '86d5301b0d66ccd91632b5a78a1d67e86efcad12':
  Doc update: DDMS Network Traffic tool.
2012-03-20 10:16:20 -07:00
Dianne Hackborn
25d22f4ae9 am 8b28ebd5: am df3228e5: am ce06c000: Merge "Debugging code for #6169553: Make Phone launch faster" into ics-mr1
* commit '8b28ebd5f2dd258191a17da6660c1bdc535dd97e':
2012-03-20 10:16:11 -07:00
Marco Nelissen
dd5bd2981d Merge "Move COM tag parsing to constructor" 2012-03-20 10:08:52 -07:00
John Reck
3a382b58c8 Merge "Pipe down isHardwareAccelerated" 2012-03-20 10:01:55 -07:00
John Reck
1467868004 Merge "Include MotionEvent on ACTION_MOVE's TouchEventData" 2012-03-20 09:57:49 -07:00
Marco Nelissen
7306a388cb Move COM tag parsing to constructor
Change-Id: Icfcf05655ca98ccccad4f94834770c2f4098a764
2012-03-20 09:48:02 -07:00
Marco Nelissen
54fa725483 Merge "Parse mp3 encoder padding/delay" 2012-03-20 09:15:05 -07:00
Marco Nelissen
2ed77701f9 Parse mp3 encoder padding/delay
Get the mp3 encoder padding and delay from a XING frame or iTunSMPB tag.

Change-Id: Icde598c8857d7e7c187a718f478ee9799d6a1b8a
2012-03-20 08:46:11 -07:00
David Hu
b2e822fc2a Remove unused BandwidthTestRunner
Change-Id: I5d77682cf662cc88e3d182501c78bb77805e74d1
2012-03-19 21:03:35 -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
Daniel Sandler
e97a776e9c Make navbar deadzone silent in touch exploration.
Bug: 5827342
Change-Id: Id93ab35f488a6aa48318b0f17dc510c443800aff
2012-03-19 22:56:42 -04:00
Wu-cheng Li
485932f6af Merge "Do not set camera preview display if the surface is null." 2012-03-19 19:25:56 -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
Christopher Tate
9ce685b934 Make immersive mode public & imply update locking
Activity.setImmersive(boolean) / android:immersive="bool" are now public.
In addition, if the foreground activity is immersive then an update lock
will be held on its behalf.  This lets applications such as movie players
suppress the display of intrusive notifications, OTA-availability dialogs,
and the like while they are displaying content that ought not to be
rudely interrupted.

The update lock aspect of this mode is *advisory*, not binding -- the
update mechanism is not actually constrained; it simply uses this information
in deciding whether/when to prompt the user.  It's more a guideline than
a rule.

Bug 6154438

Change-Id: Ibd3491fc437077f3fa0d9708ed91955121e8c877
2012-03-19 18:37:57 -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
Glenn Kasten
f743e1f6ab Whitespace
Fix indentation, and add blank lines in key places for clarity

Change-Id: I57a0a8142394f83203161aa9b8aa9276abf3ed7c
2012-03-19 17:53:33 -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
Glenn Kasten
d10ca466db Add libmedia_native
Change-Id: I3ac357c78fb89f108d15c6e5b9fa317de0e9fb9a
2012-03-19 17:36:25 -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
Glenn Kasten
748601bc62 Merge "Fix priority constants in RecentTasksLoader" 2012-03-19 16:20:14 -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
Jeff Brown
5f3b32c908 Merge "Use qsort_r_compat() as a portable wrapper for qsort_r()." 2012-03-19 14:47:32 -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
Glenn Kasten
76b6c0c1f5 Update comments
Change-Id: I327663a020670d0a72ff57bd0b682e2ce0528650
2012-03-19 14:12:01 -07:00
Jeff Brown
fe75d62eba Use qsort_r_compat() as a portable wrapper for qsort_r().
Change-Id: Ie79f81625947f4e95122047605d994c86e872e74
2012-03-19 14:08:58 -07:00
Eric Fischer
dcf2ef3a6c am 23ebe728: (-s ours) Import translations. DO NOT MERGE
* commit '23ebe7285c5f7586b136eb387aa095500f0d2c11':
  Import translations. DO NOT MERGE
2012-03-19 14:00:00 -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
Eric Fischer
63aa35baf0 Import translations. DO NOT MERGE
Change-Id: I38403c103e6083bfb0e51404752ac7b3f7b9819a
2012-03-19 13:43:31 -07:00
Eric Fischer
23ebe7285c Import translations. DO NOT MERGE
Change-Id: Id9db76785997b8b9e30b96d86e6cb72ae56130fb
2012-03-19 13:41: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