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()
122 private int mLastMotionX; field in HorizontalScrollView617 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent()620 mLastMotionX = x; in onInterceptTouchEvent()640 mLastMotionX = x; in onInterceptTouchEvent()674 mLastMotionX = (int) ev.getX(index); in onInterceptTouchEvent()680 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onInterceptTouchEvent()719 mLastMotionX = (int) ev.getX(); in onTouchEvent()731 int deltaX = mLastMotionX - x; in onTouchEvent()746 mLastMotionX = x; in onTouchEvent()854 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 …]