39716 Commits

Author SHA1 Message Date
Adam Powell
36fced9b21 Fix bug 3050138 - Action bar does not display correctly when many
action items are added

Rules for action bar overflow:

Items are considered for inclusion in the order specified within the
menu. There is a limit of a total count, optionally including the
overflow menu button itself. This is a soft limit; if an item shares a
group ID with an item previously included as an action item, the new
item will stay with its group and become an action item itself even if
it breaks the max item count limit. This is done to limit the
conceptual complexity of the items presented within an action
bar. Only a few unrelated concepts should be presented to the user in
this space, and groups are treated as a single concept.

There is also a hard limit of consumed measurable space. This limit
may be broken by a single item that exceeds the remaining space, but
no further items may be added. If an item that is part of a group
cannot fit within the remaining measured width, the entire group will
be demoted to overflow. This is done to ensure room for navigation and
other affordances in the action bar as well as reduce general UI
clutter.

The space freed by demoting a full group cannot be consumed by future
menu items. Once items begin to overflow, all future items become
overflow items as well. This is to avoid inadvertent reordering that
may break the app's intended design.

Change-Id: I878f6b15619059258c91c01f4fe838feac161d6d
2011-01-16 17:20:23 -08:00
Amith Yamasani
e494662c99 Add back legacy layout for preference framework for compatibility.
Bug: 3184831

Copied holo layouts to *_holo.xml and restored the old layouts for
non-holo (pre-honeycomb) apps to use so that their layout assumptions
aren't messed up.

Change-Id: If4dcef16191a47a4b101da6bfb0c2df1757d1ae4
2011-01-16 17:19:08 -08:00
Patrick Dubroy
8901ffab29 Add a method for clearing all animations on a thread. 2011-01-16 17:15:28 -08:00
Adam Cohen
67e8915c94 Merge "Fixing StackView bugs:" into honeycomb 2011-01-16 17:08:40 -08:00
Adam Cohen
c99ff7390d Fixing StackView bugs:
-> Single item in loop mode (Issue: 3290092)
-> ITEMS_SLIDE_UP compatibility (Issue: 3134989)

Change-Id: I7fb662c388bfa57c7837a8a5225d33d839aed404
2011-01-16 17:07:55 -08:00
Joe Onorato
08a555bac4 Merge "Remove a bunch of logging." into honeycomb 2011-01-16 17:01:14 -08:00
Joe Onorato
f68b500bb0 Remove a bunch of logging.
Change-Id: I81a9a5d94b1652133d7b1700da55f982038f6b56
2011-01-16 17:00:34 -08:00
Kenny Root
fc28f412b5 Merge "Put externalSize measurements in PackageStats" into honeycomb 2011-01-16 16:56:44 -08:00
Santosh Madhava
9bcedf7cf3 Video editor API update - rework for Patch Set 3
Change-Id: I75bfa17fe98bec13f672ff9a4edf623bb85020c8
2011-01-16 16:56:12 -08:00
Dharmaray Kundargi
3b3cddccc1 integrate videoeditor preview player.
Change-Id: I83084f494605c8e6f4d198afa8c36f9e29579667
2011-01-16 16:43:20 -08:00
Jamie Gennis
0fb736c093 Fix SurfaceTexture transform matrix.
Change-Id: I31520c547cafa5cc85cd0f73883ab3a9ff4648e2
2011-01-16 16:35:01 -08:00
Kenny Root
366949c2d9 Put externalSize measurements in PackageStats
When measuring a package's usage, put the external size in the
PackageStats as well. This will allow programs using a lot of space on
the external card to be held accountable.

Bug: 3308791
Change-Id: If2df07bdbf6ffb31577074fad8f4a87ca4e89086
2011-01-16 16:21:15 -08:00
Jason Sams
b97b251c26 Add error checks to the copyFrom functions.
Change-Id: Iac064c52eb58b05a94fa1c432304c6216256555b
2011-01-16 16:11:42 -08:00
Jason Sams
300406abd4 Add some error checking.
Change-Id: I007b1429a64b39ffd5cdef200c295d5a31f95048
2011-01-16 16:11:42 -08:00
David 'Digit' Turner
e2a5e86c9f SystemServer: Do not register null BlueTooth service in the emulator
Because registering a null service generates an exception. See bug 3356000

