Searched refs:nextIndex (Results 1 – 4 of 4) sorted by relevance
41 private int nextIndex; field in EventLogArray47 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()
155 final int nextIndex = (currentIndex + 1) % enabledSubtypes.size(); in switchToNextInputSubtypeInThisIme() local156 if (nextIndex <= currentIndex && !onlyCurrentIme) { in switchToNextInputSubtypeInThisIme()161 final InputMethodSubtype nextSubtype = enabledSubtypes.get(nextIndex); in switchToNextInputSubtypeInThisIme()205 final int nextIndex = (currentIndex + i) % count; in getNextNonAuxiliaryIme() local206 final InputMethodInfo nextImi = imiList.get(nextIndex); in getNextNonAuxiliaryIme()
641 int nextIndex = mOldestIndex + index; in get() local642 if (nextIndex >= mMaxSize) { in get()643 nextIndex -= mMaxSize; in get()645 if (nextIndex >= size()) { in get()648 return mLogRecVector.get(nextIndex); in get()
51 const size_t nextIndex = matchedCodePointCount + j; in addUnigramWord() local52 if (nextIndex >= wordCodePoints.size() in addUnigramWord()