30250 Commits

Author SHA1 Message Date
Jean-Baptiste Queru
5e4f01f02d am f59d2912: am bfe71c35: Merge "statistics from some cpus don\'t fit"
* commit 'f59d2912354a6be6f6181ec945f6f657a5469fb8':
  statistics from some cpus don't fit
2012-05-01 06:47:15 -07:00
Jean-Baptiste Queru
f59d291235 am bfe71c35: Merge "statistics from some cpus don\'t fit"
* commit 'bfe71c35a836e14b7a9f58d90f26fd187df82b06':
  statistics from some cpus don't fit
2012-05-01 06:44:01 -07:00
Jean-Baptiste Queru
bfe71c35a8 Merge "statistics from some cpus don't fit" 2012-05-01 05:51:49 -07:00
satok
6dbac37981 Merge "Show ongoing ime switch icon on sw600" into jb-dev 2012-04-30 22:02:07 -07:00
satok
c861b68a52 Show ongoing ime switch icon on sw600
Bug: 6422307
Change-Id: If10758e0d4ca59da4f3ab07d52dda6673af9c0a8
2012-05-01 12:05:12 +09:00
Dianne Hackborn
414d50bce6 Merge "Fix issue #6234928: android.app.IntentReceiverLeaked:" into jb-dev 2012-04-30 18:29:20 -07:00
Adam Powell
5703bbfa3d Merge "Fix a bug in ListView where touch scrolling could skip a data set change" into jb-dev 2012-04-30 18:23:49 -07:00
Svetoslav Ganov
af8978226f Merge "AccessibilityNodeInfo.getActionSymbolicName() is missing A11y focus actions." into jb-dev 2012-04-30 17:39:47 -07:00
Svetoslav Ganov
fb68fdb9c6 Merge "Accessibility should not change input focus behavior." into jb-dev 2012-04-30 17:39:24 -07:00
Jeff Brown
f2dc6fc442 Merge "Fix Javadoc." into jb-dev 2012-04-30 17:28:49 -07:00
Jeff Brown
c5c33c363e Merge "Add support for using the lid switch to turn off the screen." into jb-dev 2012-04-30 17:15:57 -07:00
Jamie Gennis
6da9cf7782 Merge "Surface: add JNI plumbing for setActiveRect." into jb-dev 2012-04-30 17:13:45 -07:00
Jeff Sharkey
4c3de54daa Merge "Roaming always metered, relax DHCP metered check." into jb-dev 2012-04-30 17:06:09 -07:00
Adam Powell
6f663c1a3c Fix a bug in ListView where touch scrolling could skip a data set change
Bug 2597058

ListView's touch scrolling can query the adapter for new views. As we now
flush pending touch events before running layout/draw traversals (when we
normally bring ListView back in sync), this can now happen more often.

Resync data before executing a scroll if a data set change is pending.

Change-Id: I3e4eba4c2537911ba9cb3393ee4d9e68e46f84bb
2012-04-30 17:01:07 -07:00
Svetoslav Ganov
e9bda15f87 AccessibilityNodeInfo.getActionSymbolicName() is missing A11y focus actions.
1. The new actions were not added to this helper method so it was
   throwing an InvalidArgumentException.

bug:6421059

Change-Id: I132348a50bb900ee19b95cc92c26ce47609ccb1c
2012-04-30 16:55:24 -07:00
Svetoslav Ganov
cf8a3b8224 Accessibility should not change input focus behavior.
1. Removed a change in the input focus behavior I forgot
   to take out when submitted the main accessibility focus
   patch. Ugh..

bug:6320098

Change-Id: Id7942e8aac64ba4bf6df7e19f733fa70b368d1bb
2012-04-30 16:50:14 -07:00
Dianne Hackborn
d44713a63d Fix issue #6234928: android.app.IntentReceiverLeaked:
Activity com.android.internal.app.ChooserActivity has leaked IntentReceiver

Change-Id: I02488931d8c02ecbe0c6fc2f7ce708a9dc406f67
2012-04-30 16:34:46 -07:00
Jeff Brown
32c8113510 Fix Javadoc.
Bug: 6418632
Change-Id: Ib17218c413cbdf26bab19ccd873de33e67dd3397
2012-04-30 16:28:32 -07:00
Jeff Sharkey
f166f480f0 Roaming always metered, relax DHCP metered check.
Always treat roaming connections as metered, and relax DHCP test to
match any substring for forward compatibility.

