Commit Graph

22203 Commits

Author SHA1 Message Date
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
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
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
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
John Reck
edafaf67bd am 21f5d8ab: am 47f88d6b: Merge "Revert "add null check on ViewRootImpl"" into jb-dev
* commit '21f5d8aba69d7e14c8cab1c90a3a9063c74f3301':
  Revert "add null check on ViewRootImpl"
2012-04-27 18:10:49 -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 67a1c8e3d5
2012-04-27 18:04:14 -07:00
John Reck
0e8dcb2b36 am aad4c022: am 04144a8b: Merge "add null check on ViewRootImpl" into jb-dev
* commit 'aad4c022c309dab1e0b95c69b07d7fc17e952dc6':
  add null check on ViewRootImpl
2012-04-27 17:51:54 -07:00
Dianne Hackborn
7aed285964 am 6ea9c9a8: am 79c63461: Merge "When a window is first shown only draw once while animating." into jb-dev
* commit '6ea9c9a800c56241a335643056e0896d404c7ee7':
  When a window is first shown only draw once while animating.
2012-04-27 17:48:12 -07:00
John Reck
04144a8b34 Merge "add null check on ViewRootImpl" into jb-dev 2012-04-27 17:47:10 -07:00
Dianne Hackborn
79c6346100 Merge "When a window is first shown only draw once while animating." into jb-dev 2012-04-27 17:42:48 -07:00
Jeff Brown
9db7ef654c am ac11c76f: am ffd6ea45: Merge "Resample touch events on frame boundaries." into jb-dev
* commit 'ac11c76fe425707d0072cda19932f8dd9c0c07a9':
  Resample touch events on frame boundaries.
2012-04-27 17:37:18 -07:00
Jeff Brown
ffd6ea4523 Merge "Resample touch events on frame boundaries." into jb-dev 2012-04-27 17:31:50 -07:00
Philip Milne
6858a66078 am 7010d606: am 65340c16: Merge "Fixes for optical bounds feature." into jb-dev
* commit '7010d6063008e6a451c8a0a9abb899734495a904':
  Fixes for optical bounds feature.
2012-04-27 17:02:34 -07:00
Philip Milne
65340c1682 Merge "Fixes for optical bounds feature." into jb-dev 2012-04-27 16:57:41 -07:00
Jeff Brown
9cf0f1152e am be9a68c9: am f613da0e: Merge "Simplify the consume before traversal heuristic." into jb-dev
* commit 'be9a68c9a5cddc7c8b54c5d0094b157e2ec49275':
  Simplify the consume before traversal heuristic.
2012-04-27 16:50:44 -07:00
Jeff Brown
f3cc61cb79 am 162b31b6: am 263d044c: Merge "Fix CancellationSignal deadlock." into jb-dev
* commit '162b31b669a13404e5ae044056683d8015cfca7c':
  Fix CancellationSignal deadlock.
2012-04-27 16:50:42 -07:00
Jeff Sharkey
6ff2928495 am 7bf6814b: am 5c55c40b: Merge "Clear IMM references when window dismissed." into jb-dev
* commit '7bf6814b991e36ec955bf6c03926b0f747222750':
  Clear IMM references when window dismissed.
2012-04-27 16:50:40 -07:00
Jeff Brown
bd1890e7af am d99ca786: am e19d5f02: Merge "Use choreographer frame time to schedule animations." into jb-dev
* commit 'd99ca786187695fffa1151d1aada7b8e767dcd25':
  Use choreographer frame time to schedule animations.
2012-04-27 16:50:38 -07:00
Philip Milne
7a23b49a8c Fixes for optical bounds feature.
1. Make the feature opt-in (ViewGroup::layoutMode defaults to CLIP_BOUNDS) without inheritance.
2. Rename COMPONENT_BOUNDS to CLIP_BOUNDS.
3. Rename LAYOUT_BOUNDS to OPTICAL_BOUNDS.
4. Complete GridLayout implementation.
5. Change the default_gap between components to 8dp, to align with the Style Guide.

Change-Id: I8d40dfc5f4ca469f6424eb3ff60d07bec56e3a9f
2012-04-27 16:46:57 -07:00
Jeff Brown
f613da0e5f Merge "Simplify the consume before traversal heuristic." into jb-dev 2012-04-27 16:45:00 -07:00
Jeff Brown
263d044c79 Merge "Fix CancellationSignal deadlock." into jb-dev 2012-04-27 16:44:23 -07:00
Jeff Sharkey
5c55c40be0 Merge "Clear IMM references when window dismissed." into jb-dev 2012-04-27 16:44:22 -07:00