Home
last modified time | relevance | path

Searched refs:mLastMotionY (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/design/src/android/support/design/widget/
DHeaderBehavior.java44 private int mLastMotionY; field in HeaderBehavior
73 mLastMotionY = y; in onInterceptTouchEvent()
92 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent()
95 mLastMotionY = y; in onInterceptTouchEvent()
131 mLastMotionY = y; in onTouchEvent()
147 int dy = mLastMotionY - y; in onTouchEvent()
159 mLastMotionY = y; in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java89 private float mLastMotionY; field in ExpandHelper
277 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
303 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
334 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
411 mLastMotionY = ev.getRawY(); in onTouchEvent()
432 mLastMotionY = ev.getRawY(); in onTouchEvent()
439 final float rawHeight = ev.getRawY() - mLastMotionY + mCurrentHeight; in onTouchEvent()
460 mLastMotionY = ev.getRawY(); in onTouchEvent()
473 mLastMotionY = ev.getRawY(); in onTouchEvent()
495 mLastMotionY = ev.getRawY(); in onTouchEvent()
/frameworks/support/core-ui/java/android/support/v4/widget/
DViewDragHelper.java120 private float[] mLastMotionY; field in ViewDragHelper
786 Arrays.fill(mLastMotionY, 0); in clearMotionHistory()
800 mLastMotionY[pointerId] = 0; in clearMotionHistory()
821 System.arraycopy(mLastMotionY, 0, lmy, 0, mLastMotionY.length); in ensureMotionHistorySizeForId()
830 mLastMotionY = lmy; in ensureMotionHistorySizeForId()
840 mInitialMotionY[pointerId] = mLastMotionY[pointerId] = y; in saveInitialMotion()
856 mLastMotionY[pointerId] = y; in saveLastMotion()
1162 final int idy = (int) (y - mLastMotionY[mActivePointerId]); in processTouchEvent()
1360 final float dy = mLastMotionY[pointerId] - mInitialMotionY[pointerId]; in checkTouchSlop()
DNestedScrollView.java106 private int mLastMotionY; field in NestedScrollView
652 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent()
656 mLastMotionY = y; in onInterceptTouchEvent()
680 mLastMotionY = y; in onInterceptTouchEvent()
754 mLastMotionY = (int) ev.getY(); in onTouchEvent()
767 int deltaY = mLastMotionY - y; in onTouchEvent()
787 mLastMotionY = y - mScrollOffset[1]; in onTouchEvent()
806 mLastMotionY -= mScrollOffset[1]; in onTouchEvent()
862 mLastMotionY = (int) ev.getY(index); in onTouchEvent()
868 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onTouchEvent()
[all …]
/frameworks/base/core/java/android/widget/
DScrollView.java92 private int mLastMotionY; field in ScrollView
536 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent()
539 mLastMotionY = y; in onInterceptTouchEvent()
566 mLastMotionY = y; in onInterceptTouchEvent()
647 mLastMotionY = (int) ev.getY(); in onTouchEvent()
660 int deltaY = mLastMotionY - y; in onTouchEvent()
680 mLastMotionY = y - mScrollOffset[1]; in onTouchEvent()
699 mLastMotionY -= mScrollOffset[1]; in onTouchEvent()
752 mLastMotionY = (int) ev.getY(index); in onTouchEvent()
758 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onTouchEvent()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java159 private float mLastMotionY; field in ViewPager
1863 mLastMotionY = y;
1874 mLastMotionY = y;
1899 mLastMotionY = mInitialMotionY = ev.getY();
1918 if (DEBUG) Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY
1970 mLastMotionY = mInitialMotionY = ev.getY();
1980 final float yDiff = Math.abs(y - mLastMotionY);
1988 mLastMotionY = y;
/frameworks/support/core-ui/java/android/support/v4/view/
DViewPager.java203 private float mLastMotionY; field in ViewPager
2107 mLastMotionY = y;
2118 mLastMotionY = y;
2143 mLastMotionY = mInitialMotionY = ev.getY();
2164 Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY
2224 mLastMotionY = mInitialMotionY = ev.getY();
2240 final float yDiff = Math.abs(y - mLastMotionY);
2250 mLastMotionY = y;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java128 private int mLastMotionY; field in NotificationStackScrollLayout
1285 mLastMotionY = (int) ev.getY(); in onScrollTouch()
1299 int deltaY = mLastMotionY - y; in onScrollTouch()
1312 mLastMotionY = y; in onScrollTouch()
1377 mLastMotionY = (int) ev.getY(index); in onScrollTouch()
1384 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onScrollTouch()
1472 mLastMotionY = (int) ev.getY(newPointerIndex);
2922 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEventScroll()
2926 mLastMotionY = y; in onInterceptTouchEventScroll()
2947 mLastMotionY = y; in onInterceptTouchEventScroll()