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.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/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.java165 private float mLastMotionX; field in class:ViewPager
1769 final float dx = x - mLastMotionX;
1775 if (dx != 0 && !isGutterDrag(mLastMotionX, dx) &&
1778 mInitialMotionX = mLastMotionX = x;
1787 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();
1901 final float xDiff = Math.abs(x - mLastMotionX);
1908 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];
1084 mLastMotionX = x;
1138 if (!isTouchPointInViewport((int) mLastMotionX, (int) mLastMotionY, false)) {
1178 final int xDiff = (int) Math.abs(x - mLastMotionX);
1190 mTotalMotionX += Math.abs(mLastMotionX - x);
1191 mLastMotionX = x;
1318 mDownMotionX = mLastMotionX
[all...]

Completed in 4292 milliseconds