Commit Graph

14157 Commits

Author SHA1 Message Date
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
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
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
15401dc2c2 am 598913a6: Merge "Remove obsolete DoubleEvaluator" into honeycomb
* commit '598913a6ba733da911a547e29fb21c6fea3aef3d':
  Remove obsolete DoubleEvaluator
2011-01-16 12:07:19 -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
Amith Yamasani
fac8e262a1 am fe75749c: Merge "Fix position and size of searchfield and buttons." into honeycomb
* commit 'fe75749cd9ad2186069037db0238b8596007c4d4':
  Fix position and size of searchfield and buttons.
2011-01-16 11:23:02 -08:00
Amith Yamasani
fe75749cd9 Merge "Fix position and size of searchfield and buttons." into honeycomb 2011-01-16 11:20:49 -08:00
Adam Powell
ebef3b8ca5 am 115ad165: Merge "Fix bug 3355197 - Add attribute for fast scroll preview panel text color." into honeycomb
* commit '115ad16551c9cf9551f44cbea59f3edf83e4a340':
  Fix bug 3355197 - Add attribute for fast scroll preview panel text color.
2011-01-15 17:25:49 -08:00
Adam Powell
b2e551711a Fix bug 3355197 - Add attribute for fast scroll preview panel text color.
Text color for the fast scroll panel is dependent on its background,
which is already configurable within the theme.

Change-Id: I6ac3018116f078b7567888d75fa34ffd250d2f92
2011-01-15 17:21:35 -08:00
Nick Pelly
18f52d533d am f780350e: am b73203ab: Merge "Make sure service handles are live before passing to other objects." into gingerbread
* commit 'f780350edb403739fee1a99b0ca91541f5ec0b91':
  Make sure service handles are live before passing to other objects.
2011-01-14 21:30:20 -08:00
Jeff Brown
c299302e98 am 7a1c32e7: Merge "Add support for detecting finger orientation." into honeycomb
* commit '7a1c32e719725787acda4885ad7bd8031975e8c7':
  Add support for detecting finger orientation.
2011-01-14 19:20:07 -08:00
Jeff Brown
7a1c32e719 Merge "Add support for detecting finger orientation." into honeycomb 2011-01-14 19:18:16 -08:00
Jeff Brown
517bb4c859 Add support for detecting finger orientation.
Change-Id: I901fc61f7705fcd7950190dc8782bad616032ee2
2011-01-14 19:12:48 -08:00
Nick Pelly
f780350edb am b73203ab: Merge "Make sure service handles are live before passing to other objects." into gingerbread
* commit 'b73203ab7e308b747819de2b2400afe971ef3bff':
  Make sure service handles are live before passing to other objects.
2011-01-14 18:38:46 -08:00
Nick Pelly
b73203ab7e Merge "Make sure service handles are live before passing to other objects." into gingerbread 2011-01-14 18:18:25 -08:00
Jeff Brown
9f1ae205b4 am 06bc9721: Merge "Disable soft keyboard when keyboard attached." into honeycomb
* commit '06bc9721d8f5db053b51e1c536e746833ad46036':
  Disable soft keyboard when keyboard attached.
2011-01-14 17:50:12 -08:00
Jeff Brown
06bc9721d8 Merge "Disable soft keyboard when keyboard attached." into honeycomb 2011-01-14 17:48:09 -08:00
Jeff Brown
4aed78b505 Disable soft keyboard when keyboard attached.
Also hide menu shortcuts everywhere until we can get around to
redesigning the menu UI to be more consistent.

Bug: 3306545
Bug: 3330748
Change-Id: I4d4e19525cdfc93d9aae0dcaa1e6266fb552c5bc
2011-01-14 17:36:55 -08:00
Romain Guy
8dd5b1e531 Prevent NPE when a View is detached without having been attached.
Bug #3355252

Change-Id: I58e03983ccf6a27a24619ec0f49659d6d7cc0a64
2011-01-14 17:28:51 -08:00
Romain Guy
2be00ccbe7 am 8dd5b1e5: Prevent NPE when a View is detached without having been attached. Bug #3355252
* commit '8dd5b1e53184ed3b786dd329e12d665ae59ca3f4':
  Prevent NPE when a View is detached without having been attached. Bug #3355252
2011-01-14 17:28:28 -08:00
Adam Cohen
288d9fe943 am 69d66e00: Fixing StackView rotation bugs
* commit '69d66e00136f67332c992326a7b2eb334eeb32a2':
  Fixing StackView rotation bugs
