Searched refs:mLastMotionX (Results 1 – 3 of 3) sorted by relevance
58 private float mLastMotionX; field in PhotoViewPager144 mLastMotionX = x; in onInterceptTouchEvent()146 } else if (ignoreScrollLeft && (x > mLastMotionX)) { in onInterceptTouchEvent()147 mLastMotionX = x; in onInterceptTouchEvent()149 } else if (ignoreScrollRight && (x < mLastMotionX)) { in onInterceptTouchEvent()150 mLastMotionX = x; in onInterceptTouchEvent()158 mLastMotionX = ev.getX(); in onInterceptTouchEvent()173 mLastMotionX = MotionEventCompat.getX(ev, newPointerIndex); in onInterceptTouchEvent()
112 private int mLastMotionX; field in HorizontalScrollView607 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent()610 mLastMotionX = x; in onInterceptTouchEvent()630 mLastMotionX = x; in onInterceptTouchEvent()664 mLastMotionX = (int) ev.getX(index); in onInterceptTouchEvent()670 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onInterceptTouchEvent()709 mLastMotionX = (int) ev.getX(); in onTouchEvent()721 int deltaX = mLastMotionX - x; in onTouchEvent()736 mLastMotionX = x; in onTouchEvent()844 mLastMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()
161 private float mLastMotionX; field in ViewPager1861 final float dx = x - mLastMotionX;1867 if (dx != 0 && !isGutterDrag(mLastMotionX, dx) &&1870 mLastMotionX = x;1880 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :1906 mLastMotionX = mInitialMotionX = ev.getX();1937 if (DEBUG) Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY1988 mLastMotionX = mInitialMotionX = ev.getX();1997 final float xDiff = Math.abs(x - mLastMotionX);2005 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :[all …]