/** Close all opened items */
 void closeOpenedItems() {
   if (opened != null) {
     int start = swipeListView.getFirstVisiblePosition();
     int end = swipeListView.getLastVisiblePosition();
     for (int i = start; i <= end; i++) {
       if (opened.get(i)) {
         closeAnimate(swipeListView.getChildAt(i - start).findViewById(swipeFrontView), i);
       }
     }
   }
 }
 /** Unselected choice state in item */
 protected int dismiss(int position) {
   int start = swipeListView.getFirstVisiblePosition();
   int end = swipeListView.getLastVisiblePosition();
   View view = swipeListView.getChildAt(position - start);
   ++dismissAnimationRefCount;
   if (position >= start && position <= end) {
     performDismiss(view, position, false);
     return view.getHeight();
   } else {
     pendingDismisses.add(new PendingDismissData(position, null));
     return 0;
   }
 }
 /** Unselected choice state in item */
 protected void unselectedChoiceStates() {
   int start = swipeListView.getFirstVisiblePosition();
   int end = swipeListView.getLastVisiblePosition();
   for (int i = 0; i < checked.size(); i++) {
     if (checked.get(i) && i >= start && i <= end) {
       reloadChoiceStateInView(
           swipeListView.getChildAt(i - start).findViewById(swipeFrontView), i);
     }
     checked.set(i, false);
   }
   swipeListView.onChoiceEnded();
   returnOldActions();
 }