Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java956 final int swipeFlags = (movementFlags & ACTION_MODE_SWIPE_MASK) in checkSelectForSwipe() local
959 if (swipeFlags == 0) { in checkSelectForSwipe()
980 if (dx < 0 && (swipeFlags & LEFT) == 0) { in checkSelectForSwipe()
983 if (dx > 0 && (swipeFlags & RIGHT) == 0) { in checkSelectForSwipe()
987 if (dy < 0 && (swipeFlags & UP) == 0) { in checkSelectForSwipe()
990 if (dy > 0 && (swipeFlags & DOWN) == 0) { in checkSelectForSwipe()
1468 public static int makeMovementFlags(int dragFlags, int swipeFlags) { in makeMovementFlags() argument
1469 return makeFlag(ACTION_STATE_IDLE, swipeFlags | dragFlags) in makeMovementFlags()
1470 | makeFlag(ACTION_STATE_SWIPE, swipeFlags) in makeMovementFlags()