Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsPagedView.java56 float absDeltaX = Math.abs(ev.getX() - getDownMotionX()); in determineScrollingStart() local
59 if (Float.compare(absDeltaX, 0f) == 0) return; in determineScrollingStart()
61 float slope = absDeltaY / absDeltaX; in determineScrollingStart()
64 if (absDeltaX > mTouchSlop || absDeltaY > mTouchSlop) { in determineScrollingStart()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationItemTouchListener.java240 float absDeltaX = Math.abs(deltaX); in onInterceptTouchEvent() local
248 && absDeltaY > (mErrorFactorMultiplier * absDeltaX)) { in onInterceptTouchEvent()
266 if (absDeltaX > mTouchSlop) { in onInterceptTouchEvent()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListSwipeHelper.java134 final float absDeltaX = Math.abs(deltaX); in onInterceptTouchEvent() local
138 && absDeltaY > (ERROR_FACTOR_MULTIPLIER * absDeltaX)) { in onInterceptTouchEvent()
144 if (absDeltaX > mTouchSlop) { in onInterceptTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java894 float absDeltaX = Math.abs(deltaX); in determineScrollingStart() local
897 if (Float.compare(absDeltaX, 0f) == 0) return; in determineScrollingStart()
899 float slope = absDeltaY / absDeltaX; in determineScrollingStart()
902 if (absDeltaX > mTouchSlop || absDeltaY > mTouchSlop) { in determineScrollingStart()