Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java128 private float mLastTouchY; field in ResolverDrawerLayout
246 mLastTouchY -= dReserved; in setCollapsibleHeightReserved()
341 mInitialTouchY = mLastTouchY = y; in onInterceptTouchEvent()
354 mLastTouchY = Math.max(mLastTouchY - mTouchSlop, in onInterceptTouchEvent()
355 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); in onInterceptTouchEvent()
406 mInitialTouchY = mLastTouchY = y; in onTouchEvent()
422 mInitialTouchY = mLastTouchY = ev.getY(); in onTouchEvent()
430 mLastTouchY = Math.max(mLastTouchY - mTouchSlop, in onTouchEvent()
431 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop)); in onTouchEvent()
435 final float dy = y - mLastTouchY; in onTouchEvent()
[all …]
DRecyclerView.java426 private int mLastTouchY; field in RecyclerView
1682 mLastTouchY -= mScrollOffset[1]; in scrollByInternal()
2670 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f); in onInterceptTouchEvent()
2693 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onInterceptTouchEvent()
2715 mLastTouchY = mInitialTouchY + mTouchSlop * (dy < 0 ? -1 : 1); in onInterceptTouchEvent()
2817 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f); in onTouchEvent()
2832 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f); in onTouchEvent()
2847 int dy = mLastTouchY - y; in onTouchEvent()
2885 mLastTouchY = y - mScrollOffset[1]; in onTouchEvent()
3016 mInitialTouchY = mLastTouchY = (int) (e.getY(newIndex) + 0.5f); in onPointerUp()
/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/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java164 private float mLastTouchY = -1; field in KeyguardSecurityContainer
520 if (mLastTouchY != -1) { in onTouchEvent()
521 float dy = y - mLastTouchY; in onTouchEvent()
524 mLastTouchY = y; in onTouchEvent()
530 mLastTouchY = -1; in onTouchEvent()
541 mLastTouchY = event.getY(newPointerIndex); in onTouchEvent()