diff options
author | Scott Main <smain@google.com> | 2013-06-06 18:37:59 -0700 |
---|---|---|
committer | Scott Main <smain@google.com> | 2013-06-06 18:37:59 -0700 |
commit | 00d17f7aab54ef055d35da603dab5a7bae751876 (patch) | |
tree | 7ba75af6a2e548fd65e00997a4bf0ea7c06b84c5 /core/java | |
parent | b8e4d95c22e0f44aee5cb3001262b5154bf90cb7 (diff) | |
download | frameworks_base-00d17f7aab54ef055d35da603dab5a7bae751876.zip frameworks_base-00d17f7aab54ef055d35da603dab5a7bae751876.tar.gz frameworks_base-00d17f7aab54ef055d35da603dab5a7bae751876.tar.bz2 |
add attributes to accessibility service info
Change-Id: I3651544164f718003b8eb1235a7d723f1bcee5be
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/accessibilityservice/AccessibilityServiceInfo.java | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/core/java/android/accessibilityservice/AccessibilityServiceInfo.java b/core/java/android/accessibilityservice/AccessibilityServiceInfo.java index de58a33..059945f 100644 --- a/core/java/android/accessibilityservice/AccessibilityServiceInfo.java +++ b/core/java/android/accessibilityservice/AccessibilityServiceInfo.java @@ -58,6 +58,18 @@ import java.util.List; * developer guide.</p> * </div> * + * @attr ref android.R.styleable#AccessibilityService_accessibilityEventTypes + * @attr ref android.R.styleable#AccessibilityService_accessibilityFeedbackType + * @attr ref android.R.styleable#AccessibilityService_accessibilityFlags + * @attr ref android.R.styleable#AccessibilityService_canRequestEnhancedWebAccessibility + * @attr ref android.R.styleable#AccessibilityService_canRequestFilterKeyEvents + * @attr ref android.R.styleable#AccessibilityService_canRequestTouchExplorationMode + * @attr ref android.R.styleable#AccessibilityService_canRetrieveWindowContent + * @attr ref android.R.styleable#AccessibilityService_description + * @attr ref android.R.styleable#AccessibilityService_notificationTimeout + * @attr ref android.R.styleable#AccessibilityService_packageNames + * @attr ref android.R.styleable#AccessibilityService_settingsActivity + * * @see AccessibilityService * @see android.view.accessibility.AccessibilityEvent * @see android.view.accessibility.AccessibilityManager @@ -68,23 +80,27 @@ public class AccessibilityServiceInfo implements Parcelable { /** * Capability: This accessibility service can retrieve the active window content. + * @see android.R.styleable#AccessibilityService_canRetrieveWindowContent */ public static final int CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT = 0x00000001; /** * Capability: This accessibility service can request touch exploration mode in which * touched items are spoken aloud and the UI can be explored via gestures. + * @see android.R.styleable#AccessibilityService_canRequestTouchExplorationMode */ public static final int CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION = 0x00000002; /** * Capability: This accessibility service can request enhanced web accessibility * enhancements. For example, installing scripts to make app content more accessible. + * @see android.R.styleable#AccessibilityService_canRequestEnhancedWebAccessibility */ public static final int CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY = 0x00000004; /** - * Capability: This accessibility service can request to filter the key event stream. + * Capability: This accessibility service can request to filter the key event stream. + * @see android.R.styleable#AccessibilityService_canRequestFilterKeyEvents */ public static final int CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS = 0x00000008; @@ -213,6 +229,7 @@ public class AccessibilityServiceInfo implements Parcelable { * the first time they are run, if this flag is specified, a dialog is * shown to the user to confirm enabling explore by touch. * </p> + * @see android.R.styleable#AccessibilityService_canRequestTouchExplorationMode */ public static final int FLAG_REQUEST_TOUCH_EXPLORATION_MODE = 0x0000004; @@ -232,6 +249,7 @@ public class AccessibilityServiceInfo implements Parcelable { * true, otherwise this flag will be ignored. For how to declare the meta-data * of a service refer to {@value AccessibilityService#SERVICE_META_DATA}. * </p> + * @see android.R.styleable#AccessibilityService_canRequestEnhancedWebAccessibility */ public static final int FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY = 0x00000008; @@ -260,6 +278,7 @@ public class AccessibilityServiceInfo implements Parcelable { * otherwise this flag will be ignored. For how to declare the meta-data * of a service refer to {@value AccessibilityService#SERVICE_META_DATA}. * </p> + * @see android.R.styleable#AccessibilityService_canRequestFilterKeyEvents */ public static final int FLAG_REQUEST_FILTER_KEY_EVENTS = 0x00000020; |