Available Methods
- setClassName ( )
- getEventType ( )
- TYPE_WINDOW_STATE_CHANGED
- obtain ( )
- setEnabled ( )
- setPackageName ( )
- setFromIndex ( )
- TYPE_WINDOW_CONTENT_CHANGED
- setItemCount ( )
- setContentDescription ( )
- TYPE_VIEW_FOCUSED
- getText ( )
- getSource ( )
- getItemCount ( )
- TYPE_NOTIFICATION_STATE_CHANGED
- setCurrentItemIndex ( )
- TYPE_VIEW_SCROLLED
- getEventTime ( )
- setToIndex ( )
- setMaxScrollY ( )
- setScrollable ( )
- getParcelableData ( )
- getFromIndex ( )
- setChecked ( )
- setSource ( )
- TYPE_VIEW_ACCESSIBILITY_FOCUSED
- getPackageName ( )
- TYPE_VIEW_TEXT_CHANGED
- TYPE_WINDOWS_CHANGED
- appendRecord ( )
- TYPE_VIEW_CLICKED
- TYPE_VIEW_SELECTED
- TYPES_ALL_MASK
- getRecordCount ( )
- setAddedCount ( )
- getContentDescription ( )
- TYPE_VIEW_TEXT_SELECTION_CHANGED
- getWindowId ( )
- setMaxScrollX ( )
- TYPE_VIEW_HOVER_ENTER
- setBeforeText ( )
- TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED
- isPassword ( )
- getScrollY ( )
- setEventType ( )
- setRemovedCount ( )
- CONTENT_CHANGE_TYPE_CONTENT_DESCRIPTION
- getMaxScrollY ( )
- getScrollDeltaY ( )
- getToIndex ( )
- isFullScreen ( )
- TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY
- TYPE_VIEW_CONTEXT_CLICKED
- TYPE_TOUCH_INTERACTION_END
- TYPE_ANNOUNCEMENT
- TYPE_TOUCH_EXPLORATION_GESTURE_END
- getWindowChanges ( )
- getAddedCount ( )
- getClassName ( )
- getMaxScrollX ( )
- TYPE_VIEW_HOVER_EXIT
- CONTENT_CHANGE_TYPE_PANE_DISAPPEARED
- setScrollY ( )
Related Classes
- android.os.Bundle
- android.content.Context
- android.view.View
- android.util.Log
- android.widget.TextView
- android.content.Intent
- android.view.ViewGroup
- android.os.Build
- android.widget.Button
- android.text.TextUtils
- android.view.MotionEvent
- android.content.pm.PackageManager
- android.content.SharedPreferences
- android.annotation.TargetApi
- android.graphics.Rect
- android.widget.ListView
- android.os.Parcelable
- android.view.KeyEvent
- android.app.PendingIntent
- java.util.concurrent.TimeoutException
- android.preference.PreferenceManager
- android.animation.Animator
- android.os.SystemClock
- android.app.Notification
- android.animation.ObjectAnimator
Java Code Examples for android.view.accessibility.AccessibilityEvent#getWindowChanges()
The following examples show how to use
android.view.accessibility.AccessibilityEvent#getWindowChanges() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ScreenStateMonitor.java From talkback with Apache License 2.0 | 5 votes |
@TargetApi(Build.VERSION_CODES.P) private boolean shouldIgnoreEvent(AccessibilityEvent event) { // Starting from P, we only care about certain types of window changes. return BuildVersionUtils.isAtLeastP() && (event.getEventType() == AccessibilityEvent.TYPE_WINDOWS_CHANGED) && ((event.getWindowChanges() & WINDOW_CHANGES_MASK) == 0); }