29917 Commits

Author SHA1 Message Date
John Reck
675035d774 Merge "Remove code preventing scrollTo(0,0)" 2012-04-19 14:52:34 -07:00
Chet Haase
ad36d1e1f8 Merge "Always execute actions on the runQueue" 2012-04-19 14:41:22 -07:00
George Mount
cdfc8bc574 Merge "Fix stack overflow during animation of action bar." 2012-04-19 14:41:03 -07:00
George Mount
9caeb14572 Fix stack overflow during animation of action bar.
Bug 6366482
 The animation engine now notifies onAnimationStart() and
 onAnimationEnd() even when it does no action. This CL prevents
 the setVisiblity call from causing an infinite loop of triggering
 animation notifications.

Change-Id: I009217a42debf1a1495da222199ca8f599fa7bcf
2012-04-19 14:38:58 -07:00
Adam Powell
a131f4efee Merge "Adjust action bar tab policies" 2012-04-19 14:36:32 -07:00
Adam Powell
b8139af3dc Adjust action bar tab policies
Action bar tabs now stack in portrait mode on all screen sizes rather
than display embedded. This only affects apps with a targetSdkVersion
of JB or greater, as older apps may not be prepared for the different
measurement of the bar or have an appropriate stacked bar background
drawable.

Stacked action bar tabs now have a width limit. This prevents
super-wide tabs that can span the whole screen. The cluster of tabs
is centered if it does not span the full width.

Add ActionBarPolicy to give a single point to query for various action
bar measurements and behaviors that vary with configuration.

Change-Id: I01162ca009c14f6f0e712fc906b9db6382c738cd
2012-04-19 14:31:16 -07:00
Chet Haase
b78c284bd5 Always execute actions on the runQueue
A View that is not attached will place posted actions on the
ViewRoot's runQueue. Previously, this runQueue was only ever executed
during a layout (during performTraversals()). This works in most situations
(a View that is added to or removed from the hierarchy will force a layout
in general), but not in all cases. For example, a new View being added to
a ListView will not cause a layout, so any actions posted to that View
prior to its being attached will not be run until some indeterminate time
later when a layout happens to run.

The fix is to execute the (typically empty) runQueue on every traversal.

Issue #6366678 View.post() ignored when called on an unattached ListView item

Change-Id: I94e6fdd9da6bb57fd83b547f8d742cd0ddfecbd6
2012-04-19 13:39:50 -07:00
Eric Fischer
5b086eb543 Merge "Import translations. DO NOT MERGE" 2012-04-19 12:44:21 -07:00
Eric Fischer
6cb7e640aa Import translations. DO NOT MERGE
Change-Id: I6fada25138bbeda2cdaf4fd4e4b56bdb134fe33d
2012-04-19 12:42:24 -07:00
Daniel Sandler
8a97b4aea6 Merge "Fix text transformations in Switches." 2012-04-19 11:58:47 -07:00
Daniel Sandler
4c3308de7d Fix text transformations in Switches.
In particular, we now honor android:textAllCaps in the
TextAppearance specified for the switch widget itself.
(Now you no longer need to create a separate capitalized
version of your strings to get them to look like the
platform switches.)

Change-Id: Ia48222a6dddd0d0f9115e554dffb621f4d6a2b94
2012-04-19 14:49:49 -04:00
Jeff Sharkey
1b96594171 Merge "Pipe DHCP vendor info towards framework." 2012-04-19 11:43:49 -07:00
Jeff Brown
b4aed7f5c7 Merge "Ensure that db connection reconfiguration can change the db." 2012-04-19 11:32:35 -07:00
Jeff Brown
76070d1690 Ensure that db connection reconfiguration can change the db.
If the db connection had been marked read-only, then certain
operations performed during reconfiguration, such as setting the
locale, could fail.  So we need to make sure to clear the
read-only flag ahead of time.

