Searched refs:DIRECTION_FLAG_COUNT (Results 1 – 1 of 1) sorted by relevance
146 static final int DIRECTION_FLAG_COUNT = 8; field in ItemTouchHelper148 private static final int ACTION_MODE_IDLE_MASK = (1 << DIRECTION_FLAG_COUNT) - 1;150 static final int ACTION_MODE_SWIPE_MASK = ACTION_MODE_IDLE_MASK << DIRECTION_FLAG_COUNT;152 static final int ACTION_MODE_DRAG_MASK = ACTION_MODE_SWIPE_MASK << DIRECTION_FLAG_COUNT;562 int actionStateMask = (1 << (DIRECTION_FLAG_COUNT + DIRECTION_FLAG_COUNT * actionState)) in select()646 >> (mActionState * DIRECTION_FLAG_COUNT); in select()957 >> (DIRECTION_FLAG_COUNT * ACTION_STATE_SWIPE); in checkSelectForSwipe()1160 & ACTION_MODE_SWIPE_MASK) >> (ACTION_STATE_SWIPE * DIRECTION_FLAG_COUNT); in swipeIfNecessary()1165 & ACTION_MODE_SWIPE_MASK) >> (ACTION_STATE_SWIPE * DIRECTION_FLAG_COUNT); in swipeIfNecessary()1352 | ((START | END) << DIRECTION_FLAG_COUNT)[all …]