17690 Commits

Author SHA1 Message Date
Jeff Brown
fed9d654e9 am 5cdf0752: Merge "Support non-rectangular input regions." into honeycomb
* commit '5cdf07524132722e0db69db1ca8dcaf3f0073265':
  Support non-rectangular input regions.
2011-01-16 19:24:17 -08:00
Jeff Brown
5cdf075241 Merge "Support non-rectangular input regions." into honeycomb 2011-01-16 19:22:01 -08:00
Jeff Brown
fbf0977321 Support non-rectangular input regions.
This enables the system bar to carve out a region through which
events will be sent to the IME behind it.

Bug: 3238092
Change-Id: I69b855a8d9b5b3ee525266c0861826e53e5b5028
2011-01-16 18:58:49 -08:00
Dianne Hackborn
e27145d83f am 805fd7ee: Add API to get path to OBBs.
* commit '805fd7ee0e5dc2939e85c84f78d9890a51982bc0':
  Add API to get path to OBBs.
2011-01-16 18:47:55 -08:00
Dianne Hackborn
805fd7ee0e Add API to get path to OBBs.
Also hide the bitmap thumbnail stuff, we can't support it in its
current form.

And fix some bugs with propagating paths to native code.  Yikes!

Change-Id: I13ab37ddbdba5c073489cba5eab035117d3c1574
2011-01-16 18:43:04 -08:00
Jamie Gennis
d97ea28b48 am cf18c478: Merge "Implement SurfaceTexture frame-available callback." into honeycomb
* commit 'cf18c4788af740773c9b2720a1c4ed5f45454b8e':
  Implement SurfaceTexture frame-available callback.
2011-01-16 18:17:34 -08:00
Jamie Gennis
cf18c4788a Merge "Implement SurfaceTexture frame-available callback." into honeycomb 2011-01-16 18:15:36 -08:00
Adam Cohen
dc0b8323d4 am 50204584: Fixing StackView bug (Issue: 3321912)
* commit '502045849f760f018f662d752020aef32d4cecd9':
  Fixing StackView bug (Issue: 3321912)
2011-01-16 17:41:38 -08:00
Adam Cohen
502045849f Fixing StackView bug (Issue: 3321912)
Change-Id: I3a0e898e53a44146f1970479573880609f545799
2011-01-16 17:38:03 -08:00
Patrick Dubroy
c01475318e am e7218240: Merge "Add a method for clearing all animations on a thread." into honeycomb
* commit 'e7218240ab1e52de0f7d16c72b0a5b87679427a1':
  Add a method for clearing all animations on a thread.
2011-01-16 17:31:35 -08:00
Adam Powell
4b8bb8b01a am 70359ce2: Merge "Fix bug 3050138 - Action bar does not display correctly when many action items are added" into honeycomb
* commit '70359ce27d39222ef023078e5a461aee28bb7be1':
  Fix bug 3050138 - Action bar does not display correctly when many action items are added
2011-01-16 17:31:32 -08:00
Jamie Gennis
376590d668 Implement SurfaceTexture frame-available callback.
This change implements the onFrameAvailable callback for the
SurfaceTexture java class.  It includes the C++ SurfaceTexture code as
well as the JNI and Java code to enable the callback.

Change-Id: Ifd8b8e7ad46ee70cba6da1c2e96dab8045d1ea30
2011-01-16 17:28:39 -08:00
Patrick Dubroy
e7218240ab Merge "Add a method for clearing all animations on a thread." into honeycomb 2011-01-16 17:28:11 -08:00
Adam Powell
70359ce27d Merge "Fix bug 3050138 - Action bar does not display correctly when many action items are added" into honeycomb 2011-01-16 17:28:05 -08:00
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
760534a68a am 67e8915c: Merge "Fixing StackView bugs:" into honeycomb
* commit '67e8915c94b4e841c80ce034c212d4f0cf9a5098':
  Fixing StackView bugs:
