Lines Matching refs:MotionEvent
33 import android.view.MotionEvent;
985 public boolean onInterceptTouchEvent(MotionEvent ev) {
1002 if ((action == MotionEvent.ACTION_MOVE) &&
1007 switch (action & MotionEvent.ACTION_MASK) {
1008 case MotionEvent.ACTION_MOVE: {
1024 case MotionEvent.ACTION_DOWN: {
1064 case MotionEvent.ACTION_UP:
1065 case MotionEvent.ACTION_CANCEL:
1072 case MotionEvent.ACTION_POINTER_UP:
1085 protected void determineScrollingStart(MotionEvent ev) {
1093 protected void determineScrollingStart(MotionEvent ev, float touchSlopScale) {
1223 public boolean onTouchEvent(MotionEvent ev) {
1231 switch (action & MotionEvent.ACTION_MASK) {
1232 case MotionEvent.ACTION_DOWN:
1251 case MotionEvent.ACTION_MOVE:
1282 case MotionEvent.ACTION_UP:
1356 case MotionEvent.ACTION_CANCEL:
1365 case MotionEvent.ACTION_POINTER_UP:
1374 public boolean onGenericMotionEvent(MotionEvent event) {
1377 case MotionEvent.ACTION_SCROLL: {
1383 hscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
1385 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL);
1386 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL);
1404 private void acquireVelocityTrackerAndAddMovement(MotionEvent ev) {
1418 private void onSecondaryPointerUp(MotionEvent ev) {
1419 final int pointerIndex = (ev.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >>
1420 MotionEvent.ACTION_POINTER_INDEX_SHIFT;
1437 protected void onUnhandledTap(MotionEvent ev) {}
1978 public boolean onHoverEvent(android.view.MotionEvent event) {