Commit Graph

22852 Commits

Author SHA1 Message Date
Svetoslav Ganov
86ba4aaa71 am 37fd7976: am a1dc761c: Adding scroll actions to accessibility node info.
* commit '37fd797699eb8e481d69f7f5a19cd05b8a5b7170':
  Adding scroll actions to accessibility node info.
2012-05-10 12:43:12 -07:00
Svetoslav Ganov
37fd797699 am a1dc761c: Adding scroll actions to accessibility node info.
* commit 'a1dc761c8322355eb1bb71d3d6c9c603c1d1fc0f':
  Adding scroll actions to accessibility node info.
2012-05-10 12:39:55 -07:00
Svetoslav Ganov
a1dc761c83 Adding scroll actions to accessibility node info.
1. Scrolling actions are crucial for enabling a gesture based
   traversal of the UI and specifically scrollable containers
   especially lists and anything backed by an adapter. Since
   accessibility focus can land only attached views, it cannot
   visit views for adapter items not shown on the screen.
   Auto scrolling the list as a result of putting access focus
   ot a list item does not work well since the user may get
   trapped in a long list. Adding an accessibility node provider
   to emit virtual views for one view before the first and one
   after the last is complex and suffers the limitation of trapping
   the user. Accessibility service need an explicit scroll actions
   which may be performed upon an explicit user action. Hence,
   the user is informed for the start/end of the visible part of
   the list and he makes a deliberate choice to scroll. This will
   benefit also people developing Braille devices since they can
   scroll the content without telling the user to stop using the
   Braille controller and take the device out of his pocket to scroll
   and go back to the Braille controller.

NOTE: Without these action large portions of the screen will be
    hard to access since users will have to touch and explore to
    find and scroll the list.

Change-Id: Iafcf54d4967893205872b3649025a4e347a299ed
2012-05-10 12:28:04 -07:00
Daniel Sandler
ba32499a68 am d634b77b: am a4487e1b: Merge "Clean up API docs for Notification." into jb-dev
* commit 'd634b77bbf838e92716d03879e77f203c86c2fc6':
  Clean up API docs for Notification.
2012-05-10 11:57:59 -07:00
Michael Jurka
e5c511a1cc am bf1b5fa9: am 421dceb0: Merge "Making transition out of recents look better" into jb-dev
* commit 'bf1b5fa944158044a595706924b935b5577ec0f0':
  Making transition out of recents look better
2012-05-10 11:57:33 -07:00
Daniel Sandler
c323d9ec3a am 8046724d: am e95658c9: New backgrounds for notifications.
* commit '8046724da39735d03a4659c268d9154f82f4d31a':
  New backgrounds for notifications.
2012-05-10 11:39:22 -07:00
Dianne Hackborn
d41bf1a287 am 014afea3: am a482d366: Merge "Fixed typo in findAccessibilityFocus API." into jb-dev
* commit '014afea3cec7ff93d195753103478826796c310f':
  Fixed typo in findAccessibilityFocus API.
2012-05-10 11:39:14 -07:00
Dianne Hackborn
169c3d4dd7 am 7ab16751: am 2c2864f6: Merge "Add new API to find total RAM." into jb-dev
* commit '7ab1675111954814ebaa32dd82084929df1b390e':
  Add new API to find total RAM.
2012-05-10 11:38:56 -07:00
Dianne Hackborn
58d4f2e36f am e2e03913: am dd79ae6b: Merge "Add infrastructure for accessing "unstable" content providers." into jb-dev
* commit 'e2e0391389fce1a9fd9d5c5442ba1901b6d96211':
  Add infrastructure for accessing "unstable" content providers.
2012-05-10 11:38:52 -07:00
Dianne Hackborn
ba83ac0093 am e6f6cd69: am 78fd4a14: Merge "Remove auto-brightness adjustment knob." into jb-dev
* commit 'e6f6cd69ff683ec6663bf004a08edcaa456c7ea5':
  Remove auto-brightness adjustment knob.
2012-05-10 11:38:42 -07:00
Jeff Brown
44cc5dc7ae am 4830ab12: am b3e9ee23: Merge "Deprecate certain AbstractCursor fields." into jb-dev
* commit '4830ab12b46d88fb687bf4043b55c939ea06c6b7':
  Deprecate certain AbstractCursor fields.
2012-05-10 11:38:31 -07:00
Jeff Brown
a552661948 am 3631131e: am 571d4cbe: Merge "Fix bugs in fallback key handling." into jb-dev
* commit '3631131e5fcb939931f985bffdb14af71dc0f388':
  Fix bugs in fallback key handling.
2012-05-10 11:38:27 -07:00
Irfan Sheriff
29001bba2e am 43f863ba: am c12a2446: Merge "Use Map for DnsSd TXT record" into jb-dev
* commit '43f863bae6a6bafb4bd3eaf8715565ec74e89ca7':
  Use Map for DnsSd TXT record
2012-05-10 11:38:20 -07:00
Daniel Sandler
d634b77bbf am a4487e1b: Merge "Clean up API docs for Notification." into jb-dev
* commit 'a4487e1b4be823e6e90b25442f663a9424ac90e0':
  Clean up API docs for Notification.
