Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java87 private float mLastTouchY; field in ResolverDrawerLayout
172 mInitialTouchY = mLastTouchY = y; in onInterceptTouchEvent()
185 mLastTouchY = Math.max(mLastTouchY - mTouchSlop, in onInterceptTouchEvent()
186 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); in onInterceptTouchEvent()
221 mInitialTouchY = mLastTouchY = y; in onTouchEvent()
237 mInitialTouchY = mLastTouchY = ev.getY(); in onTouchEvent()
245 mLastTouchY = Math.max(mLastTouchY - mTouchSlop, in onTouchEvent()
246 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); in onTouchEvent()
250 final float dy = y - mLastTouchY; in onTouchEvent()
253 mLastTouchY = y; in onTouchEvent()
[all …]
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java120 private float mLastTouchY; field in StaggeredGridView
286 mLastTouchY = ev.getY(); in onInterceptTouchEvent()
305 final float dy = y - mLastTouchY + mTouchRemainderY; in onInterceptTouchEvent()
327 mLastTouchY = ev.getY(); in onTouchEvent()
341 final float dy = y - mLastTouchY + mTouchRemainderY; in onTouchEvent()
350 mLastTouchY = y; in onTouchEvent()
371 mLastTouchY = 0; in onTouchEvent()
545 final int dy = (int) (y - mLastTouchY); in computeScroll()
546 mLastTouchY = y; in computeScroll()
/frameworks/base/docs/html/training/gestures/
Dscale.jd123 mLastTouchY = y;
139 final float dy = y - mLastTouchY;
148 mLastTouchY = y;
173 mLastTouchY = MotionEventCompat.getY(ev, newPointerIndex);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java278 private int mLastTouchY; field in RecyclerView
1651 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f); in onInterceptTouchEvent()
1662 … mInitialTouchY = mLastTouchY = (int) (MotionEventCompat.getY(e, actionIndex) + 0.5f); in onInterceptTouchEvent()
1684 mLastTouchY = mInitialTouchY + mTouchSlop * (dy < 0 ? -1 : 1); in onInterceptTouchEvent()
1730 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f); in onTouchEvent()
1736 … mInitialTouchY = mLastTouchY = (int) (MotionEventCompat.getY(e, actionIndex) + 0.5f); in onTouchEvent()
1758 mLastTouchY = mInitialTouchY + mTouchSlop * (dy < 0 ? -1 : 1); in onTouchEvent()
1767 final int dy = y - mLastTouchY; in onTouchEvent()
1774 mLastTouchY = y; in onTouchEvent()
1817 mInitialTouchY = mLastTouchY = (int) (MotionEventCompat.getY(e, newIndex) + 0.5f); in onPointerUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java120 private float mLastTouchY; field in NotificationPanelView
811 mInitialTouchY = mLastTouchY; in onOverscrolled()
1218 mLastTouchY = event.getY(); in trackMovement()