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.java39 private int nextIndex; field in EventLogArray
44 nextIndex = 0; in EventLogArray()
65 int last = (nextIndex + logs.length - 1) % logs.length; in addLog()
66 int secondLast = (nextIndex + logs.length - 2) % logs.length; in addLog()
73 if (logs[nextIndex] == null) { in addLog()
74 logs[nextIndex] = new EventEntry(); in addLog()
76 logs[nextIndex].update(type, event, extras); in addLog()
77 nextIndex = (nextIndex + 1) % logs.length; in addLog()
90 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/UnifiedEmail/src/com/google/android/mail/common/base/
DUnicodeEscaper.java186 int nextIndex = index + (Character.isSupplementaryCodePoint(cp) ? 2 : 1); in escapeSlow() local
207 unescapedChunkStart = nextIndex; in escapeSlow()
209 index = nextEscapeIndex(s, nextIndex, end); in escapeSlow()
/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()