public AccessibilityEvent dequeue(){
  if (mEventQueue.isEmpty()) {
    return null;
  }
  final AccessibilityEvent event=mEventQueue.remove(0);
  if (event != null && AccessibilityEventUtils.eventMatchesAnyType(event,MASK_LIMITED_EVENT_TYPES)) {
    final int eventType=event.getEventType();
    final int eventCountOfType=mQualifyingEvents.get(eventType,0);
    mQualifyingEvents.put(eventType,(eventCountOfType - 1));
  }
  return event;
}

public AccessibilityEvent dequeue ( ) { if ( mEventQueue . isEmpty ( ) ) { return null ; } final AccessibilityEvent event = mEventQueue . remove ( 0 ) ; if ( event != null && AccessibilityEventUtils . eventMatchesAnyType ( event , MASK_LIMITED_EVENT_TYPES ) ) { final int eventType = event . getEventType ( ) ; final int eventCountOfType = mQualifyingEvents . get ( eventType , 0 ) ; mQualifyingEvents . put ( eventType , ( eventCountOfType - 1 ) ) ; } return event ; }
removes and returns an accessibilityevent from the front of the event queue .
