Searched refs:swipeDirection (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListSwipeHelper.java | 195 int swipeDirection = SWIPE_DIRECTION_NONE; in onTouchEvent() local 197 swipeDirection = in onTouchEvent() 200 swipeDirection = in onTouchEvent() 213 animateDismiss(mListItemView, swipeDirection); in onTouchEvent() 220 shouldDismiss ? swipeDirection : SWIPE_DIRECTION_NONE); in onTouchEvent() 270 final int swipeDirection) { in onSwipeGestureEnd() argument 271 if (swipeDirection == SWIPE_DIRECTION_RIGHT || swipeDirection == SWIPE_DIRECTION_LEFT) { in onSwipeGestureEnd() 326 private void animateDismiss(final ConversationListItemView itemView, final int swipeDirection) { in animateDismiss() argument 327 animateDismiss(itemView, swipeDirection, 0f); in animateDismiss() 334 final int swipeDirection, final float velocityX) { in animateDismiss() argument [all …]
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | DismissAnimationHelper.java | 83 @Direction int swipeDirection) { in animateDismiss() argument 84 animateDismiss(viewHolder, swipeDirection, 0f); in animateDismiss() 90 @Direction int swipeDirection, in animateDismiss() argument 93 Log.d(TAG, "animateDismiss direction=" + swipeDirection + " velocityX=" + velocityX); in animateDismiss() 100 .translationX(swipeDirection == Direction.RIGHT ? viewWidth : -viewWidth) in animateDismiss() 147 int swipeDirection = moveDeltaX > 0 ? Direction.RIGHT : Direction.LEFT; in calculateTranslateDistance() local 154 return (swipeDirection == Direction.RIGHT) in calculateTranslateDistance()
|
D | CarNotificationItemTouchListener.java | 335 int swipeDirection = DismissAnimationHelper.Direction.RIGHT; in onTouchEvent() local 337 swipeDirection = in onTouchEvent() 342 swipeDirection = in onTouchEvent() 353 mDismissAnimationHelper.animateDismiss(mViewHolder, swipeDirection); in onTouchEvent() 355 mDismissAnimationHelper.animateDismiss(mViewHolder, swipeDirection); in onTouchEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 162 int swipeDirection = 0; in getSwipeDirection() local 164 swipeDirection |= SwipeDetector.DIRECTION_POSITIVE; in getSwipeDirection() 167 swipeDirection |= SwipeDetector.DIRECTION_NEGATIVE; in getSwipeDirection() 169 return swipeDirection; in getSwipeDirection()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SwipeHelper.java | 84 public SwipeHelper(Context context, int swipeDirection, Callback callback, float densityScale, in SwipeHelper() argument 87 mSwipeDirection = swipeDirection; in SwipeHelper()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 1156 … int swipeDirection = (prevPage < mCurrentPage) ? Action.Direction.RIGHT : Action.Direction.LEFT; in notifyPageSwitchListener() local 1158 swipeDirection, ContainerType.WORKSPACE, prevPage); in notifyPageSwitchListener()
|