Searched defs:mLastMotionX (Results 1 - 5 of 5) sorted by relevance
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewPager.java | 58 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 D | HorizontalScrollView.java | 86 private int mLastMotionX; field in class:HorizontalScrollView 485 * Locally do absolute value. mLastMotionX is set to the x value 502 final int xDiff = (int) Math.abs(x - mLastMotionX); 505 mLastMotionX = x; 525 mLastMotionX = x; 551 mLastMotionX = (int) ev.getX(index); 557 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); 596 mLastMotionX = (int) ev.getX(); 608 int deltaX = mLastMotionX - x; 623 mLastMotionX [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | ViewDragHelper.java | 118 private float[] mLastMotionX; field in class:ViewDragHelper 784 Arrays.fill(mLastMotionX, 0); 798 mLastMotionX[pointerId] = 0; 819 System.arraycopy(mLastMotionX, 0, lmx, 0, mLastMotionX.length); 828 mLastMotionX = lmx; 838 mInitialMotionX[pointerId] = mLastMotionX[pointerId] = x; 854 mLastMotionX[pointerId] = x; 1157 final int idx = (int) (x - mLastMotionX[mActivePointerId]); 1355 final float dx = mLastMotionX[pointerI [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 158 private float mLastMotionX; field in class:ViewPager 1853 final float dx = x - mLastMotionX; 1859 if (dx != 0 && !isGutterDrag(mLastMotionX, dx) && 1862 mLastMotionX = x; 1872 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop : 1898 mLastMotionX = mInitialMotionX = ev.getX(); 1918 if (DEBUG) Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY 1969 mLastMotionX = mInitialMotionX = ev.getX(); 1978 final float xDiff = Math.abs(x - mLastMotionX); 1986 mLastMotionX [all...] |
/frameworks/support/core-ui/java/android/support/v4/view/ |
H A D | ViewPager.java | 193 private float mLastMotionX; field in class:ViewPager 2065 final float dx = x - mLastMotionX; 2071 if (dx != 0 && !isGutterDrag(mLastMotionX, dx) 2074 mLastMotionX = x; 2084 mLastMotionX = dx > 0 2110 mLastMotionX = mInitialMotionX = ev.getX(); 2132 Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY 2191 mLastMotionX = mInitialMotionX = ev.getX(); 2206 final float xDiff = Math.abs(x - mLastMotionX); 2216 mLastMotionX [all...] |
Completed in 283 milliseconds