Home
last modified time | relevance | path

Searched refs:mLastMotionX (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java58 private float mLastMotionX; field in PhotoViewPager
144 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()
/frameworks/support/customview/src/main/java/androidx/customview/widget/
DViewDragHelper.java122 private float[] mLastMotionX; field in ViewDragHelper
795 Arrays.fill(mLastMotionX, 0); in clearMotionHistory()
809 mLastMotionX[pointerId] = 0; in clearMotionHistory()
830 System.arraycopy(mLastMotionX, 0, lmx, 0, mLastMotionX.length); in ensureMotionHistorySizeForId()
839 mLastMotionX = lmx; in ensureMotionHistorySizeForId()
849 mInitialMotionX[pointerId] = mLastMotionX[pointerId] = x; in saveInitialMotion()
865 mLastMotionX[pointerId] = x; in saveLastMotion()
1168 final int idx = (int) (x - mLastMotionX[mActivePointerId]); in processTouchEvent()
1366 final float dx = mLastMotionX[pointerId] - mInitialMotionX[pointerId]; in checkTouchSlop()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java86 private int mLastMotionX; field in HorizontalScrollView
502 final int xDiff = (int) Math.abs(x - mLastMotionX); in onInterceptTouchEvent()
505 mLastMotionX = x; in onInterceptTouchEvent()
525 mLastMotionX = x; in onInterceptTouchEvent()
551 mLastMotionX = (int) ev.getX(index); in onInterceptTouchEvent()
557 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); in onInterceptTouchEvent()
596 mLastMotionX = (int) ev.getX(); in onTouchEvent()
608 int deltaX = mLastMotionX - x; in onTouchEvent()
623 mLastMotionX = x; in onTouchEvent()
720 mLastMotionX = (int) ev.getX(newPointerIndex); in onSecondaryPointerUp()
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
DViewPager.java199 private float mLastMotionX; field in ViewPager
2073 final float dx = x - mLastMotionX;
2079 if (dx != 0 && !isGutterDrag(mLastMotionX, dx)
2082 mLastMotionX = x;
2092 mLastMotionX = dx > 0
2118 mLastMotionX = mInitialMotionX = ev.getX();
2140 Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY
2199 mLastMotionX = mInitialMotionX = ev.getX();
2214 final float xDiff = Math.abs(x - mLastMotionX);
2224 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java159 private float mLastMotionX; field in ViewPager
1855 final float dx = x - mLastMotionX;
1861 if (dx != 0 && !isGutterDrag(mLastMotionX, dx) &&
1864 mLastMotionX = x;
1874 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :
1900 mLastMotionX = mInitialMotionX = ev.getX();
1920 if (DEBUG) Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY
1971 mLastMotionX = mInitialMotionX = ev.getX();
1980 final float xDiff = Math.abs(x - mLastMotionX);
1988 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
[all …]
/frameworks/base/config/
Dhiddenapi-light-greylist.txt6998 Landroid/widget/HorizontalScrollView;->mLastMotionX:I