Searched refs: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 | 78 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/widget/ |
H A D | ViewDragHelper.java | 118 private float[] mLastMotionX; field in class:ViewDragHelper 775 Arrays.fill(mLastMotionX, 0); 789 mLastMotionX[pointerId] = 0; 810 System.arraycopy(mLastMotionX, 0, lmx, 0, mLastMotionX.length); 819 mLastMotionX = lmx; 829 mInitialMotionX[pointerId] = mLastMotionX[pointerId] = x; 841 mLastMotionX[pointerId] = x; 1114 final int idx = (int) (x - mLastMotionX[mActivePointerId]); 1308 final float dx = mLastMotionX[pointerI [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 172 private float mLastMotionX; field in class:ViewPager 1835 final float dx = x - mLastMotionX; 1841 if (dx != 0 && !isGutterDrag(mLastMotionX, dx) && 1844 mLastMotionX = x; 1853 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop : 1879 mLastMotionX = mInitialMotionX = ev.getX(); 1898 if (DEBUG) Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY 1958 mLastMotionX = mInitialMotionX = ev.getX(); 1967 final float xDiff = Math.abs(x - mLastMotionX); 1974 mLastMotionX [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | PagedView.java | 119 protected float mLastMotionX; field in class:PagedView 335 float x = mLastMotionX - mDownMotionX + getScrollX() - mDownScrollX; 353 mLastMotionX = p[0]; 543 mLastMotionX = p[0]; 1093 mLastMotionX = x; 1147 if (!isTouchPointInCurrentPage((int) mLastMotionX, (int) mLastMotionY)) { 1187 final int xDiff = (int) Math.abs(x - mLastMotionX); 1199 mTotalMotionX += Math.abs(mLastMotionX - x); 1200 mLastMotionX = x; 1327 mDownMotionX = mLastMotionX [all...] |
Completed in 93 milliseconds