Lines Matching refs:MotionEvent
26 import android.view.MotionEvent;
33 * use of {@link #onTouchEvent(android.view.MotionEvent)} and {@link android.view.MotionEvent}s to keep
133 public boolean onTouchEvent(MotionEvent event) {
139 * applying the MotionEvent.ACTION_MASK. Alternatively a call to
142 switch (action & MotionEvent.ACTION_MASK) {
144 case MotionEvent.ACTION_DOWN: {
148 * Only one touch event is stored in the MotionEvent. Extract
150 * within the MotionEvent object.
170 case MotionEvent.ACTION_POINTER_DOWN: {
177 * The MotionEvent object contains multiple pointers. Need to
199 case MotionEvent.ACTION_UP: {
207 * the MotionEvent object and remove it from the list of active
220 case MotionEvent.ACTION_POINTER_UP: {
227 * The MotionEvent object contains multiple pointers. Need to
241 case MotionEvent.ACTION_MOVE: {
250 * Data for each pointer is stored in a MotionEvent at an index