/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityCacheTest.java | 92 AccessibilityEvent event = AccessibilityEvent.obtain(); in testEmptyCache_a11yEventsHaveNoEffect() 94 AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED, in testEmptyCache_a11yEventsHaveNoEffect() 95 AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED, in testEmptyCache_a11yEventsHaveNoEffect() 96 AccessibilityEvent.TYPE_VIEW_FOCUSED, in testEmptyCache_a11yEventsHaveNoEffect() 97 AccessibilityEvent.TYPE_VIEW_SELECTED, in testEmptyCache_a11yEventsHaveNoEffect() 98 AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED, in testEmptyCache_a11yEventsHaveNoEffect() 99 AccessibilityEvent.TYPE_VIEW_CLICKED, in testEmptyCache_a11yEventsHaveNoEffect() 100 AccessibilityEvent.TYPE_VIEW_TEXT_SELECTION_CHANGED, in testEmptyCache_a11yEventsHaveNoEffect() 101 AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED, in testEmptyCache_a11yEventsHaveNoEffect() 102 AccessibilityEvent.TYPE_VIEW_SCROLLED, in testEmptyCache_a11yEventsHaveNoEffect() [all …]
|
D | AccessibilityEventTest.java | 55 AccessibilityEvent event = AccessibilityEvent.obtain(); in testImportantForAccessibiity_getSetWorkAcrossParceling() 66 AccessibilityEvent event = AccessibilityEvent.obtain(); in testSouceNodeId_getSetWorkAcrossParceling() 73 final int windowChanges = AccessibilityEvent.WINDOWS_CHANGE_TITLE in testWindowChanges_getSetWorkAcrossParceling() 74 | AccessibilityEvent.WINDOWS_CHANGE_ACTIVE in testWindowChanges_getSetWorkAcrossParceling() 75 | AccessibilityEvent.WINDOWS_CHANGE_FOCUSED; in testWindowChanges_getSetWorkAcrossParceling() 76 AccessibilityEvent event = AccessibilityEvent.obtain(); in testWindowChanges_getSetWorkAcrossParceling() 90 AccessibilityEvent.class, A11Y_EVENT_NON_STATIC_FIELD_COUNT); in dontForgetToUpdateA11yEventCtsParcelingTestWhenYouAddNewFields() 93 private AccessibilityEvent copyEventViaParcel(AccessibilityEvent event) { in copyEventViaParcel() 97 return AccessibilityEvent.CREATOR.createFromParcel(parcel); in copyEventViaParcel()
|
D | RecycleAccessibilityEventTest.java | 43 AccessibilityEvent first = in testAccessibilityEventViewTextChangedType() 44 AccessibilityEvent.obtain(AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED); in testAccessibilityEventViewTextChangedType() 69 assertEquals(AccessibilityEvent.INVALID_POSITION, first.getCurrentItemIndex()); in testAccessibilityEventViewTextChangedType() 77 AccessibilityEvent second = AccessibilityEvent.obtain(); in testAccessibilityEventViewTextChangedType()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityCache.java | 50 AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED 51 | AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED 52 | AccessibilityEvent.TYPE_VIEW_FOCUSED 53 | AccessibilityEvent.TYPE_VIEW_SELECTED 54 | AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED 55 | AccessibilityEvent.TYPE_VIEW_CLICKED 56 | AccessibilityEvent.TYPE_VIEW_TEXT_SELECTION_CHANGED 57 | AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED 58 | AccessibilityEvent.TYPE_VIEW_SCROLLED 59 | AccessibilityEvent.TYPE_WINDOWS_CHANGED [all …]
|
D | AccessibilityEvent.java | 392 public final class AccessibilityEvent extends AccessibilityRecord implements Parcelable { class 757 private static final SynchronizedPool<AccessibilityEvent> sPool = 786 private AccessibilityEvent() { in AccessibilityEvent() method in AccessibilityEvent 794 void init(AccessibilityEvent event) { in init() 894 return BitUtils.flagsToString(types, AccessibilityEvent::singleContentChangeTypeToString); in contentChangeTypesToString() 942 return BitUtils.flagsToString(types, AccessibilityEvent::singleWindowChangeTypeToString); in windowChangeTypesToString() 1080 public static AccessibilityEvent obtainWindowsChangedEvent( in obtainWindowsChangedEvent() 1082 final AccessibilityEvent event = AccessibilityEvent.obtain(TYPE_WINDOWS_CHANGED); in obtainWindowsChangedEvent() 1096 public static AccessibilityEvent obtain(int eventType) { in obtain() 1097 AccessibilityEvent event = AccessibilityEvent.obtain(); in obtain() [all …]
|
D | AccessibilityWindowInfo.java | 27 import android.view.accessibility.AccessibilityEvent.WindowsChangeTypes; 752 changes |= AccessibilityEvent.WINDOWS_CHANGE_TITLE; in differenceFrom() 756 changes |= AccessibilityEvent.WINDOWS_CHANGE_BOUNDS; in differenceFrom() 759 changes |= AccessibilityEvent.WINDOWS_CHANGE_LAYER; in differenceFrom() 763 changes |= AccessibilityEvent.WINDOWS_CHANGE_ACTIVE; in differenceFrom() 767 changes |= AccessibilityEvent.WINDOWS_CHANGE_FOCUSED; in differenceFrom() 771 changes |= AccessibilityEvent.WINDOWS_CHANGE_ACCESSIBILITY_FOCUSED; in differenceFrom() 775 changes |= AccessibilityEvent.WINDOWS_CHANGE_PIP; in differenceFrom() 778 changes |= AccessibilityEvent.WINDOWS_CHANGE_PARENT; in differenceFrom() 781 changes |= AccessibilityEvent.WINDOWS_CHANGE_CHILDREN; in differenceFrom()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 26 import android.view.accessibility.AccessibilityEvent; 188 final AccessibilityEvent event = createEvent(virtualViewId, eventType); in sendEventForVirtualView() 200 invalidateVirtualView(HOST_ID, AccessibilityEvent.CONTENT_CHANGE_TYPE_SUBTREE); in invalidateRoot() 216 AccessibilityEvent.CONTENT_CHANGE_TYPE_UNDEFINED); in invalidateVirtualView() 241 final AccessibilityEvent event = createEvent(virtualViewId, in invalidateVirtualView() 242 AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED); in invalidateVirtualView() 277 sendEventForVirtualView(virtualViewId, AccessibilityEvent.TYPE_VIEW_HOVER_ENTER); in updateHoveredVirtualView() 278 sendEventForVirtualView(previousVirtualViewId, AccessibilityEvent.TYPE_VIEW_HOVER_EXIT); in updateHoveredVirtualView() 291 private AccessibilityEvent createEvent(int virtualViewId, int eventType) { in createEvent() 307 private AccessibilityEvent createEventForHost(int eventType) { in createEventForHost() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 33 import android.view.accessibility.AccessibilityEvent; 78 public boolean accept(AccessibilityEvent t) { in accept() 96 List<AccessibilityEvent> mEventsList; 98 EventCollectingPredicate(int mask, List<AccessibilityEvent> events) { in EventCollectingPredicate() 104 public boolean accept(AccessibilityEvent t) { in accept() 109 mEventsList.add(AccessibilityEvent.obtain(t)); in accept() 127 public boolean accept(AccessibilityEvent t) { in accept() 155 private AccessibilityEvent runAndWaitForEvents(Runnable command, in runAndWaitForEvents() 239 AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED | in clickAndSync() 240 AccessibilityEvent.TYPE_VIEW_SELECTED), timeout) != null; in clickAndSync() [all …]
|
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
D | AELogger.java | 20 import android.view.accessibility.AccessibilityEvent; 29 AccessibilityEvent.TYPE_VIEW_CLICKED | AccessibilityEvent.TYPE_VIEW_LONG_CLICKED; 44 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent() 49 final String eventType = AccessibilityEvent.eventTypeToString(event.getEventType()); in onAccessibilityEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityManagerTest.java | 33 import android.view.accessibility.AccessibilityEvent; 81 AccessibilityEvent.TYPES_ALL_MASK); in createManager() 138 AccessibilityEvent sentEvent = AccessibilityEvent.obtain( in testSendAccessibilityEvent_AccessibilityEnabled() 139 AccessibilityEvent.TYPE_ANNOUNCEMENT); in testSendAccessibilityEvent_AccessibilityEnabled() 144 assertSame("The event should be recycled.", sentEvent, AccessibilityEvent.obtain()); in testSendAccessibilityEvent_AccessibilityEnabled() 149 AccessibilityEvent sentEvent = AccessibilityEvent.obtain(); in testSendAccessibilityEvent_AccessibilityDisabled()
|
/frameworks/layoutlib/bridge/src/android/view/accessibility/ |
D | AccessibilityManager.java | 28 import android.view.accessibility.AccessibilityEvent.EventType; 117 @Nullable AccessibilityEvent onAccessibilityEvent(@NonNull AccessibilityEvent event, in onAccessibilityEvent() 214 public void sendAccessibilityEvent(AccessibilityEvent event) { in sendAccessibilityEvent() 225 public boolean isObservedEventType(@AccessibilityEvent.EventType int type) { in isObservedEventType()
|
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelperTest.java | 36 import android.view.accessibility.AccessibilityEvent; 89 AccessibilityEvent event = AccessibilityEvent.obtain(); in testOnPopulateEventForVirtualView() 102 AccessibilityEvent event = AccessibilityEvent.obtain(); in testOnPopulateEventForVirtualViewHost() 262 AccessibilityEvent accessibilityEvent = in testMethodDelegation() 263 AccessibilityEvent.obtain(AccessibilityEvent.TYPE_VIEW_CLICKED); in testMethodDelegation() 265 helper.sendAccessibilityEvent(mTextView, AccessibilityEvent.TYPE_VIEW_CLICKED); in testMethodDelegation() 267 .sendAccessibilityEvent(same(mTextView), eq(AccessibilityEvent.TYPE_VIEW_CLICKED)); in testMethodDelegation() 344 public void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | Util.java | 8 import android.view.accessibility.AccessibilityEvent; 47 final int eventType = AccessibilityEvent.TYPE_VIEW_FOCUSED; in announceForAccessibility() 51 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType); in announceForAccessibility()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockAccessibilityDelegateTest.java | 24 import android.view.accessibility.AccessibilityEvent; 57 AccessibilityEvent ev = AccessibilityEvent.obtain(); in onInitializeAccessibilityEvent_producesNonEmptyAsciiContentDesc() 66 AccessibilityEvent ev = AccessibilityEvent.obtain(); in onPopulateAccessibilityEvent_producesNonEmptyAsciiText()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | AccessibleDateAnimator.java | 22 import android.view.accessibility.AccessibilityEvent; 40 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent() 41 if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED) { in dispatchPopulateAccessibilityEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | TouchExplorer.java | 28 import android.view.accessibility.AccessibilityEvent; 198 AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_END, in TouchExplorer() 201 AccessibilityEvent.TYPE_TOUCH_INTERACTION_END, in TouchExplorer() 320 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent() 326 && eventType == AccessibilityEvent.TYPE_VIEW_HOVER_EXIT) { in onAccessibilityEvent() 328 sendAccessibilityEvent(AccessibilityEvent.TYPE_TOUCH_EXPLORATION_GESTURE_END); in onAccessibilityEvent() 334 && eventType == AccessibilityEvent.TYPE_VIEW_HOVER_EXIT) { in onAccessibilityEvent() 336 sendAccessibilityEvent(AccessibilityEvent.TYPE_TOUCH_INTERACTION_END); in onAccessibilityEvent() 342 case AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED: in onAccessibilityEvent() 343 case AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED: { in onAccessibilityEvent() [all …]
|
D | AccessibilityManagerService.java | 26 import static android.view.accessibility.AccessibilityEvent.WINDOWS_CHANGE_ACCESSIBILITY_FOCUSED; 101 import android.view.accessibility.AccessibilityEvent; 569 public void sendAccessibilityEvent(AccessibilityEvent event, int userId) { in sendAccessibilityEvent() 605 this, AccessibilityEvent.obtain(event))); in sendAccessibilityEvent() 614 if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED in sendAccessibilityEvent() 631 private void sendAccessibilityEventToInputFilter(AccessibilityEvent event) { in sendAccessibilityEventToInputFilter() 1137 AccessibilityEvent event = AccessibilityEvent.obtain( in announceNewUserIfNeeded() 1138 AccessibilityEvent.TYPE_ANNOUNCEMENT); in announceNewUserIfNeeded() 1446 private void notifyAccessibilityServicesDelayedLocked(AccessibilityEvent event, in notifyAccessibilityServicesDelayedLocked() 2469 private void sendAccessibilityEventLocked(AccessibilityEvent event, int userId) { in sendAccessibilityEventLocked() [all …]
|
/frameworks/base/core/java/android/app/ |
D | UiAutomation.java | 50 import android.view.accessibility.AccessibilityEvent; 127 private final ArrayList<AccessibilityEvent> mEventQueue = new ArrayList<AccessibilityEvent>(); 170 public void onAccessibilityEvent(AccessibilityEvent event); in onAccessibilityEvent() 185 public boolean accept(AccessibilityEvent event); in accept() 678 public AccessibilityEvent executeAndWaitForEvent(Runnable command, in executeAndWaitForEvent() 697 List<AccessibilityEvent> receivedEvents = new ArrayList<>(); in executeAndWaitForEvent() 704 List<AccessibilityEvent> localEvents = new ArrayList<>(); in executeAndWaitForEvent() 711 AccessibilityEvent event = localEvents.remove(0); in executeAndWaitForEvent() 1241 public void onAccessibilityEvent(AccessibilityEvent event) { in IAccessibilityServiceClientImpl() 1246 mEventQueue.add(AccessibilityEvent.obtain(event)); in IAccessibilityServiceClientImpl() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertActivity.java | 26 import android.view.accessibility.AccessibilityEvent; 72 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent() 77 AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent()
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelper.java | 35 import android.view.accessibility.AccessibilityEvent; 94 public void sendAccessibilityEventUnchecked(View host, AccessibilityEvent event) { in sendAccessibilityEventUnchecked() 99 public boolean dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent() 104 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent() 109 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() 120 ViewGroup host, View child, AccessibilityEvent event) { in onRequestSendAccessibilityEvent() 185 protected void onPopulateEventForVirtualView(int virtualViewId, AccessibilityEvent event) { in onPopulateEventForVirtualView()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillCompatAccessibilityService.java | 20 import android.view.accessibility.AccessibilityEvent; 27 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockAccessibilityDelegate.java | 22 import android.view.accessibility.AccessibilityEvent; 37 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() 49 public void onPopulateAccessibilityEvent(View host, AccessibilityEvent event) { in onPopulateAccessibilityEvent()
|
/frameworks/base/core/java/com/android/internal/globalactions/ |
D | ActionsDialog.java | 23 import android.view.accessibility.AccessibilityEvent; 66 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { in dispatchPopulateAccessibilityEvent() 67 if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED) { in dispatchPopulateAccessibilityEvent()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
D | AccessibleTextView.java | 21 import android.view.accessibility.AccessibilityEvent; 39 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { in onInitializeAccessibilityEvent()
|
D | AccessibleLinearLayout.java | 21 import android.view.accessibility.AccessibilityEvent; 39 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { in onInitializeAccessibilityEvent()
|