Lines Matching refs:ev
67 public boolean onInterceptTouchEvent(MotionEvent ev) {
71 mSwipeDetector.onTouchEvent(ev);
72 return super.onInterceptTouchEvent(ev) || mOverScrollHelper.isInOverScroll();
76 public boolean onTouchEvent(MotionEvent ev) {
80 mSwipeDetector.onTouchEvent(ev);
81 return super.onTouchEvent(ev);
91 public boolean shouldIntercept(MotionEvent ev) {
92 if (ev.getY() > (getBottom() - mFooterHeight)) {
96 if (ev.getActionMasked() == MotionEvent.ACTION_DOWN) {
97 mLastMotionY = (int) ev.getY();
98 } else if (ev.getActionMasked() == MotionEvent.ACTION_MOVE) {
101 if (mLastMotionY >= 0 && Math.abs(ev.getY() - mLastMotionY) > mTouchSlop
104 mLastMotionY = (int) ev.getY();
107 } else if (ev.getActionMasked() == MotionEvent.ACTION_CANCEL
108 || ev.getActionMasked() == MotionEvent.ACTION_UP) {