Lines Matching refs:event

30         public void setContentChangeTypes(AccessibilityEvent event, int types) {
33 public int getContentChangeTypes(AccessibilityEvent event) {
37 public void setMovementGranularity(AccessibilityEvent event, int granularity) {
40 public int getMovementGranularity(AccessibilityEvent event) {
44 public void setAction(AccessibilityEvent event, int action) {
47 public int getAction(AccessibilityEvent event) {
55 public void setMovementGranularity(AccessibilityEvent event, int granularity) {
56 event.setMovementGranularity(granularity);
60 public int getMovementGranularity(AccessibilityEvent event) {
61 return event.getMovementGranularity();
65 public void setAction(AccessibilityEvent event, int action) {
66 event.setAction(action);
70 public int getAction(AccessibilityEvent event) {
71 return event.getAction();
79 public void setContentChangeTypes(AccessibilityEvent event, int types) {
80 event.setContentChangeTypes(types);
84 public int getContentChangeTypes(AccessibilityEvent event) {
85 return event.getContentChangeTypes();
102 * Represents the event of a hover enter over a {@link android.view.View}.
109 * Represents the event of a hover exit over a {@link android.view.View}.
116 * Represents the event of starting a touch exploration gesture.
124 * Represents the event of ending a touch exploration gesture.
132 * Represents the event of changing the content of a window.
140 * Represents the event of scrolling a view.
147 * Represents the event of changing the selection in an {@link android.widget.EditText}.
155 * Represents the event of an application making an announcement.
160 * Represents the event of gaining accessibility focus.
165 * Represents the event of clearing accessibility focus.
170 * Represents the event of traversing the text of a view at a given movement granularity.
175 * Represents the event of beginning gesture detection.
180 * Represents the event of ending gesture detection.
185 * Represents the event of the user starting to touch the screen.
190 * Represents the event of the user ending to touch the screen.
195 * Represents the event change in the windows shown on the screen.
200 * Represents the event of a context click on a {@link android.view.View}.
205 * Represents the event of the assistant currently reading the users screen context.
210 * Change type for {@link #TYPE_WINDOW_CONTENT_CHANGED} event:
216 * Change type for {@link #TYPE_WINDOW_CONTENT_CHANGED} event:
222 * Change type for {@link #TYPE_WINDOW_CONTENT_CHANGED} event:
228 * Change type for {@link #TYPE_WINDOW_CONTENT_CHANGED} event:
270 * Gets the number of records contained in the event.
277 public static int getRecordCount(AccessibilityEvent event) {
278 return event.getRecordCount();
283 * event records.
292 public static void appendRecord(AccessibilityEvent event, AccessibilityRecordCompat record) {
293 event.appendRecord((AccessibilityRecord) record.getImpl());
305 public static AccessibilityRecordCompat getRecord(AccessibilityEvent event, int index) {
306 return new AccessibilityRecordCompat(event.getRecord(index));
311 * that can be used to manipulate the event properties defined in
316 * in case you want to recycle the event.
319 * @param event The from which to create a record.
325 public static AccessibilityRecordCompat asRecord(AccessibilityEvent event) {
326 return new AccessibilityRecordCompat(event);
331 * {@link #TYPE_WINDOW_CONTENT_CHANGED} event.
337 public static void setContentChangeTypes(AccessibilityEvent event, int changeTypes) {
338 IMPL.setContentChangeTypes(event, changeTypes);
343 * {@link #TYPE_WINDOW_CONTENT_CHANGED} event. A single event may represent
354 public static int getContentChangeTypes(AccessibilityEvent event) {
355 return IMPL.getContentChangeTypes(event);
365 public void setMovementGranularity(AccessibilityEvent event, int granularity) {
366 IMPL.setMovementGranularity(event, granularity);
374 public int getMovementGranularity(AccessibilityEvent event) {
375 return IMPL.getMovementGranularity(event);
379 * Sets the performed action that triggered this event.
395 public void setAction(AccessibilityEvent event, int action) {
396 IMPL.setAction(event, action);
400 * Gets the performed action that triggered this event.
404 public int getAction(AccessibilityEvent event) {
405 return IMPL.getAction(event);