Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java116 private float[] mInitialMotionX; field in ViewDragHelper
770 if (mInitialMotionX == null) { in clearMotionHistory()
773 Arrays.fill(mInitialMotionX, 0); in clearMotionHistory()
784 if (mInitialMotionX == null) { in clearMotionHistory()
787 mInitialMotionX[pointerId] = 0; in clearMotionHistory()
798 if (mInitialMotionX == null || mInitialMotionX.length <= pointerId) { in ensureMotionHistorySizeForId()
807 if (mInitialMotionX != null) { in ensureMotionHistorySizeForId()
808 System.arraycopy(mInitialMotionX, 0, imx, 0, mInitialMotionX.length); in ensureMotionHistorySizeForId()
817 mInitialMotionX = imx; in ensureMotionHistorySizeForId()
829 mInitialMotionX[pointerId] = mLastMotionX[pointerId] = x; in saveInitialMotion()
[all …]
DSlidingPaneLayout.java169 private float mInitialMotionX; field in SlidingPaneLayout
757 mInitialMotionX = x; in onInterceptTouchEvent()
770 final float adx = Math.abs(x - mInitialMotionX); in onInterceptTouchEvent()
801 mInitialMotionX = x; in onTouchEvent()
810 final float dx = x - mInitialMotionX; in onTouchEvent()
DDrawerLayout.java153 private float mInitialMotionX; field in DrawerLayout
877 mInitialMotionX = x; in onInterceptTouchEvent()
920 mInitialMotionX = x; in onTouchEvent()
933 final float dx = x - mInitialMotionX; in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTabStrip.java71 private float mInitialMotionX; field in PagerTabStrip
231 mInitialMotionX = x; in onTouchEvent()
237 if (Math.abs(x - mInitialMotionX) > mTouchSlop || in onTouchEvent()
DViewPager.java174 private float mInitialMotionX; field in ViewPager
1854 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :
1855 mInitialMotionX - mTouchSlop;
1880 mLastMotionX = mInitialMotionX = ev.getX();
1958 mLastMotionX = mInitialMotionX = ev.getX();
1975 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
1976 mInitialMotionX - mTouchSlop;
2012 final int totalDelta = (int) (x - mInitialMotionX);
2278 mInitialMotionX = mLastMotionX = 0;
2313 final int totalDelta = (int) (mLastMotionX - mInitialMotionX);