Searched refs:mLastMotionX (Results 1 - 6 of 6) 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/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackViewTouchHandler.java | 44 int mLastMotionX, mLastMotionY; field in class:TaskStackViewTouchHandler 135 mInitialMotionX = mLastMotionX = (int) ev.getX(); 139 mActiveTaskView = findViewAtPoint(mLastMotionX, mLastMotionY); 168 mLastMotionX = x; 210 mInitialMotionX = mLastMotionX = (int) ev.getX(); 214 mActiveTaskView = findViewAtPoint(mLastMotionX, mLastMotionY); 231 mLastMotionX = (int) ev.getX(index); 269 mLastMotionX = x; 311 mLastMotionX = (int) ev.getX(newPointerIndex);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ViewDragHelper.java | 118 private float[] mLastMotionX; field in class:ViewDragHelper 782 Arrays.fill(mLastMotionX, 0); 796 mLastMotionX[pointerId] = 0; 817 System.arraycopy(mLastMotionX, 0, lmx, 0, mLastMotionX.length); 826 mLastMotionX = lmx; 836 mInitialMotionX[pointerId] = mLastMotionX[pointerId] = x; 848 mLastMotionX[pointerId] = x; 1145 final int idx = (int) (x - mLastMotionX[mActivePointerId]); 1339 final float dx = mLastMotionX[pointerI [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 177 private float mLastMotionX; field in class:ViewPager 1840 final float dx = x - mLastMotionX; 1846 if (dx != 0 && !isGutterDrag(mLastMotionX, dx) && 1849 mLastMotionX = x; 1859 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop : 1885 mLastMotionX = mInitialMotionX = ev.getX(); 1905 if (DEBUG) Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY 1963 mLastMotionX = mInitialMotionX = ev.getX(); 1972 final float xDiff = Math.abs(x - mLastMotionX); 1980 mLastMotionX [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 82 private int mLastMotionX; field in class:HorizontalScrollView 462 * Locally do absolute value. mLastMotionX is set to the x value 479 final int xDiff = (int) Math.abs(x - mLastMotionX); 482 mLastMotionX = x; 502 mLastMotionX = x; 528 mLastMotionX = (int) ev.getX(index); 534 mLastMotionX = (int) ev.getX(ev.findPointerIndex(mActivePointerId)); 573 mLastMotionX = (int) ev.getX(); 585 int deltaX = mLastMotionX - x; 600 mLastMotionX [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | PagedView.java | 115 protected float mLastMotionX; field in class:PagedView 346 float x = mLastMotionX - mDownMotionX + getScrollX() - mDownScrollX; 364 mLastMotionX = p[0]; 579 mLastMotionX = p[0]; 1175 if (!isTouchPointInCurrentPage((int) mLastMotionX, (int) mLastMotionY)) { 1213 mDownMotionX = mLastMotionX = ev.getX(); 1216 float[] p = mapPointFromViewToParent(this, mLastMotionX, mLastMotionY); 1268 final int xDiff = (int) Math.abs(x - mLastMotionX); 1284 mTotalMotionX += Math.abs(mLastMotionX - x); 1285 mLastMotionX [all...] |
Completed in 174 milliseconds