Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java117 private float[] mInitialMotionX; field in ViewDragHelper
778 if (mInitialMotionX == null) { in clearMotionHistory()
781 Arrays.fill(mInitialMotionX, 0); in clearMotionHistory()
792 if (mInitialMotionX == null || !isPointerDown(pointerId)) { in clearMotionHistory()
795 mInitialMotionX[pointerId] = 0; in clearMotionHistory()
806 if (mInitialMotionX == null || mInitialMotionX.length <= pointerId) { in ensureMotionHistorySizeForId()
815 if (mInitialMotionX != null) { in ensureMotionHistorySizeForId()
816 System.arraycopy(mInitialMotionX, 0, imx, 0, mInitialMotionX.length); in ensureMotionHistorySizeForId()
825 mInitialMotionX = imx; in ensureMotionHistorySizeForId()
837 mInitialMotionX[pointerId] = mLastMotionX[pointerId] = x; in saveInitialMotion()
[all …]
DSlidingPaneLayout.java179 private float mInitialMotionX; field in SlidingPaneLayout
794 mInitialMotionX = x; in onInterceptTouchEvent()
807 final float adx = Math.abs(x - mInitialMotionX); in onInterceptTouchEvent()
838 mInitialMotionX = x; in onTouchEvent()
847 final float dx = x - mInitialMotionX; in onTouchEvent()
DDrawerLayout.java217 private float mInitialMotionX; field in DrawerLayout
1447 mInitialMotionX = x; in onInterceptTouchEvent()
1492 mInitialMotionX = x; in onTouchEvent()
1505 final float dx = x - mInitialMotionX; in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTabStrip.java74 private float mInitialMotionX; field in PagerTabStrip
235 mInitialMotionX = x; in onTouchEvent()
241 if (Math.abs(x - mInitialMotionX) > mTouchSlop || in onTouchEvent()
DViewPager.java201 private float mInitialMotionX; field in ViewPager
2076 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :
2077 mInitialMotionX - mTouchSlop;
2102 mLastMotionX = mInitialMotionX = ev.getX();
2181 mLastMotionX = mInitialMotionX = ev.getX();
2203 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
2204 mInitialMotionX - mTouchSlop;
2242 final int totalDelta = (int) (x - mInitialMotionX);
2512 mInitialMotionX = mLastMotionX = 0;
2548 final int totalDelta = (int) (mLastMotionX - mInitialMotionX);
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java187 private float mInitialMotionX; field in ViewPager
1899 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :
1900 mInitialMotionX - mTouchSlop;
1925 mLastMotionX = mInitialMotionX = ev.getX();
1996 mLastMotionX = mInitialMotionX = ev.getX();
2013 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
2014 mInitialMotionX - mTouchSlop;
2055 final int totalDelta = (int) (x - mInitialMotionX);