Home
last modified time | relevance | path

Searched refs:nextIndex (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/logging/
DEventLogArray.java41 private int nextIndex; field in EventLogArray
47 nextIndex = 0; in EventLogArray()
64 int last = (nextIndex + logs.length - 1) % logs.length; in addLog()
65 int secondLast = (nextIndex + logs.length - 2) % logs.length; in addLog()
72 if (logs[nextIndex] == null) { in addLog()
73 logs[nextIndex] = new EventEntry(); in addLog()
75 logs[nextIndex].update(type, event, extras, mLogId); in addLog()
76 nextIndex = (nextIndex + 1) % logs.length; in addLog()
89 EventEntry log = logs[(nextIndex + logs.length - i - 1) % logs.length]; in dump()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java155 final int nextIndex = (currentIndex + 1) % enabledSubtypes.size(); in switchToNextInputSubtypeInThisIme() local
156 if (nextIndex <= currentIndex && !onlyCurrentIme) { in switchToNextInputSubtypeInThisIme()
161 final InputMethodSubtype nextSubtype = enabledSubtypes.get(nextIndex); in switchToNextInputSubtypeInThisIme()
205 final int nextIndex = (currentIndex + i) % count; in getNextNonAuxiliaryIme() local
206 final InputMethodInfo nextImi = imiList.get(nextIndex); in getNextNonAuxiliaryIme()
/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/
DStateMachine.java641 int nextIndex = mOldestIndex + index; in get() local
642 if (nextIndex >= mMaxSize) { in get()
643 nextIndex -= mMaxSize; in get()
645 if (nextIndex >= size()) { in get()
648 return mLogRecVector.get(nextIndex); in get()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.cpp51 const size_t nextIndex = matchedCodePointCount + j; in addUnigramWord() local
52 if (nextIndex >= wordCodePoints.size() in addUnigramWord()