How Android Handles Touches

 

Touch System overview

Touch Event Framework

Custom Touch Handling

System Provided Touch Handlers

System Provided Gesture Handlers

 

Event metadat: Touch location/Number of pointers/Event time.

A gesture is defined as beginning with Action_DOWN, and end with ACTION_UP

 

Event start at the Activity with dispatchTouchEvent(); 

Event must be consumed by consuming ACTIONDOWN

onTouchEvent();

你可能感兴趣的:(项目管理)