Home
last modified time | relevance | path

Searched refs:mLastMotionX (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java120 protected float mLastMotionX; field in PagedView
330 float x = (mLastMotionX - mDownMotionX) + (getScrollX() - mDownScrollX) + in updateDragViewTranslationDuringDrag()
352 mLastMotionX = p[0]; in setScaleX()
615 mLastMotionX = p[0]; in scrollTo()
1372 mLastMotionX = x; in onInterceptTouchEvent()
1442 final int xDiff = (int) Math.abs(x - mLastMotionX); in determineScrollingStart()
1450 mTotalMotionX += Math.abs(mLastMotionX - x); in determineScrollingStart()
1451 mLastMotionX = x; in determineScrollingStart()
1621 mDownMotionX = mLastMotionX = ev.getX(); in onTouchEvent()
1624 float[] p = mapPointFromViewToParent(this, mLastMotionX, mLastMotionY); in onTouchEvent()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java98 protected float mLastMotionX; field in PagedView
1029 mLastMotionX = x; in onInterceptTouchEvent()
1104 final int xDiff = (int) Math.abs(x - mLastMotionX); in determineScrollingStart()
1116 mTotalMotionX += Math.abs(mLastMotionX - x); in determineScrollingStart()
1117 mLastMotionX = x; in determineScrollingStart()
1242 mDownMotionX = mLastMotionX = ev.getX(); in onTouchEvent()
1256 final float deltaX = mLastMotionX + mLastMotionXRemainder - x; in onTouchEvent()
1272 mLastMotionX = x; in onTouchEvent()
1295 mTotalMotionX += Math.abs(mLastMotionX + mLastMotionXRemainder - x); in onTouchEvent()
1427 mLastMotionX = mDownMotionX = ev.getX(newPointerIndex); in onSecondaryPointerUp()
DPagedViewWithDraggableItems.java136 final int xDiff = (int) Math.abs(x - mLastMotionX); in determineDraggingStart()
/packages/apps/DeskClock/src/com/android/deskclock/
DVerticalViewPager.java31 private float mLastMotionX; field in VerticalViewPager
86 mLastMotionX = x; in onTouchEvent()
93 final float xDiff = Math.abs(x - mLastMotionX); in onTouchEvent()