|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.support.v4.view.accessibility.AccessibilityEventCompat
public class AccessibilityEventCompat

Helper for accessing features in AccessibilityEvent
introduced after API level 4 in a backwards compatible fashion.
| Field Summary | |
|---|---|
static int |
TYPE_ANNOUNCEMENT
Represents the event of an application making an announcement. |
static int |
TYPE_GESTURE_DETECTION_END
Represents the event of ending gesture detection. |
static int |
TYPE_GESTURE_DETECTION_START
Represents the event of beginning gesture detection. |
static int |
TYPE_TOUCH_EXPLORATION_GESTURE_END
Represents the event of ending a touch exploration gesture. |
static int |
TYPE_TOUCH_EXPLORATION_GESTURE_START
Represents the event of starting a touch exploration gesture. |
static int |
TYPE_TOUCH_INTERACTION_END
Represents the event of the user ending to touch the screen. |
static int |
TYPE_TOUCH_INTERACTION_START
Represents the event of the user starting to touch the screen. |
static int |
TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED
Represents the event of clearing accessibility focus. |
static int |
TYPE_VIEW_ACCESSIBILITY_FOCUSED
Represents the event of gaining accessibility focus. |
static int |
TYPE_VIEW_HOVER_ENTER
Represents the event of a hover enter over a View. |
static int |
TYPE_VIEW_HOVER_EXIT
Represents the event of a hover exit over a View. |
static int |
TYPE_VIEW_SCROLLED
Represents the event of scrolling a view. |
static int |
TYPE_VIEW_TEXT_SELECTION_CHANGED
Represents the event of changing the selection in an EditText. |
static int |
TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY
Represents the event of traversing the text of a view at a given movement granularity. |
static int |
TYPE_WINDOW_CONTENT_CHANGED
Represents the event of changing the content of a window. |
static int |
TYPES_ALL_MASK
Mask for AccessibilityEvent all types. |
| Method Summary | |
|---|---|
static void |
appendRecord(android.view.accessibility.AccessibilityEvent event,
AccessibilityRecordCompat record)
Appends an AccessibilityRecord to the end of
event records. |
static AccessibilityRecordCompat |
getRecord(android.view.accessibility.AccessibilityEvent event,
int index)
Gets the record at a given index. |
static int |
getRecordCount(android.view.accessibility.AccessibilityEvent event)
Gets the number of records contained in the event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_VIEW_HOVER_ENTER
View.
public static final int TYPE_VIEW_HOVER_EXIT
View.
public static final int TYPE_TOUCH_EXPLORATION_GESTURE_START
public static final int TYPE_TOUCH_EXPLORATION_GESTURE_END
public static final int TYPE_WINDOW_CONTENT_CHANGED
public static final int TYPE_VIEW_SCROLLED
public static final int TYPE_VIEW_TEXT_SELECTION_CHANGED
EditText.
public static final int TYPE_ANNOUNCEMENT
public static final int TYPE_VIEW_ACCESSIBILITY_FOCUSED
public static final int TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED
public static final int TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY
public static final int TYPE_GESTURE_DETECTION_START
public static final int TYPE_GESTURE_DETECTION_END
public static final int TYPE_TOUCH_INTERACTION_START
public static final int TYPE_TOUCH_INTERACTION_END
public static final int TYPES_ALL_MASK
AccessibilityEvent all types.
AccessibilityEvent.TYPE_VIEW_CLICKED,
AccessibilityEvent.TYPE_VIEW_LONG_CLICKED,
AccessibilityEvent.TYPE_VIEW_SELECTED,
AccessibilityEvent.TYPE_VIEW_FOCUSED,
AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED,
AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED,
AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED,
TYPE_VIEW_HOVER_ENTER,
TYPE_VIEW_HOVER_EXIT,
TYPE_TOUCH_EXPLORATION_GESTURE_START,
TYPE_TOUCH_EXPLORATION_GESTURE_END,
TYPE_WINDOW_CONTENT_CHANGED,
TYPE_VIEW_SCROLLED,
TYPE_VIEW_TEXT_SELECTION_CHANGED,
TYPE_ANNOUNCEMENT,
TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY,
TYPE_GESTURE_DETECTION_START,
TYPE_GESTURE_DETECTION_END,
TYPE_TOUCH_INTERACTION_START,
TYPE_TOUCH_INTERACTION_END,
Constant Field Values| Method Detail |
|---|
public static int getRecordCount(android.view.accessibility.AccessibilityEvent event)
public static void appendRecord(android.view.accessibility.AccessibilityEvent event,
AccessibilityRecordCompat record)
AccessibilityRecord to the end of
event records.
record - The record to append.
IllegalStateException - If called from an AccessibilityService.
public static AccessibilityRecordCompat getRecord(android.view.accessibility.AccessibilityEvent event,
int index)
index - The index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||