Home
last modified time | relevance | path

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

/frameworks/support/compat/src/main/java/androidx/core/view/
DDragStartHelper.java73 private int mLastTouchX, mLastTouchY; field in DragStartHelper
133 mLastTouchX = x; in onTouch()
147 if (mLastTouchX == x && mLastTouchY == y) { in onTouch()
151 mLastTouchX = x; in onTouch()
178 point.set(mLastTouchX, mLastTouchY); in getTouchPosition()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java424 private int mLastTouchX; field in RecyclerView
1676 mLastTouchX -= mScrollOffset[0]; in scrollByInternal()
2648 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onInterceptTouchEvent()
2671 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent()
2690 mLastTouchX = mInitialTouchX + mTouchSlop * (dx < 0 ? -1 : 1); in onInterceptTouchEvent()
2763 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onTouchEvent()
2778 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent()
2792 int dx = mLastTouchX - x; in onTouchEvent()
2828 mLastTouchX = x - mScrollOffset[0]; in onTouchEvent()
2893 mInitialTouchX = mLastTouchX = (int) (e.getX(newIndex) + 0.5f); in onPointerUp()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DRecyclerView.java483 private int mLastTouchX; field in RecyclerView
1894 mLastTouchX -= mScrollOffset[0]; in scrollByInternal()
2958 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onInterceptTouchEvent()
2981 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onInterceptTouchEvent()
3000 mLastTouchX = x; in onInterceptTouchEvent()
3073 mInitialTouchX = mLastTouchX = (int) (e.getX() + 0.5f); in onTouchEvent()
3088 mInitialTouchX = mLastTouchX = (int) (e.getX(actionIndex) + 0.5f); in onTouchEvent()
3102 int dx = mLastTouchX - x; in onTouchEvent()
3138 mLastTouchX = x - mScrollOffset[0]; in onTouchEvent()
3203 mInitialTouchX = mLastTouchX = (int) (e.getX(newIndex) + 0.5f); in onPointerUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java161 private float mLastTouchX; field in NotificationPanelView
1428 mLastTouchX = event.getX(); in trackMovement()