Searched refs:DIRECTION_FLAG_COUNT (Results 1 – 1 of 1) sorted by relevance
151 private static final int DIRECTION_FLAG_COUNT = 8; field in ItemTouchHelper153 private static final int ACTION_MODE_IDLE_MASK = (1 << DIRECTION_FLAG_COUNT) - 1;155 private static final int ACTION_MODE_SWIPE_MASK = ACTION_MODE_IDLE_MASK << DIRECTION_FLAG_COUNT;157 private static final int ACTION_MODE_DRAG_MASK = ACTION_MODE_SWIPE_MASK << DIRECTION_FLAG_COUNT;569 int actionStateMask = (1 << (DIRECTION_FLAG_COUNT + DIRECTION_FLAG_COUNT * actionState)) in select()653 >> (mActionState * DIRECTION_FLAG_COUNT); in select()964 >> (DIRECTION_FLAG_COUNT * ACTION_STATE_SWIPE); in checkSelectForSwipe()1167 & ACTION_MODE_SWIPE_MASK) >> (ACTION_STATE_SWIPE * DIRECTION_FLAG_COUNT); in swipeIfNecessary()1172 & ACTION_MODE_SWIPE_MASK) >> (ACTION_STATE_SWIPE * DIRECTION_FLAG_COUNT); in swipeIfNecessary()1363 ((START | END) << DIRECTION_FLAG_COUNT) |[all …]