Bug: 6382737, 6375399
Change-Id: I9781a60f55fbe35da6f8bfc7a1d609608e8f0951
2012-04-30 15:59:21 -07:00
Dianne Hackborn
53fadc5965 Merge "Fix scaling of layout bounds." into jb-dev 2012-04-30 15:57:30 -07:00
Jeff Brown
c458ce98ce Add support for using the lid switch to turn off the screen.
Added a config option to allow the lid switch to turn off the
screen.  This is a closer match to what a lid switch should be
doing.

Removed an old feature to bypass keyguard when keyboard is visible
because the way it was plumbed in made bad assumptions about
the meaning of the lid switch.  Also, the last product we shipped
that had a physical keyboard turned this config option off.
So away it goes.  We can bring it back someday if we really want it.
It's questionable how useful the feature is anyhow, since it only
works when the keyguard is unsecure and when the lid switch is
unlikely to be jostled in the user's pocket.

Fixed a bug where we would tell the power manager that the keyboard
was visible even if the lid switch did not control the keyboard.
This used to cause the power manager to try to set the keyboard
brightness, which doesn't work.

Bug: 6377115
Bug: 6406726
Change-Id: Ic84b71d09563d51c92cd1cf132fa8bdee6509103
2012-04-30 15:48:42 -07:00
Gilles Debunne
2d589ffa1e Merge "SpannableStringBuilder correctly manages MARK and POINTS" into jb-dev 2012-04-30 15:44:02 -07:00
Jamie Gennis
b40696cc21 Surface: add JNI plumbing for setActiveRect.
Bug: 6299171
Change-Id: If26e63ebe7def645626af251bed899ff9389f8e5
2012-04-30 15:35:37 -07:00
Jamie Gennis
459e459ef9 Merge "TextureView: don't call onSTAvailable due to setST" into jb-dev 2012-04-30 15:29:33 -07:00
Dianne Hackborn
7634424171 Fix scaling of layout bounds.
Change-Id: I9d8c8924900fed69030ee3e8d6decee89ca67820
2012-04-30 14:51:48 -07:00
Adam Cohen
a2c37665d9 Merge "Pushing widget resize callback responsibility to AppWidgetHost" into jb-dev 2012-04-30 14:42:23 -07:00
Eric Fischer
e572fb10d0 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-04-30 14:40:42 -07:00
Dianne Hackborn
1e945c4fda Merge "Add system insets to windows." into jb-dev 2012-04-30 14:04:36 -07:00
Jamie Gennis
8a34d6800e TextureView: don't call onSTAvailable due to setST
This change makes TextureView skip calling the onSurfaceTextureAvailable
callback when setSurfaceTexture is used to change the TextureView's
SurfaceTexture.

Change-Id: Ie08f72f157c3bfce3215076b21994026ef66d88d
2012-04-30 13:54:38 -07:00
Adam Cohen
c88d11f949 Pushing widget resize callback responsibility to AppWidgetHost
Change-Id: I33ca691deee11f8249eed6733a9ac82ed9bfbd15
2012-04-30 13:25:59 -07:00
Chris Craik
1266692b30 never attach null functor
bug:6412902

