Lines Matching defs:event
32 * of the event stream, an instance should work against the event stream
36 * It is a responsibility of each handler that decides to react to an event
38 * the appropriate cancel event given it has delegated a part of the events
41 * see a consistent event stream.
43 * For example, to cancel a {@link KeyEvent} the handler has to emit an event
46 * has to send an event with action {@link MotionEvent#ACTION_CANCEL}.
48 * It is a responsibility of each handler that received a cancel event to clear its
49 * internal state and to propagate the event to the next one to enable subsequent
53 * after an event that designates the start of a well-formed event sequence.
54 * For example, if it received a down motion event followed by a cancel motion
55 * event, it should not handle subsequent move and up events until it gets a down.
60 * Receives motion event. Passed are the event transformed by previous
61 * transformations and the raw event to which no transformations have
64 * @param event The transformed motion event.
65 * @param rawEvent The raw motion event.
66 * @param policyFlags Policy flags for the event.
68 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags);
71 * Receives an accessibility event.
73 * @param event The accessibility event.
75 public void onAccessibilityEvent(AccessibilityEvent event);