Searched refs:swipeDirection (Results 1 – 5 of 5) 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 | 85 @Direction int swipeDirection) { in animateDismiss() argument 86 animateDismiss(viewHolder, swipeDirection, 0f); in animateDismiss() 92 @Direction int swipeDirection, in animateDismiss() argument 95 Log.d(TAG, "animateDismiss direction=" + swipeDirection + " velocityX=" + velocityX); in animateDismiss() 102 .translationX(swipeDirection == Direction.RIGHT ? viewWidth : -viewWidth) in animateDismiss() 148 int swipeDirection = moveDeltaX > 0 ? Direction.RIGHT : Direction.LEFT; in calculateTranslateDistance() local 155 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() 352 mDismissAnimationHelper.animateDismiss(mViewHolder, swipeDirection); in onTouchEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 153 int swipeDirection = 0; in getSwipeDirection() local 155 swipeDirection |= SingleAxisSwipeDetector.DIRECTION_POSITIVE; in getSwipeDirection() 158 swipeDirection |= SingleAxisSwipeDetector.DIRECTION_NEGATIVE; in getSwipeDirection() 160 return swipeDirection; in getSwipeDirection()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 1161 … int swipeDirection = (prevPage < mCurrentPage) ? Action.Direction.RIGHT : Action.Direction.LEFT; in notifyPageSwitchListener() local 1163 swipeDirection, ContainerType.WORKSPACE, prevPage); in notifyPageSwitchListener()
|