Home
last modified time | relevance | path

Searched refs:xDist (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonHelper.java179 float xDist = x - initialTouchX; in onTouchEvent() local
181 float distance = (float) Math.hypot(xDist, yDist); in onTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java897 final int xDist = Math.abs(mScroller.getFinalPos() - mScroller.getCurrPos()); in onInterceptTouchEvent() local
898 … final boolean finishedScrolling = (mScroller.isFinished() || xDist < mTouchSlop / 3); in onInterceptTouchEvent()