2011-01-16 17:10:22 -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
Kenny Root
d259468fe9 am fc28f412: Merge "Put externalSize measurements in PackageStats" into honeycomb
* commit 'fc28f412b54d811c61d4997ea94c79875f9ad015':
  Put externalSize measurements in PackageStats
2011-01-16 16:59:24 -08:00
Kenny Root
fc28f412b5 Merge "Put externalSize measurements in PackageStats" into honeycomb 2011-01-16 16:56:44 -08:00
Jim Miller
3530ebe451 resolved conflicts for merge of 578e73da to honeycomb-plus-aosp
Change-Id: I334ae5382220a84881521885b6e3c3991fd8bbb0
2011-01-16 16:55:28 -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
Jim Miller
578e73dac8 am 6687ecb4: Merge "Fix 3106227: use WeakReferences for receivers in DigitalClock class" into gingerbread
* commit '6687ecb447025a1c56253d0fd67ad30af070db17':
  Fix 3106227: use WeakReferences for receivers in DigitalClock class
2011-01-16 16:16:57 -08:00
Jim Miller
6687ecb447 Merge "Fix 3106227: use WeakReferences for receivers in DigitalClock class" into gingerbread 2011-01-16 16:14:52 -08:00
Jim Miller
04745768f7 am 717143ca: Fix 3339260: Remove emergency button from AccountUnlock screen
* commit '717143ca79ccccc8565117dfebcf9c6558d34e5b':
  Fix 3339260: Remove emergency button from AccountUnlock screen
2011-01-16 15:23:16 -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
aa00dd650c am 94677083: Merge "Fix 9patch rendering in ExpandableListView." into honeycomb
* commit '94677083ab4c56ffef4a8a68d011d19333ab46c2':
  Fix 9patch rendering in ExpandableListView.
2011-01-16 15:17:10 -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
Patrick Dubroy
8a0efde52a am 6e72ff90: Merge "Fix latent bug with reinitializing an ObjectAnimator." into honeycomb
* commit '6e72ff9082f82885d738f637d40bfe43d267107a':
  Fix latent bug with reinitializing an ObjectAnimator.
2011-01-16 14:58:12 -08:00
Patrick Dubroy
6e72ff9082 Merge "Fix latent bug with reinitializing an ObjectAnimator." into honeycomb 2011-01-16 14:56:36 -08:00
Joe Onorato
bda28700e3 am c45389fd: Merge "fix the build... sorry... bad docs..." into honeycomb
* commit 'c45389fd3791badf097666f10a74ae736b06d438':
  fix the build... sorry... bad docs...
2011-01-16 14:47:46 -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
Patrick Dubroy
6943e5e8ae am 149da0d4: Merge "Fix animation bugs caused by weak reference" into honeycomb
* commit '149da0d4087d07bcf70c5b53a76c66f2a70886fc':
  Fix animation bugs caused by weak reference
2011-01-16 14:34:10 -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
8a3a5320e6 am bdacefba: Merge "Change FLAG_FORWARD_LOCK back to its original value to not break things." into honeycomb
* commit 'bdacefba95dcd2680b17120d1721167f5c7990c3':
  Change FLAG_FORWARD_LOCK back to its original value to not break things.
2011-01-16 14:27:03 -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
Joe Onorato
4e0a956c5a am 1ddf75a3: Merge "Change the default of how AsyncTask enqueues." into honeycomb
* commit '1ddf75a3df38c3e9b56ed626da52662dd0694279':
  Change the default of how AsyncTask enqueues.
2011-01-16 13:55:39 -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
761ae69b7c am 3c372789: Merge "Don\'t dispatchDetachedFromWindow() if the View was not attached." into honeycomb
* commit '3c372789ea0b7836c6a9fe4852fac0de3f29fbbf':
  Don't dispatchDetachedFromWindow() if the View was not attached.
2011-01-16 13:30:43 -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
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
Dianne Hackborn
64e3064305 am c237bb27: Merge "Add manifest API to request a large heap." into honeycomb
* commit 'c237bb2776facbfd3325ef23865fd7f6ced67f17':
  Add manifest API to request a large heap.
2011-01-16 12:47:57 -08:00