Function declaration
Execution flow
Checks whether a sequence of input events is self-consistent.
Filter the touch event to apply security policies.
Handle an initial down.
Check for interception.
Check for cancelation.
Distribute the ACTION_DOWN eventTODO 部分,具体过程如下:(参考 ViewGroup dispatchTouchEvent)
Dispatch to touch targets.
Update list of touch targets for pointer up or cancel, if needed.
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.
- Author:CoderWdd
- URL:https://www.wuinsights.top//article/d571f2ab9f61
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts