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()
107 private int mLastMotionX; field in HorizontalScrollView600 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent()603 mLastMotionX = x; in onInterceptTouchEvent()623 mLastMotionX = x; in onInterceptTouchEvent()649 mLastMotionX = (int) ev.getX(index); in onInterceptTouchEvent()655 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onInterceptTouchEvent()694 mLastMotionX = (int) ev.getX(); in onTouchEvent()706 int deltaX = mLastMotionX - x; in onTouchEvent()721 mLastMotionX = x; in onTouchEvent()818 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();1926 if (DEBUG) Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY1977 mLastMotionX = mInitialMotionX = ev.getX();1986 final float xDiff = Math.abs(x - mLastMotionX);1994 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :[all …]