Bug: 6296752
Change-Id: I98e19aff6386497b7fc321e04ca560fc1817a781
2012-04-19 11:30:33 -07:00
John Reck
cada1ae717 Merge "Allow removing messages before EventHub created" 2012-04-19 11:09:44 -07:00
George Mount
0bb01cfea6 Merge "Allow long press to work on text." 2012-04-19 11:06:02 -07:00
Chet Haase
0e5bd8da9d Merge "Make ViewPropertyAnimator ListView-animation-capable" 2012-04-19 11:05:28 -07:00
Chet Haase
563d4f2d46 Make ViewPropertyAnimator ListView-animation-capable
ViewPropertyAnimator now sets the hasTransientState flag in View to tell
it when an animation has started (and unsets it when the animation ends).
This allows ListView to retain views with transient state without recycling them,
which makes ListView item animation possible (because you can't animate a View
if it's being recycled and reused elsewhere as it moves into and out of view).

Change-Id: I75c26a7a56474a76428500afef03a80bb46e04e0
2012-04-19 11:01:27 -07:00
John Reck
a60a18965e Remove code preventing scrollTo(0,0)
Bug: 5677901
 Also remove a bunch of unnecessary logic around delaying the
 scroll until the page load has completed, as Browser will keep the
 URL bar visible itself

Change-Id: I4b175f4ff1d741b7027a4c98f676764707f57342
2012-04-19 10:50:55 -07:00
Irfan Sheriff
f40a02f85f Merge "Fix build" 2012-04-19 10:27:58 -07:00
Irfan Sheriff
54ac7a5102 Fix build
Change-Id: I1968e0d7d25f613fa6cf72f82d79f17224e3d5ab
2012-04-19 10:26:34 -07:00
Joe Malin
7b5f22e11c am 787fa9dc: am 20176edc: Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1
* commit '787fa9dc69262dc002c9da77fa86e88e5a4e658f':
  DOC CHANGE: Add javadoc to ClipboardManager
2012-04-19 10:13:29 -07:00
Joe Malin
787fa9dc69 am 20176edc: Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1
* commit '20176edc4ff43f10ab3be03d84bb9f02b7859bdb':
  DOC CHANGE: Add javadoc to ClipboardManager
2012-04-19 10:10:18 -07:00
Joe Malin
20176edc4f Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1 2012-04-19 10:08:06 -07:00
Adam Powell
1bf4d5f24e Merge "Fix crash setting null seekbar thumb" 2012-04-19 10:00:22 -07:00
Adam Powell
0283a5573c Fix crash setting null seekbar thumb
External bug http://code.google.com/p/android/issues/detail?id=15693

Change-Id: I2f869b4ebd1f0857564c69999abb49285beefd14
2012-04-19 09:58:22 -07:00
Irfan Sheriff
75e91f7716 Merge "Add network service discovery broadcast" 2012-04-19 09:57:24 -07:00
George Mount
e3e26c41c3 Allow long press to work on text.
Bug 6351196

Change-Id: I7604ebe70ab58d17b916f92e364343776b66aa3c
2012-04-19 09:57:23 -07:00
Irfan Sheriff
66e69db6d9 Merge "Add user control to turn on/off nsd" 2012-04-19 09:57:02 -07:00
Irfan Sheriff
6c07ba8183 Add network service discovery broadcast
Allows apps to know if user has the feature turned off

Change-Id: I2d2fecb148eb4e48eb4aea51d1d7643a82df5c52
2012-04-19 09:54:40 -07:00
Wink Saville
d38e766e5e Merge "Fix calcuation of CMD_TO_STRING_COUNT." 2012-04-19 09:53:52 -07:00
Irfan Sheriff
3ef889bf56 Add user control to turn on/off nsd
Change-Id: Ide3cc20adb21ac6dffaf6b9b9136d77a129afa3b
2012-04-19 09:52:09 -07:00
Chet Haase
f37d87b35b Merge "Fix init of Animation in View drawing code" 2012-04-19 09:36:49 -07:00
John Reck
9687433dc6 Merge "Cleanup PositionMetadata recycles" 2012-04-19 09:28:16 -07:00
Chet Haase
1fb8a9e44a Fix init of Animation in View drawing code
The refactor of ViewGroup.drawChild() resulted in an error
in a new method (View.drawAnimation) where animations were being
initialized with their view dimensions instead of the parent dimensions.

Issue #6292681 RotateAnimationTest#testRotateAgainstPoint fails on JRN04
Issue #6293275 TranslateAnimationTest#testInitialize fails on JRN04

Change-Id: Ia90711cadd7a6c20fd788e5b8b18a5b28551e68c
2012-04-19 09:22:34 -07:00
Daniel Sandler
0da673f02e Notifications may now be disabled on a per-package basis.
When a package's ability to post notifications is disabled,
all outstanding notifications from that package are
immediately canceled, and the score of any future
notification from that package is set so low that the
notification manager won't even send it to the status bar.

No UI for this yet, but you can try it out:

  adb shell service call notification 8 s16 $PKG i32 (1|0)

Bug: 5547401

Change-Id: Ieccac5746b40f60debd902a45d1dedbc91dcdc89
2012-04-19 11:39:49 -04:00
Daniel Sandler
3dfc82b567 Merge "Expand too-small notifications to fill 64dp." 2012-04-19 07:01:37 -07:00
Wu-cheng Li
f66bc73fa7 Merge "Remove new camera open API." 2012-04-19 00:29:39 -07:00
Wu-cheng Li
7bc1b21a52 Remove new camera open API.
Applications are not resumed under the lock screen now.
This API is not needed anymore.

bug:5584464
Change-Id: I1c18efb5ba1ecd39320eb5fd252c6e1229d7b89c
2012-04-19 14:18:44 +08:00
Wu-cheng Li
3c3b5b5e0b Merge "Unhide MediaColumns.WIDTH and MediaColumns.HEIGHT." 2012-04-18 23:13:10 -07:00
Daniel Sandler
bc5559f192 Expand too-small notifications to fill 64dp.
Also fix NotificationTestList so it runs again.

Change-Id: I2fb28cd9cfad25a7a1b17ccef9ccd741c3aa99b0
2012-04-19 01:08:15 -04:00
Jeff Sharkey
77b87ba0bc Pipe DHCP vendor info towards framework.
Bug: 6344821
Change-Id: Ifb9a93c995f4d70f4ae2aa03b7e21f13013ef3b6
2012-04-18 21:55:14 -07:00
Wink Saville
01ce0ce472 Fix calcuation of CMD_TO_STRING_COUNT.
Change-Id: I03ae1a545474d7dcd4e65c58d9befd020d5b9c54
2012-04-18 21:42:44 -07:00
Wu-cheng Li
ac13cc06ee Unhide MediaColumns.WIDTH and MediaColumns.HEIGHT.
bug:5224359
Change-Id: I3dcaa2ed383e12ae308b28db45cbe8e503610cdc
2012-04-19 12:11:17 +08:00
Daniel Sandler
6b31880838 Remove intruder alert APIs from JB.
Change-Id: I27042d604fbe15879e7b7aaaac860db2d1efa47f
2012-04-18 20:53:24 -07:00
Jeff Brown
83cb5807b0 Merge "Add more dead keys. Use NFC tables for composition." 2012-04-18 19:12:18 -07:00
Jeff Brown
c3643b9013 Add more dead keys. Use NFC tables for composition.
Bug: 6110399
Change-Id: I343d24df21dac2c069136b016e70e39f0feb6df9
2012-04-18 19:09:08 -07:00
Svetoslav Ganov
2c23a14a3b Merge "Adding API for getting the root node info in the active window." 2012-04-18 18:55:24 -07:00
Svetoslav Ganov
0846e29d0b Adding API for getting the root node info in the active window.
1. This APIs is useful for accessibility services since very often
   they want to get access to the root node in the current window
   to determine where accessibility focus is and subsequently find
   a next view to take accessibility focus.

Change-Id: Ide5231f832d9ce2e9b14dc411dfd675f753a4edb
2012-04-18 18:50:57 -07:00
John Reck
fd6ad04441 Allow removing messages before EventHub created
Bug: 5421676

Change-Id: Id15b669947bd01d3cc3ba3e9b93175120fa518e8
2012-04-18 17:59:17 -07:00