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.java116 private float[] mInitialMotionX; field in ViewDragHelper
777 if (mInitialMotionX == null) { in clearMotionHistory()
780 Arrays.fill(mInitialMotionX, 0); in clearMotionHistory()
791 if (mInitialMotionX == null) { in clearMotionHistory()
794 mInitialMotionX[pointerId] = 0; in clearMotionHistory()
805 if (mInitialMotionX == null || mInitialMotionX.length <= pointerId) { in ensureMotionHistorySizeForId()
814 if (mInitialMotionX != null) { in ensureMotionHistorySizeForId()
815 System.arraycopy(mInitialMotionX, 0, imx, 0, mInitialMotionX.length); in ensureMotionHistorySizeForId()
824 mInitialMotionX = imx; in ensureMotionHistorySizeForId()
836 mInitialMotionX[pointerId] = mLastMotionX[pointerId] = x; in saveInitialMotion()
[all …]
DSlidingPaneLayout.java175 private float mInitialMotionX; field in SlidingPaneLayout
788 mInitialMotionX = x; in onInterceptTouchEvent()
801 final float adx = Math.abs(x - mInitialMotionX); in onInterceptTouchEvent()
832 mInitialMotionX = x; in onTouchEvent()
841 final float dx = x - mInitialMotionX; in onTouchEvent()
DDrawerLayout.java189 private float mInitialMotionX; field in DrawerLayout
1146 mInitialMotionX = x; in onInterceptTouchEvent()
1191 mInitialMotionX = x; in onTouchEvent()
1204 final float dx = x - mInitialMotionX; in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTabStrip.java73 private float mInitialMotionX; field in PagerTabStrip
233 mInitialMotionX = x; in onTouchEvent()
239 if (Math.abs(x - mInitialMotionX) > mTouchSlop || in onTouchEvent()
DViewPager.java179 private float mInitialMotionX; field in ViewPager
1859 mLastMotionX = dx > 0 ? mInitialMotionX + mTouchSlop :
1860 mInitialMotionX - mTouchSlop;
1885 mLastMotionX = mInitialMotionX = ev.getX();
1963 mLastMotionX = mInitialMotionX = ev.getX();
1980 mLastMotionX = x - mInitialMotionX > 0 ? mInitialMotionX + mTouchSlop :
1981 mInitialMotionX - mTouchSlop;
2017 final int totalDelta = (int) (x - mInitialMotionX);
2283 mInitialMotionX = mLastMotionX = 0;
2318 final int totalDelta = (int) (mLastMotionX - mInitialMotionX);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java43 int mInitialMotionX, mInitialMotionY; field in TaskStackViewTouchHandler
135 mInitialMotionX = mLastMotionX = (int) ev.getX(); in onInterceptTouchEvent()
210 mInitialMotionX = mLastMotionX = (int) ev.getX(); in onTouchEvent()