Lines Matching refs:itemIndex
453 * @param itemIndex Position of the contact in {@link #mContactEntries}.
456 public boolean isIndexInBound(int itemIndex) {
457 return itemIndex >= 0 && itemIndex < mContactEntries.size();
463 * @param itemIndex Position of the contact in {@link #mContactEntries}.
465 private void markDropArea(int itemIndex) {
467 isIndexInBound(itemIndex)) {
472 mDragEnteredEntryIndex = itemIndex;
657 final int itemIndex = mContactEntries.indexOf(view.getContactEntry());
658 popContactEntry(itemIndex);
668 final int itemIndex = mContactEntries.indexOf(view.getContactEntry());
670 mDragEnteredEntryIndex != itemIndex &&
671 isIndexInBound(itemIndex) &&
672 itemIndex < PIN_LIMIT &&
673 itemIndex >= 0) {
674 markDropArea(itemIndex);