Home
last modified time | relevance | path

Searched refs:mInitialMotionX (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/core-ui/java/android/support/v4/widget/
DViewDragHelper.java116 private float[] mInitialMotionX; field in ViewDragHelper
779 if (mInitialMotionX == null) { in clearMotionHistory()
782 Arrays.fill(mInitialMotionX, 0); in clearMotionHistory()
793 if (mInitialMotionX == null || !isPointerDown(pointerId)) { in clearMotionHistory()
796 mInitialMotionX[pointerId] = 0; in clearMotionHistory()
807 if (mInitialMotionX == null || mInitialMotionX.length <= pointerId) { in ensureMotionHistorySizeForId()
816 if (mInitialMotionX != null) { in ensureMotionHistorySizeForId()
817 System.arraycopy(mInitialMotionX, 0, imx, 0, mInitialMotionX.length); in ensureMotionHistorySizeForId()
826 mInitialMotionX = imx; in ensureMotionHistorySizeForId()
838 mInitialMotionX[pointerId] = mLastMotionX[pointerId] = x; in saveInitialMotion()
[all …]
DSlidingPaneLayout.java178 private float mInitialMotionX; field in SlidingPaneLayout
795 mInitialMotionX = x; in onInterceptTouchEvent()
808 final float adx = Math.abs(x - mInitialMotionX); in onInterceptTouchEvent()
838 mInitialMotionX = x; in onTouchEvent()
847 final float dx = x - mInitialMotionX; in onTouchEvent()
DDrawerLayout.java212 private float mInitialMotionX; field in DrawerLayout
1449 mInitialMotionX = x; in onInterceptTouchEvent()
1494 mInitialMotionX = x; in onTouchEvent()
1507 final float dx = x - mInitialMotionX; in onTouchEvent()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTabStrip.java75 private float mInitialMotionX; field in PagerTabStrip
236 mInitialMotionX = x; in onTouchEvent()
242 if (Math.abs(x - mInitialMotionX) > mTouchSlop in onTouchEvent()
DViewPager.java195 private float mInitialMotionX; field in ViewPager
2085 ? mInitialMotionX + mTouchSlop : mInitialMotionX - mTouchSlop;
2110 mLastMotionX = mInitialMotionX = ev.getX();
2191 mLastMotionX = mInitialMotionX = ev.getX();
2216 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
2217 mInitialMotionX - mTouchSlop;
2252 final int totalDelta = (int) (x - mInitialMotionX);
2525 mInitialMotionX = mLastMotionX = 0;
2560 final int totalDelta = (int) (mLastMotionX - mInitialMotionX);
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java160 private float mInitialMotionX; field in ViewPager
1872 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :
1873 mInitialMotionX - mTouchSlop;
1898 mLastMotionX = mInitialMotionX = ev.getX();
1969 mLastMotionX = mInitialMotionX = ev.getX();
1986 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
1987 mInitialMotionX - mTouchSlop;
2028 final int totalDelta = (int) (x - mInitialMotionX);