Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java963 final int swipeFlags = (movementFlags & ACTION_MODE_SWIPE_MASK) in checkSelectForSwipe() local
966 if (swipeFlags == 0) { in checkSelectForSwipe()
987 if (dx < 0 && (swipeFlags & LEFT) == 0) { in checkSelectForSwipe()
990 if (dx > 0 && (swipeFlags & RIGHT) == 0) { in checkSelectForSwipe()
994 if (dy < 0 && (swipeFlags & UP) == 0) { in checkSelectForSwipe()
997 if (dy > 0 && (swipeFlags & DOWN) == 0) { in checkSelectForSwipe()
1487 public static int makeMovementFlags(int dragFlags, int swipeFlags) { in makeMovementFlags() argument
1488 return makeFlag(ACTION_STATE_IDLE, swipeFlags | dragFlags) | in makeMovementFlags()
1489 makeFlag(ACTION_STATE_SWIPE, swipeFlags) | makeFlag(ACTION_STATE_DRAG, in makeMovementFlags()