2012-05-10 10:58:37 -07:00
Daniel Sandler
a4487e1b4b Merge "Clean up API docs for Notification." into jb-dev 2012-05-10 10:57:02 -07:00
Michael Jurka
bf1b5fa944 am 421dceb0: Merge "Making transition out of recents look better" into jb-dev
* commit '421dceb0a4fd8f20349a0de277f82b56e71cb90b':
  Making transition out of recents look better
2012-05-10 10:45:30 -07:00
Michael Jurka
421dceb0a4 Merge "Making transition out of recents look better" into jb-dev 2012-05-10 10:35:19 -07:00
Daniel Sandler
d33b803b6b Clean up API docs for Notification.
Bug: 6427241
Bug: 6427245
Bug: 6427814
Change-Id: I91d741513e3b345d2b9f28ad0a1bf11b0a898076
2012-05-10 13:15:37 -04:00
Chris Craik
fa189c8f1c am c972f05c: am a76f823c: Merge "Fix locking for skip draw" into jb-dev
* commit 'c972f05cccd5fb344ee290aa73ab08da84163b74':
  Fix locking for skip draw
2012-05-10 09:33:36 -07:00
Guang Zhu
257dfaeda9 am cc441aba: am 0fa15291: Merge "Make UiTestAutomationBridge see non-important views again" into jb-dev
* commit 'cc441aba8a7d7366e256675bea27207284fff74e':
  Make UiTestAutomationBridge see non-important views again
2012-05-10 09:33:33 -07:00
Dianne Hackborn
455af7f7b0 am 67cc7f2e: am a53de062: Add callback hack to find out when to load system properties.
* commit '67cc7f2e60bc6532d00bb3c473b9a1d32cdafce2':
  Add callback hack to find out when to load system properties.
2012-05-10 09:33:27 -07:00
Daniel Sandler
8046724da3 am e95658c9: New backgrounds for notifications.
* commit 'e95658c98e4154a2daf0ed70d15d24f8bf3153f0':
  New backgrounds for notifications.
2012-05-10 09:26:40 -07:00
Dianne Hackborn
014afea3ce am a482d366: Merge "Fixed typo in findAccessibilityFocus API." into jb-dev
* commit 'a482d36635cbfbbfb4aee9fc79d55514bf6b7464':
  Fixed typo in findAccessibilityFocus API.
2012-05-10 09:26:15 -07:00
Dianne Hackborn
7ab1675111 am 2c2864f6: Merge "Add new API to find total RAM." into jb-dev
* commit '2c2864f65c5cec6aebcb1b5612331f3946893042':
  Add new API to find total RAM.
2012-05-10 09:26:09 -07:00
Dianne Hackborn
e2e0391389 am dd79ae6b: Merge "Add infrastructure for accessing "unstable" content providers." into jb-dev
* commit 'dd79ae6b7201b68dbe2a223d2f371ea1a473f6c4':
  Add infrastructure for accessing "unstable" content providers.
2012-05-10 09:26:03 -07:00
Dianne Hackborn
e6f6cd69ff am 78fd4a14: Merge "Remove auto-brightness adjustment knob." into jb-dev
* commit '78fd4a14dd2a1e2d9ab4be024861c0d9119cce7f':
  Remove auto-brightness adjustment knob.
2012-05-10 09:25:50 -07:00
Jeff Brown
4830ab12b4 am b3e9ee23: Merge "Deprecate certain AbstractCursor fields." into jb-dev
* commit 'b3e9ee23795e6c7c4bc2c0a7e776b7ee34e8f08e':
  Deprecate certain AbstractCursor fields.
2012-05-10 09:25:39 -07:00
Jeff Brown
3631131e5f am 571d4cbe: Merge "Fix bugs in fallback key handling." into jb-dev
* commit '571d4cbeec4adad050b8e188770e7e7dedc558f1':
  Fix bugs in fallback key handling.
2012-05-10 09:25:36 -07:00
Irfan Sheriff
43f863bae6 am c12a2446: Merge "Use Map for DnsSd TXT record" into jb-dev
* commit 'c12a24463276a6556a0a18c4a5703994daf9009e':
  Use Map for DnsSd TXT record
2012-05-10 09:25:17 -07:00
Svetoslav Ganov
0d55601191 am e4abc512: Remove activation gestures form reported and add a touch explore requesting flag.
* commit 'e4abc512aa6474f0106f407f7b399832da34483f':
  Remove activation gestures form reported and add a touch explore requesting flag.
2012-05-10 09:24:56 -07:00
Chris Craik
c972f05ccc am a76f823c: Merge "Fix locking for skip draw" into jb-dev
* commit 'a76f823c7f31bffdea4d49daa6c6165520928708':
  Fix locking for skip draw
2012-05-10 09:24:32 -07:00
Guang Zhu
cc441aba8a am 0fa15291: Merge "Make UiTestAutomationBridge see non-important views again" into jb-dev
* commit '0fa152912e55f2d08f0a8d1260332a81e5706694':
  Make UiTestAutomationBridge see non-important views again
2012-05-10 09:24:19 -07:00
Dianne Hackborn
67cc7f2e60 am a53de062: Add callback hack to find out when to load system properties.
* commit 'a53de0629f3b94472c0f160f5bbe1090b020feab':
  Add callback hack to find out when to load system properties.
2012-05-10 09:24:07 -07:00
Daniel Sandler
e95658c98e New backgrounds for notifications.
Note that PRIORITY_MIN notifications have a special
background treatment.

Bug: 6418617
Change-Id: I5f96330fcc53ac39e80a025baa0c134bd1e971b8
2012-05-10 04:52:18 -07:00
Dianne Hackborn
a482d36635 Merge "Fixed typo in findAccessibilityFocus API." into jb-dev 2012-05-09 21:40:00 -07:00
Dianne Hackborn
2c2864f65c Merge "Add new API to find total RAM." into jb-dev 2012-05-09 21:34:42 -07:00
Michael Jurka
21385cd83d Making transition out of recents look better
- Fading out recents first, then scaling up app
thumbnail
- Fade Recents out over 130ms
- Delay the window animation for 200ms first,
then animate for 200ms (previously we didn't delay
and then animated for 300ms)

Bug: 6390075

Change-Id: Ia8c753bf7ee03d2acef6eb2772b28d88fe10a682
2012-05-09 20:25:28 -07:00
alanv
57aab75544 Fixed typo in findAccessibilityFocus API.
Change-Id: I3ca1448792a1b712f781c1bfa73823ca08ea3d39
2012-05-09 19:52:29 -07:00
Dianne Hackborn
59325eb31f Add new API to find total RAM.
Change-Id: Iad2dff3c44f471515f093e7f0d0d959528881ab9
2012-05-09 18:45:20 -07:00
Dianne Hackborn
dd79ae6b72 Merge "Add infrastructure for accessing "unstable" content providers." into jb-dev 2012-05-09 18:30:23 -07:00
Dianne Hackborn
652b6d1e59 Add infrastructure for accessing "unstable" content providers.
We have an API and some stuff that purports to this, but no real
implementation yet.

Change-Id: I93555440014a50fdf79fa3f65318d90fb82265b4
2012-05-09 18:18:40 -07:00
Dianne Hackborn
78fd4a14dd Merge "Remove auto-brightness adjustment knob." into jb-dev 2012-05-09 18:03:12 -07:00
Jeff Brown
b3e9ee2379 Merge "Deprecate certain AbstractCursor fields." into jb-dev 2012-05-09 17:35:18 -07:00
Jeff Brown
571d4cbeec Merge "Fix bugs in fallback key handling." into jb-dev 2012-05-09 17:35:07 -07:00
Irfan Sheriff
c12a244632 Merge "Use Map for DnsSd TXT record" into jb-dev 2012-05-09 16:37:11 -07:00
Dianne Hackborn
518a3d82f7 Remove auto-brightness adjustment knob.
Not yet ready for release.

Change-Id: I75bc87f35af47c6baac1f26953d8bf3e38062c92
2012-05-09 16:30:49 -07:00
Irfan Sheriff
527ba07b63 Use Map for DnsSd TXT record
Bug: 6434844
Change-Id: I767077585f501b46026ed34ec3e778d3e53209cc
2012-05-09 16:25:00 -07:00
Svetoslav Ganov
e4abc512aa Remove activation gestures form reported and add a touch explore requesting flag.
1. Delegating activation gestures has several issues that we should
   decide how to handle if possible before allowing an accessibility
   service to take over them:

   A) It is needed that every view than can be clicked or long pressed on
      reacts to such as a response to calling performClick and performLongPress
      which is not necessary true since the view may watch the touch
      events and do its own click long click detection. As a result it may
      be possible that there are view a user cannot interact with in
      touch exploration mode but can if not in that mode.

   B) Clicking or long pressing on a different location in a view may yield
      different results, for example NumberPicker. Ideally such views have
      to implement AccessibilityNodeProvide which provider handles correctly
      the request for click long press on virtual nodes. Some apps however
      just fire different hover accessibility events when the user is over
      a specific semantic portion of the view but do not provide virtual
      nodes. Hence, a user will not be able to interact with such semantic
      regions but the system can achieve that by sending the click/long click
      at the precise location in the view that was last touch explored.

2. Adding a flag on accessibility service info to request explore by touch
   mode. There is no need to put the device in this mode if node of the currently
   enabled accessibility services supports it. Now the problem is inverted and
   the service has to explicitly state its capability.

3. Fixing a bug where includeImportantViews was ignored for automation
   services.

Change-Id: I3b29a19f24ab5e26ee29f974bbac2197614c9e2a
2012-05-09 16:17:20 -07:00
Chris Craik
a76f823c7f Merge "Fix locking for skip draw" into jb-dev 2012-05-09 15:37:03 -07:00
Guang Zhu
0fa152912e Merge "Make UiTestAutomationBridge see non-important views again" into jb-dev 2012-05-09 15:11:14 -07:00