Change-Id: I26a5f80ae13cc19df3daa4d4e7e5401778f76dbb
2012-04-30 13:15:55 -07:00
Svetoslav Ganov
2f87014ea2 Merge "Enabling accessibility focus only if explore by touch is on." into jb-dev 2012-04-30 12:41:15 -07:00
Svetoslav Ganov
0e8fd5eddb Merge "Populating accessibility node info with supported actions." into jb-dev 2012-04-30 12:40:49 -07:00
Svetoslav Ganov
9cb3e96af9 Merge "CheckedTextView should be reported to accessibility as checkable." into jb-dev 2012-04-30 12:40:04 -07:00
Svetoslav Ganov
10890607f8 Merge "Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent" into jb-dev 2012-04-30 12:39:25 -07:00
Svetoslav Ganov
18dcf2f1cd Merge "Fixing crash when drawing accessibility focus indicator." into jb-dev 2012-04-30 12:38:06 -07:00
Eric Fischer
14ff8c0084 Import translations. DO NOT MERGE
Change-Id: Icc783beaa23278f07fc5fed64b7631c1d088208c
2012-04-30 12:31:45 -07:00
Svetoslav Ganov
07b726c86b Enabling accessibility focus only if explore by touch is on.
1. Now we will enable the accessibility focus only if Explore by
   Touch is enabled. Enabling this feature allows a blind user to
   touch the screen and set the accessibility focus at this
   location as well as get spoken feedback. Also an accessibility
   service can move the accessibility as a result of user gestures
   detected only if Explore by Touch is enabled. Since we will
   handle some gestures by default if not accessibility service
   does so to provide reasonable built-in navigation of the UI
   by "objects" we need the accessibility focus functionality.

bug:6383361

Change-Id: I13ce6072a90f5838c7656379788144c99a772bf0
2012-04-30 12:25:31 -07:00
Dianne Hackborn
5c58de3a52 Add system insets to windows.
This will be used to determine which parts of a window a completely
hidden by system UI elements (status bar, nav bar, system bar) so
that they can be clipped out from rendering.

Change-Id: I2c6c6ac67dbdfeed82d2c089ef806fb483165bd9
2012-04-30 12:11:43 -07:00
Svetoslav Ganov
c85015cd04 CheckedTextView should be reported to accessibility as checkable.
bug:6219528

Change-Id: I7b57f69c29f20c8a9466c56226407b51b9bf3b3a
2012-04-30 11:37:50 -07:00
John Reck
3ea8761974 Merge "Fix crash in setNewPicture" into jb-dev 2012-04-30 11:31:27 -07:00
Chris Craik
02d7e489b2 Merge "check for null ViewRootImpl" into jb-dev 2012-04-30 11:27:35 -07:00
Chris Craik
a59558f476 check for null ViewRootImpl
bug:6412902
Change-Id: I36b5ee48fb94ed0f8222f9ec41ee9fc3730ceed0
2012-04-30 11:06:46 -07:00
John Reck
579f4e93fb Fix crash in setNewPicture
Bug: 6412902

Change-Id: I65d8f65839c6e84440cb9d0393c35a8c488c9781
2012-04-30 10:50:04 -07:00
Svetoslav Ganov
cfcff98ab3 Populating accessibility node info with supported actions.
1. The system does not allow performing an accessibility action
   on an accessibility node info unless it explicitly states it
   supports that action. Adding the new accessibility actions
   to the info emitted by a view.

bug:6407647

Change-Id: I8dad1dc60ec68b4da5ed2349a1366a88820175a1
2012-04-28 15:31:15 -07:00
Svetoslav Ganov
d7910dd42a Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent
1. There was a double call to recycle of a pooled instance
   which was causing an exception. Removed an unnecessary call.

bug:6408689

Change-Id: Ic74b743c6be28ca95ab84b15f28edb5bc95f0a88
2012-04-28 15:23:51 -07:00
Svetoslav Ganov
1d74df2266 Fixing crash when drawing accessibility focus indicator.
1. Added a lacking null check for the accessibility node
   info returned by an accessibility node provider. If
   the provider implementation is not correct this may
   happen.

2. Added clearing of the current accessibility focused
   node when the window focus changes. Now it is cleared
   in every case and if it happens that accessibility is
   enabled when the window gets focus, the accessibility
   focus will be properly set.

bug:6381296

Change-Id: Ieea1b07762745e6d932fc4ed4febfe77760b25b7
2012-04-28 15:14:30 -07:00
Mike Lockwood
427db9b3d1 Merge "UsbService: Add support for accessory initiating USB audio support" into jb-dev 2012-04-28 12:00:02 -07:00
John Reck
47f88d6b52 Merge "Revert "add null check on ViewRootImpl"" into jb-dev 2012-04-27 18:05:39 -07:00
John Reck
7658e53073 Revert "add null check on ViewRootImpl"
This reverts commit 67a1c8e3d5a88f776f09b6e61410ebcd5615a46b
2012-04-27 18:04:14 -07:00