Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DVerticalViewPager.java94 final float yDiff = Math.abs(y - mLastMotionY); in onTouchEvent() local
96 if (xDiff > mTouchSlop && xDiff > yDiff) { // Swiping left and right in onTouchEvent()
98 } else if (yDiff > mTouchSlop && yDiff > xDiff) { //Swiping up and down in onTouchEvent()
DClockFragment.java258 final float yDiff = Math.abs(event.getY() - mLastTouchY); in onTouch() local
259 if (xDiff >= mTouchSlop || yDiff >= mTouchSlop) { in onTouch()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewWithDraggableItems.java137 final int yDiff = (int) Math.abs(y - mLastMotionY); in determineDraggingStart() local
140 boolean yMoved = yDiff > touchSlop; in determineDraggingStart()
141 boolean isUpwardMotion = (yDiff / (float) xDiff) > mDragSlopeThreshold; in determineDraggingStart()
DPagedView.java1105 final int yDiff = (int) Math.abs(y - mLastMotionY); in determineScrollingStart() local
1110 boolean yMoved = yDiff > touchSlop; in determineScrollingStart()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java404 final int yDiff = (int) Math.abs(y - mLastMotionY); in onInterceptTouchEvent() local
405 if (yDiff > mTouchSlop) { in onInterceptTouchEvent()