2011-01-14 17:05:14 -08:00
Adam Cohen
69d66e0013 Fixing StackView rotation bugs
Change-Id: Iaf9482734ca73238f82d180700389593df9c7eac
2011-01-14 16:54:41 -08:00
Jaikumar Ganesh
ef6abd8a3e am a788a943: Merge "Do Not Merge: Expose insecure rfcomm Bluetooth API." into gingerbread
* commit 'a788a9430956dabbc1387e5cccc15f9f41639c95':
  Do Not Merge: Expose insecure rfcomm Bluetooth API.
2011-01-14 16:15:29 -08:00
Jaikumar Ganesh
a788a94309 Merge "Do Not Merge: Expose insecure rfcomm Bluetooth API." into gingerbread 2011-01-14 16:11:41 -08:00
Dianne Hackborn
dd4a1e3825 am 7d234fab: Merge "Don\'t drop the drawable cache completely on configuration change"
* commit '7d234fabe61cd5f034fe4ff4484209fbf5130c4d':
  Don't drop the drawable cache completely on configuration change
2011-01-14 16:11:40 -08:00
Dianne Hackborn
a347733000 am 88471b25: Merge "DO NOT MERGE Added check to make orientation calculations more robust" into honeycomb
* commit '88471b25632818a8bc79193e20bd04a8be39f660':
  DO NOT MERGE Added check to make orientation calculations more robust
2011-01-14 16:03:30 -08:00
Dianne Hackborn
88471b2563 Merge "DO NOT MERGE Added check to make orientation calculations more robust" into honeycomb 2011-01-14 16:02:07 -08:00
Niclas Kellgren
fcbbb31f27 DO NOT MERGE Added check to make orientation calculations more robust
Added check avoid a division by zero resulting in NaN which in turn
makes checkFullyTilted to ignore high tilt angles from then on.
If (x, y, z) == (0, 0, 0) then there is no tilt or rotation and
this vector must be ignored. This check is extended to ignore all
small acceleration values where noise can be of big influence.

Low or zero readings can happen when space travelling free falling,
but more commonly when shaking or getting bad readings from the sensor.
The accelerometer is turned off when not used and polling it too soon
after it is turned on may result in (0, 0, 0).

Change-Id: I7b61b77c8a9d4e137bf6352b84f0c358d93c82ae
2011-01-14 16:01:20 -08:00
Amith Yamasani
9b2e302ab8 Fix position and size of searchfield and buttons.
So that they don't jump around.
Fine tune the padding.

Bug: 3336764
Change-Id: Idb96b2a337cd5e5dbd4a5287ab3b9190b4719b84
2011-01-14 15:56:18 -08:00
Scott Main
2ef7081bc7 am 6f92dbc4: Merge "fix sdk build breakage; remove invalid @note tag" into honeycomb
* commit '6f92dbc49f8ed797bc56e5b84bb897736322ab2d':
  fix sdk build breakage; remove invalid @note tag
2011-01-14 15:45:11 -08:00
Adam Powell
7bd540ac8e am 8e4d3ba6: Merge "Fix bug 3339039 - Preserve proper behavior for action button text when updated." into honeycomb
* commit '8e4d3ba67824d87d832d90e1d0555456b3e76aca':
  Fix bug 3339039 - Preserve proper behavior for action button text when updated.
2011-01-14 15:43:03 -08:00
Scott Main
6f92dbc49f Merge "fix sdk build breakage; remove invalid @note tag" into honeycomb 2011-01-14 15:42:35 -08:00
Dianne Hackborn
909d447d8a am 0b08c5cb: Merge "Don\'t drop the drawable cache completely on configuration change" into honeycomb
* commit '0b08c5cb14e848f41eb33093c3e8198ab416e0ab':
  Don't drop the drawable cache completely on configuration change
2011-01-14 15:41:00 -08:00
Adam Powell
8e4d3ba678 Merge "Fix bug 3339039 - Preserve proper behavior for action button text when updated." into honeycomb 2011-01-14 15:40:07 -08:00
Dianne Hackborn
544ff558a8 am 29c99aaa: Merge "Added check to make orientation calculations more robust" into gingerbread
* commit '29c99aaaaed00c605fb6cd64de169fafad0e40ed':
  Added check to make orientation calculations more robust
2011-01-14 15:39:41 -08:00
Scott Main
2b90a9a714 fix sdk build breakage; remove invalid @note tag
Change-Id: Iaaf5a38388ceccdd0d1f3766523788f54f1dc8d2
2011-01-14 15:39:10 -08:00
Dianne Hackborn
7d234fabe6 Merge "Don't drop the drawable cache completely on configuration change" 2011-01-14 15:37:56 -08:00