Change-Id: Id7b4af815942e498d750c1b7a412d5ee26b61ad4
2011-01-17 01:10:21 +01:00
Jason Sams
981df1d993 Merge "unhide functions used by reflected files for SDK." into honeycomb 2011-01-16 16:08:41 -08:00
Jim Miller
1f6e37efec Merge "Fix 3355957: Don't hide the keyboard for PIN/Password" into honeycomb 2011-01-16 16:06:51 -08:00
Irfan Sheriff
6374d7e2e0 Merge "Report WPS overlap error" into honeycomb 2011-01-16 15:52:05 -08:00
Jim Miller
b47bed9c48 Fix 3355957: Don't hide the keyboard for PIN/Password
BT or USB keyboards currently cause the on-screen keyboard to
be hidden.  This will probably need to be refactored in the
future but the change is too complicated for the current
release.

Change-Id: Ieb655b85622f7c174ed4a5d1c3766d130a9d32f1
2011-01-16 15:48:54 -08:00
Shih-wei Liao
077fd5f6f5 Merge "Fix bug in on-device linking." into honeycomb 2011-01-16 15:41:25 -08:00
Shih-wei Liao
0e7be13973 Fix bug in on-device linking.
Change-Id: Ic027d4cbf240a45da95a024067215a572c3bd7a9
2011-01-16 15:38:13 -08:00
Jim Miller
717143ca79 Fix 3339260: Remove emergency button from AccountUnlock screen
Also minor fix to "sign in" button (bug 3347233).

Change-Id: I3710088b7ec554a7fc4214b088eb4cc5ce949de0
2011-01-16 15:20:19 -08:00
Romain Guy
fb13abd800 Fix 9patch rendering in ExpandableListView.
Change-Id: I60843d61a40b0cb7dd09923cb4489a5a76f20486
2011-01-16 15:16:38 -08:00
Romain Guy
94677083ab Merge "Fix 9patch rendering in ExpandableListView." into honeycomb 2011-01-16 15:14:39 -08:00
Jason Sams
21b4103e42 unhide functions used by reflected files for SDK.
Change-Id: I7cfbfa94cb21207cc5c91e08a60a7184da3f583a
2011-01-16 15:05:52 -08:00
Patrick Dubroy
6e72ff9082 Merge "Fix latent bug with reinitializing an ObjectAnimator." into honeycomb 2011-01-16 14:56:36 -08:00
Jason Sams
d73989538e Merge "Implement sub updates for mipmap levels and cubmaps." into honeycomb 2011-01-16 14:47:34 -08:00
Joe Onorato
c45389fd37 Merge "fix the build... sorry... bad docs..." into honeycomb 2011-01-16 14:45:48 -08:00
Patrick Dubroy
7beecfaf3b Fix latent bug with reinitializing an ObjectAnimator. 2011-01-16 14:42:53 -08:00
Jeff Brown
85562dde32 Merge "Fix keyboard hidden states." into honeycomb 2011-01-16 14:39:02 -08:00
Patrick Dubroy
149da0d408 Merge "Fix animation bugs caused by weak reference" into honeycomb 2011-01-16 14:32:26 -08:00
Joe Onorato
9bb85ab3af fix the build... sorry... bad docs...
Change-Id: I4b543f306d58ec95693c8e3515dffcb7dd55dc29
2011-01-16 14:30:55 -08:00
Dianne Hackborn
bdacefba95 Merge "Change FLAG_FORWARD_LOCK back to its original value to not break things." into honeycomb 2011-01-16 14:25:14 -08:00
Patrick Dubroy
51ae5fc2d2 Fix animation bugs caused by weak reference
Change-Id: I4c7bd9d4843c355efd9c89059462f19600c3be45
2011-01-16 14:23:15 -08:00
Jeff Brown
d04a88cb8e Fix keyboard hidden states.
Bug: 3355957
Change-Id: I7ff8f83421ebd89bacd3ba472e23eeba99732cb1
2011-01-16 14:05:47 -08:00
Joe Onorato
9b120ead0b Merge "Make the notification settings view less janky." into honeycomb 2011-01-16 13:52:48 -08:00
Joe Onorato
1ddf75a3df Merge "Change the default of how AsyncTask enqueues." into honeycomb 2011-01-16 13:52:41 -08:00
Dianne Hackborn
75e616e820 Change FLAG_FORWARD_LOCK back to its original value to not break things.
Change-Id: Ib9a38521cc5031a81bae5a830aaf458b8a5ee7a5
2011-01-16 13:31:24 -08:00
Romain Guy
3c372789ea Merge "Don't dispatchDetachedFromWindow() if the View was not attached." into honeycomb 2011-01-16 13:28:38 -08:00
Irfan Sheriff
fcb659b667 Report WPS overlap error
Add certification requirement to report an overlapping
WPS session failure to user

