Searched refs:mLastMotionX (Results 1 - 5 of 5) sorted by relevance

/frameworks/ex/photoviewer/src/com/android/ex/photo/
H A DPhotoViewPager.java57 private float mLastMotionX; field in class:PhotoViewPager
143 mLastMotionX = x;
145 } else if (ignoreScrollLeft && (x > mLastMotionX)) {
146 mLastMotionX = x;
148 } else if (ignoreScrollRight && (x < mLastMotionX)) {
149 mLastMotionX = x;
157 mLastMotionX = ev.getX();
172 mLastMotionX = MotionEventCompat.getX(ev, newPointerIndex);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewPager.java58 private float mLastMotionX; field in class:PhotoViewPager
144 mLastMotionX = x;
146 } else if (ignoreScrollLeft && (x > mLastMotionX)) {
147 mLastMotionX = x;
149 } else if (ignoreScrollRight && (x < mLastMotionX)) {
150 mLastMotionX = x;
158 mLastMotionX = ev.getX();
173 mLastMotionX = MotionEventCompat.getX(ev, newPointerIndex);
/frameworks/base/core/java/android/widget/
H A DHorizontalScrollView.java78 private int mLastMotionX; field in class:HorizontalScrollView
451 * Locally do absolute value. mLastMotionX is set to the x value
468 final int xDiff = (int) Math.abs(x - mLastMotionX);
471 mLastMotionX = x;
491 mLastMotionX = x;
517 mLastMotionX = (int) ev.getX(index);
523 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId));
562 mLastMotionX = (int) ev.getX();
574 int deltaX = mLastMotionX - x;
589 mLastMotionX
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java166 private float mLastMotionX; field in class:ViewPager
1770 final float dx = x - mLastMotionX;
1776 if (dx != 0 && !isGutterDrag(mLastMotionX, dx) &&
1779 mLastMotionX = x;
1788 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :
1814 mLastMotionX = mInitialMotionX = ev.getX();
1833 if (DEBUG) Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY
1893 mLastMotionX = mInitialMotionX = ev.getX();
1902 final float xDiff = Math.abs(x - mLastMotionX);
1909 mLastMotionX
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java119 protected float mLastMotionX; field in class:PagedView
335 float x = mLastMotionX - mDownMotionX + getScrollX() - mDownScrollX;
353 mLastMotionX = p[0];
543 mLastMotionX = p[0];
1091 mLastMotionX = x;
1145 if (!isTouchPointInCurrentPage((int) mLastMotionX, (int) mLastMotionY)) {
1185 final int xDiff = (int) Math.abs(x - mLastMotionX);
1197 mTotalMotionX += Math.abs(mLastMotionX - x);
1198 mLastMotionX = x;
1325 mDownMotionX = mLastMotionX
[all...]

Completed in 126 milliseconds