Searched refs:isIndexValid (Results 1 – 2 of 2) sorted by relevance
368 boolean indexValid = Utils.isIndexValid(mMenuRowViews, position); in setSelectedPosition()378 if (Utils.isIndexValid(mMenuRowViews, mSelectedPosition)) { in setSelectedPosition()383 if (Utils.isIndexValid(mMenuRowViews, mSelectedPosition)) { in setSelectedPosition()415 boolean oldIndexValid = Utils.isIndexValid(mMenuRowViews, mSelectedPosition); in setSelectedPositionSmooth()421 boolean newIndexValid = Utils.isIndexValid(mMenuRowViews, position); in setSelectedPositionSmooth()
706 public static boolean isIndexValid(@Nullable Collection<?> collection, int index) { in isIndexValid() method in Utils