1 ...... 2 * <p> 3 * Motion events describe movements in terms of an action code and a set of axis values. 4 * The action code specifies the state change that occurred such as a pointer going 5 * down or up. The axis values describe the position and other movement properties. 6 * </p> 7 ...... 8 public final class MotionEvent extends InputEvent implements Parcelable { 9 public static final int ACTION_DOWN = 0; 10 public static final int ACTION_UP = 1; 11 public static final int ACTION_MOVE = 2; 12 ...... 13 }
【朝花夕拾】Android自定义View篇之(五)Android事件分发机制(上)三个重要方法的处理逻辑 (2)
内容版权声明:除非注明,否则皆为本站原创文章。