Home
last modified time | relevance | path

Searched refs:INDEX_NOT_FOUND (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSet.java39 public static final int INDEX_NOT_FOUND = -1; field in MediaSet
127 if (index != INDEX_NOT_FOUND) return start + index; in getIndexOfItem()
134 if (index != INDEX_NOT_FOUND) return start + index; in getIndexOfItem()
135 if (list.size() < MEDIAITEM_BATCH_FETCH_COUNT) return INDEX_NOT_FOUND; in getIndexOfItem()
147 return INDEX_NOT_FOUND; in getIndexOf()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java73 private static final int INDEX_NOT_FOUND = -1; field in RichInputMethodManager
150 if (currentIndex == INDEX_NOT_FOUND) { in switchToNextInputSubtypeInThisIme()
170 if (currentIndex == INDEX_NOT_FOUND) { in switchToNextInputMethodAndSubtype()
197 return INDEX_NOT_FOUND; in getImiIndexInList()
307 return getSubtypeIndexInList(subtype, subtypes) != INDEX_NOT_FOUND; in checkIfSubtypeBelongsToList()
319 return INDEX_NOT_FOUND; in getSubtypeIndexInList()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java1044 int index = MediaSet.INDEX_NOT_FOUND; in run()
1053 if (index == MediaSet.INDEX_NOT_FOUND) { in run()
1069 if (index == MediaSet.INDEX_NOT_FOUND) { in run()
1115 if (i != MediaSet.INDEX_NOT_FOUND) return i; in findIndexOfTarget()
1130 return MediaSet.INDEX_NOT_FOUND; in findIndexOfPathInCache()