Commit Graph

27900 Commits

Author SHA1 Message Date
Jamie Gennis
6fe9b60e8b am ca1e4d77: am 6da9cf77: Merge "Surface: add JNI plumbing for setActiveRect." into jb-dev
* commit 'ca1e4d7736121466509f527706bc8c7022a54cf9':
  Surface: add JNI plumbing for setActiveRect.
2012-04-30 17:20:16 -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
a5c89fe050 am 26d4f3dc: am 4c3de54d: Merge "Roaming always metered, relax DHCP metered check." into jb-dev
* commit '26d4f3dcb321e8cfb9b90181401070e54d7db282':
  Roaming always metered, relax DHCP metered check.
2012-04-30 17:11:09 -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
Amith Yamasani
f9638a4aee Fixes PreferenceScreen padding and scrollbar position.
Bug: 6399996
Changed the scrollbarStyle for tablets

Bug: 6405440
Inflate the listview from a layout with padding.

Change-Id: I838bb073ee2f0e23ac7163cc632679278dbccf05
2012-04-30 16:32:39 -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
Gilles Debunne
8b9742f9a1 am 22da643f: am 2d589ffa: Merge "SpannableStringBuilder correctly manages MARK and POINTS" into jb-dev
* commit '22da643f13b4a286dd462d0f0878741ca8c8e854':
  SpannableStringBuilder correctly manages MARK and POINTS
2012-04-30 15:49:39 -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
b63b425b0c am 462bcde4: am 459e459e: Merge "TextureView: don\'t call onSTAvailable due to setST" into jb-dev
* commit '462bcde43013e2fb8037c19f3db8d4f5f0dfd1a8':
  TextureView: don't call onSTAvailable due to setST
2012-04-30 15:35:11 -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
Adam Cohen
438ed77972 am 48ba4f24: am a2c37665: Merge "Pushing widget resize callback responsibility to AppWidgetHost" into jb-dev
* commit '48ba4f24cdcade80cb39d9ff75860afe869dfd2e':
  Pushing widget resize callback responsibility to AppWidgetHost
2012-04-30 14:51:40 -07:00
Adam Cohen
a2c37665d9 Merge "Pushing widget resize callback responsibility to AppWidgetHost" into jb-dev 2012-04-30 14:42:23 -07:00
Dianne Hackborn
d33efeb36c am 644ad8e7: am 1e945c4f: Merge "Add system insets to windows." into jb-dev
* commit '644ad8e77993eeeec2452a7f294b30124cb47a5d':
  Add system insets to windows.
2012-04-30 14:09:04 -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
John Reck
eb2dd859e0 am 89dbba35: am 9e2b578f: Merge "never attach null functor" into jb-dev
* commit '89dbba3514279a2575dc81bd02a17ff59c5ae8c2':
  never attach null functor
2012-04-30 13:42:08 -07:00
Adam Cohen
c88d11f949 Pushing widget resize callback responsibility to AppWidgetHost
Change-Id: I33ca691deee11f8249eed6733a9ac82ed9bfbd15
2012-04-30 13:25:59 -07:00
Svetoslav Ganov
951bb42166 Finding focus for from rectangle now working.
1. The FocusFinder code was ignoring the rectangle.

bug:6400513

Change-Id: I218425182b9cc2cda01fc4b5d75e9ac94a22561c
2012-04-30 13:19:22 -07:00
Chris Craik
1266692b30 never attach null functor
bug:6412902

Change-Id: I26a5f80ae13cc19df3daa4d4e7e5401778f76dbb
2012-04-30 13:15:55 -07:00
Svetoslav Ganov
8fabe634d9 am d8400333: am 2f87014e: Merge "Enabling accessibility focus only if explore by touch is on." into jb-dev
* commit 'd84003333c0394ddb7c4353dae077156618551b0':
  Enabling accessibility focus only if explore by touch is on.
2012-04-30 12:46:21 -07:00
Svetoslav Ganov
f561083437 am 059d57aa: am 0e8fd5ed: Merge "Populating accessibility node info with supported actions." into jb-dev
* commit '059d57aa940774bc5ebda0645d6bb1a8b616ccb8':
  Populating accessibility node info with supported actions.
2012-04-30 12:46:19 -07:00
Svetoslav Ganov
cfab6491db am e6a51f06: am 9cb3e96a: Merge "CheckedTextView should be reported to accessibility as checkable." into jb-dev
* commit 'e6a51f064327fa8de801545618f2a8d5a7053752':
  CheckedTextView should be reported to accessibility as checkable.
2012-04-30 12:46:17 -07:00
Svetoslav Ganov
a70698259e am 389595bd: am 10890607: Merge "Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent" into jb-dev
* commit '389595bd47e53074f40b80603883eda633c6a5ae':
  Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent
2012-04-30 12:46:16 -07:00
Svetoslav Ganov
89ce8fe195 am 298c13e1: am 18dcf2f1: Merge "Fixing crash when drawing accessibility focus indicator." into jb-dev
* commit '298c13e17cd2d5031f31713788d0e0c3e29b88b5':
  Fixing crash when drawing accessibility focus indicator.
2012-04-30 12:43:36 -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
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
James Dong
248ba23ad2 Fix a race condition in Camera API for handling focus
In the case where a previous AF completion was outstanding but before the completion
notification reached the application, the application cancelled this AF request, and
then started a new AF request. Right after the new AF request, the AF completion
notification for earlier AF request reached the application. The application
could not tell the AF completion notification was meant for the cancelled AF, but
thought the new AF was successfully completed. Subsequently, the application trid to
take a picture, which failed as a result.

The fix is to add an explicit lock in the Camera.java class to fix the race condition to
synchornize autoFocus(), cancelAutoFocus() and the callback of the pending AF
completion message.

o related-to-bug: 6026480

Change-Id: I33d244d908ac066698e792f641ba88fe228b14a9
2012-04-30 12:01:06 -07:00
John Reck
8f998240b0 am f0d9ff0b: am 3ea87619: Merge "Fix crash in setNewPicture" into jb-dev
* commit 'f0d9ff0b6bcd9f88832c48d01222f3c3fe5b0d5b':
  Fix crash in setNewPicture
2012-04-30 11:38:34 -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
Chris Craik
46eb0ca24d am 9a439593: am 02d7e489: Merge "check for null ViewRootImpl" into jb-dev
* commit '9a4395930832db9a1cd7c4c6825812e0587a073d':
  check for null ViewRootImpl
2012-04-30 11:33:16 -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
bf9e213f5b am 19c4b9ae: am 427db9b3: Merge "UsbService: Add support for accessory initiating USB audio support" into jb-dev
* commit '19c4b9ae6162c8c6dd3b1e2bdcce856c310c7fff':
  UsbService: Add support for accessory initiating USB audio support
2012-04-28 12:05:56 -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