Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java43 int mLastMotionX, mLastMotionY; field in TaskStackViewTouchHandler
135 mInitialMotionY = mLastMotionY = (int) ev.getY(); in onInterceptTouchEvent()
136 mInitialP = mLastP = mSv.mLayoutAlgorithm.screenYToCurveProgress(mLastMotionY); in onInterceptTouchEvent()
138 mActiveTaskView = findViewAtPoint(mLastMotionX, mLastMotionY); in onInterceptTouchEvent()
169 mLastMotionY = y; in onInterceptTouchEvent()
170 mLastP = mSv.mLayoutAlgorithm.screenYToCurveProgress(mLastMotionY); in onInterceptTouchEvent()
212 mInitialMotionY = mLastMotionY = (int) ev.getY(); in onTouchEvent()
213 mInitialP = mLastP = mSv.mLayoutAlgorithm.screenYToCurveProgress(mLastMotionY); in onTouchEvent()
215 mActiveTaskView = findViewAtPoint(mLastMotionX, mLastMotionY); in onTouchEvent()
233 mLastMotionY = (int) ev.getY(index); in onTouchEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java97 private float mLastMotionY; field in ExpandHelper
286 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
311 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
336 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
408 mLastMotionY = ev.getRawY(); in onTouchEvent()
427 mLastMotionY = ev.getRawY(); in onTouchEvent()
434 final float rawHeight = ev.getRawY() - mLastMotionY + mCurrentHeight; in onTouchEvent()
453 mLastMotionY = ev.getRawY(); in onTouchEvent()
468 mLastMotionY = ev.getRawY(); in onTouchEvent()
489 mLastMotionY = ev.getRawY(); in onTouchEvent()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java119 private float[] mLastMotionY; field in ViewDragHelper
783 Arrays.fill(mLastMotionY, 0); in clearMotionHistory()
797 mLastMotionY[pointerId] = 0; in clearMotionHistory()
818 System.arraycopy(mLastMotionY, 0, lmy, 0, mLastMotionY.length); in ensureMotionHistorySizeForId()
827 mLastMotionY = lmy; in ensureMotionHistorySizeForId()
837 mInitialMotionY[pointerId] = mLastMotionY[pointerId] = y; in saveInitialMotion()
849 mLastMotionY[pointerId] = y; in saveLastMotion()
1145 final int idy = (int) (y - mLastMotionY[mActivePointerId]); in processTouchEvent()
1339 final float dy = mLastMotionY[pointerId] - mInitialMotionY[pointerId]; in checkTouchSlop()
/frameworks/base/core/java/android/widget/
DScrollView.java88 private int mLastMotionY; field in ScrollView
514 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEvent()
517 mLastMotionY = y; in onInterceptTouchEvent()
544 mLastMotionY = y; in onInterceptTouchEvent()
623 mLastMotionY = (int) ev.getY(); in onTouchEvent()
636 int deltaY = mLastMotionY - y; in onTouchEvent()
656 mLastMotionY = y - mScrollOffset[1]; in onTouchEvent()
675 mLastMotionY -= mScrollOffset[1]; in onTouchEvent()
728 mLastMotionY = (int) ev.getY(index); in onTouchEvent()
734 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onTouchEvent()
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java117 protected float mLastMotionY; field in PagedView
347 float y = mLastMotionY - mDownMotionY; in updateDragViewTranslationDuringDrag()
365 mLastMotionY = p[1]; in setScaleX()
580 mLastMotionY = p[1]; in scrollTo()
1175 if (!isTouchPointInCurrentPage((int) mLastMotionX, (int) mLastMotionY)) { in onInterceptTouchEvent()
1214 mDownMotionY = mLastMotionY = ev.getY(); in saveDownState()
1216 float[] p = mapPointFromViewToParent(this, mLastMotionX, mLastMotionY); in saveDownState()
1458 mLastMotionY = ev.getY(); in onTouchEvent()
1462 float[] pt = mapPointFromViewToParent(this, mLastMotionX, mLastMotionY); in onTouchEvent()
1484 if (DEBUG) Log.d(TAG, "mLastMotionY: " + mLastMotionY); in onTouchEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java84 private int mLastMotionY; field in NotificationStackScrollLayout
749 mLastMotionY = (int) ev.getY(); in onScrollTouch()
763 int deltaY = mLastMotionY - y; in onScrollTouch()
776 mLastMotionY = y; in onScrollTouch()
841 mLastMotionY = (int) ev.getY(index); in onScrollTouch()
848 mLastMotionY = (int) ev.getY(ev.findPointerIndex(mActivePointerId)); in onScrollTouch()
936 mLastMotionY = (int) ev.getY(newPointerIndex);
1822 final int yDiff = Math.abs(y - mLastMotionY); in onInterceptTouchEventScroll()
1826 mLastMotionY = y; in onInterceptTouchEventScroll()
1846 mLastMotionY = y; in onInterceptTouchEventScroll()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java178 private float mLastMotionY; field in ViewPager
1850 mLastMotionY = y;
1861 mLastMotionY = y;
1886 mLastMotionY = mInitialMotionY = ev.getY();
1905 if (DEBUG) Log.v(TAG, "Down at " + mLastMotionX + "," + mLastMotionY
1964 mLastMotionY = mInitialMotionY = ev.getY();
1974 final float yDiff = Math.abs(y - mLastMotionY);
1982 mLastMotionY = y;