summaryrefslogtreecommitdiffstats
path: root/services/java/com
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-06-06 14:09:10 -0700
committerSvetoslav <svetoslavganov@google.com>2013-06-18 10:41:48 -0700
commit3577a283e1af3e14fe980c4fec55781a58cd8e3c (patch)
tree61a5ec102df69ffe8980142398b5c944cd31f589 /services/java/com
parentb31e370a941e8ed4e6393f32fa5356c8c84efa7a (diff)
downloadframeworks_base-3577a283e1af3e14fe980c4fec55781a58cd8e3c.zip
frameworks_base-3577a283e1af3e14fe980c4fec55781a58cd8e3c.tar.gz
frameworks_base-3577a283e1af3e14fe980c4fec55781a58cd8e3c.tar.bz2
Adding traits APIs to AccessibilityNodeInfo.
This change adds several traits and properties to AccessibilityNodeInfo aiming to allow better description of native Android components to accessibility services as well as mapping web content to native Android node info tree. Change-Id: I36b893cbaa6213c9d02d805e9dc36b6d792b4961
Diffstat (limited to 'services/java/com')
-rw-r--r--services/java/com/android/server/accessibility/AccessibilityManagerService.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/services/java/com/android/server/accessibility/AccessibilityManagerService.java b/services/java/com/android/server/accessibility/AccessibilityManagerService.java
index 2f8250f..0ab56df 100644
--- a/services/java/com/android/server/accessibility/AccessibilityManagerService.java
+++ b/services/java/com/android/server/accessibility/AccessibilityManagerService.java
@@ -2685,7 +2685,10 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
| AccessibilityNodeInfo.ACTION_COPY
| AccessibilityNodeInfo.ACTION_PASTE
| AccessibilityNodeInfo.ACTION_CUT
- | AccessibilityNodeInfo.ACTION_SET_SELECTION;
+ | AccessibilityNodeInfo.ACTION_SET_SELECTION
+ | AccessibilityNodeInfo.ACTION_EXPAND
+ | AccessibilityNodeInfo.ACTION_COLLAPSE
+ | AccessibilityNodeInfo.ACTION_DISMISS;
private static final int RETRIEVAL_ALLOWING_EVENT_TYPES =
AccessibilityEvent.TYPE_VIEW_CLICKED