Bug: 3354319
Change-Id: I8c51bc20c2ec8e8d92a86ed2dfe2a3ede9c56885
2011-01-16 13:13:15 -08:00
Joe Onorato
c07d7c139b Make the notification settings view less janky.
Bug: 3124822
Change-Id: I8fb9d169ae047d9b6738bb66e60a193a7a749efb
2011-01-16 13:10:11 -08:00
Joe Onorato
81de61bfdd Change the default of how AsyncTask enqueues.
The default is now to serialize everything onto the thread pool.  If you would
like to have finer grained control over how AsyncTasks are executed, you can
call the new executeOnExecutor method, which takes a custom Executor.  The
pool used by the default is handily now accessible as THREAD_POOL_EXECUTOR.

This change is because it is too tempting to convert single threaded Janky™
code to use AsyncTask in a way that is unsafe and ends up calling the
AsyncTasks in parallel.

Also, this adds a static execute(Runnable) method to AsyncTask that posts
onto the serialized queue, so that if you don't have any parameters or
return values, you can just use Runnable instead of AsyncTask.

Change-Id: I91bdfb00193542bfc2e101bcad56e3430421884a
2011-01-16 13:09:52 -08:00
Romain Guy
90fc03bc49 Don't dispatchDetachedFromWindow() if the View was not attached.
Change-Id: I36cb697be76c8c03497284563dc339c5367559c6
2011-01-16 13:07:15 -08:00
Irfan Sheriff
b2c1a5c388 Merge "Fix WPS to provides immediate feedback" into honeycomb 2011-01-16 13:02:57 -08:00
Romain Guy
f219da5e32 Don't blend transparent pixels when rendering layers.
With this change, the rendere keeps track of what regions are rendered into
and generates a mesh that matches these regions exactly. The mesh is used
to composite the layer on screen.

Change-Id: I1f342576b9134fb29caff7fb8f4c1da179fe956d
2011-01-16 12:54:25 -08:00
Romain Guy
749b9dbaf9 Merge "Don't blend transparent pixels when rendering layers." into honeycomb 2011-01-16 12:52:37 -08:00
Dianne Hackborn
c237bb2776 Merge "Add manifest API to request a large heap." into honeycomb 2011-01-16 12:45:07 -08:00
Dianne Hackborn
3b81bc18bb Add manifest API to request a large heap.
You can now do android:largeHeap="true" on an application.

Doesn't yet do anything, waiting for Dalvik API.

Also tweak package parsing so that the SDK API level is set in the
configuration, allowing manifest resource value selection based on
that.

Change-Id: I6e035f9702a97b055416743b88f83a22ba4a9584
2011-01-16 12:08:38 -08:00
Chet Haase
598913a6ba Merge "Remove obsolete DoubleEvaluator" into honeycomb 2011-01-16 12:05:40 -08:00
Chet Haase
b2ab04ffb6 Remove obsolete DoubleEvaluator
Change-Id: I4407468599061ff35c68589988fb1e897de28c69
2011-01-16 11:34:14 -08:00