Function declaration

Execution flow

  1. Checks whether a sequence of input events is self-consistent.
    1. Filter the touch event to apply security policies.
      1. Handle an initial down.
        1. Check for interception.
          1. Check for cancelation.
            1. Distribute the ACTION_DOWN eventTODO 部分,具体过程如下:(参考 ViewGroup dispatchTouchEvent
              1. Dispatch to touch targets.
                1. Update list of touch targets for pointer up or cancel, if needed.
                  1. If the event still was not intercepted. Then, notifies the verifier that a given event was unhandled and the rest of the trace for the event should be ignored.
                    1.  
                  Leetcode_Offer_38-字符串的排列View dispatchTouchEvent
                  Loading...