Home
last modified time | relevance | path

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

12

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/logging/
H A 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()
/aosp12/build/soong/ui/build/
H A Dproc_sync_test.go77 nextIndex int member
85 return &countLock{nextIndex: 0, successIndex: index}
88 return fmt.Sprintf("counter that counts from %v to %v", c.nextIndex, c.successIndex)
91 currentIndex := c.nextIndex
92 c.nextIndex++
99 if c.nextIndex == c.successIndex {
/aosp12/art/tools/dexfuzz/src/dexfuzz/fuzzers/
H A DFuzzerMultiple.java37 int nextIndex = iterations % Options.inputFileList.size(); in getNextInputFilename() local
38 inputFile = Options.inputFileList.get(nextIndex); in getNextInputFilename()
/aosp12/art/test/952-invoke-custom/src/
H A DTestInvokeCustomWithConcurrentThreads.java30 private static final AtomicInteger nextIndex = new AtomicInteger(0); field in TestInvokeCustomWithConcurrentThreads
36 return nextIndex.getAndIncrement();
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A 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()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIntRangeManager.java546 for (int nextIndex = crIndex + 1; nextIndex < crLength; nextIndex++) { in disableRange()
547 ClientRange nextCr = clients.get(nextIndex); in disableRange()
H A DGsmCdmaConnection.java304 int nextIndex = findNextPCharOrNonPOrNonWCharIndex(phoneNumber, currIndex); in formatDialString() local
306 if (nextIndex < length) { in formatDialString()
307 char pC = findPOrWCharToAppend(phoneNumber, currIndex, nextIndex); in formatDialString()
312 if (nextIndex > (currIndex + 1)) { in formatDialString()
313 currIndex = nextIndex - 1; in formatDialString()
315 } else if (nextIndex == length) { in formatDialString()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DTimeLimitedMotionEventBuffer.java218 public int nextIndex() { in nextIndex() method in TimeLimitedMotionEventBuffer.Iter
219 return mIterator.nextIndex(); in nextIndex()
/aosp12/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/table/packed/read/
H A DPackedTableReader.java266 int nextIndex = mIndex + 1; in getNext() local
267 return getEntryByIndex(nextIndex); in getNext()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DStackStateAnimator.java252 int nextIndex = viewAfterChangingView.getViewState().notGoneIndex; in calculateChildAnimationDelay() local
253 if (ownIndex >= nextIndex) { in calculateChildAnimationDelay()
257 int difference = Math.abs(ownIndex - nextIndex); in calculateChildAnimationDelay()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
H A Ddynamic_pt_updating_helper.cpp51 const size_t nextIndex = matchedCodePointCount + j; in addUnigramWord() local
52 if (nextIndex >= wordCodePoints.size() in addUnigramWord()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/
H A 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()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java643 int nextIndex = mOldestIndex + index; in get() local
644 if (nextIndex >= mMaxSize) { in get()
645 nextIndex -= mMaxSize; in get()
647 if (nextIndex >= size()) { in get()
650 return mLogRecVector.get(nextIndex); in get()
/aosp12/frameworks/base/core/java/com/android/internal/view/menu/
H A DCascadingMenuPopup.java149 final int nextIndex = menuIndex + 1;
150 if (nextIndex < mShowingMenus.size()) {
151 nextInfo = mShowingMenus.get(nextIndex);
/aosp12/frameworks/base/core/java/android/widget/
H A DFastScroller.java1022 int nextIndex = count; in scrollTo() local
1029 nextIndex = mSectionIndexer.getPositionForSection(targetSection + 1); in scrollTo()
1033 if (nextIndex == targetIndex) { in scrollTo()
1058 mSectionIndexer.getPositionForSection(nextNextSection) == nextIndex) { in scrollTo()
1073 targetIndex = prevIndex + (int) ((nextIndex - prevIndex) * (position - prevPosition) in scrollTo()
H A DListView.java3520 final int nextIndex = (itemIndex + 1);
3525 && (nextIndex >= headerCount)) && (isLastItem
3526 || adapter.isEnabled(nextIndex) && (footerDividers || !isFooter
3527 && (nextIndex < footerLimit)))) {
4062 final int nextIndex = itemIndex + 1;
4067 && (nextIndex >= headerCount)) && (isLastItem
4068 || adapter.isEnabled(nextIndex) && (footerDividers || !isFooter
4069 && (nextIndex < footerLimit)))) {
/aosp12/frameworks/libs/net/common/testutils/hostdevice/com/android/net/module/util/
H A DTrackRecord.kt73 override fun nextIndex() = index + 1
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/
H A DVibrationThread.java743 int nextIndex = currentIndex + 1; in nextStep() local
744 if (nextIndex >= sequentialEffect.getEffects().size()) { in nextStep()
747 long nextEffectDelay = sequentialEffect.getDelays().get(nextIndex); in nextStep()
749 return new StartVibrateStep(nextStartTime, sequentialEffect, nextIndex); in nextStep()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
H A DInputMethodSubtypeSwitchingControllerTest.java183 final int nextIndex = (currentIndex + 1) % numItems; in assertRotationOrder() local
186 final ImeSubtypeListItem nextItem = expectedRotationOrderOfImeSubtypeList[nextIndex]; in assertRotationOrder()
/aosp12/frameworks/rs/
H A DrsFont.cpp184 size_t nextIndex = 0; in renderUTF() local
188 int32_t utfChar = utf32_from_utf8_at(text, len, index, &nextIndex); in renderUTF()
196 index = nextIndex; in renderUTF()
/aosp12/frameworks/base/services/core/java/com/android/server/attention/
H A DAttentionManagerService.java440 int nextIndex = (mStartIndex + mSize) % ATTENTION_CACHE_BUFFER_SIZE; in add() local
441 mQueue[nextIndex] = cache; in add()
/aosp12/frameworks/native/libs/input/
H A DVelocityTracker.cpp688 uint32_t nextIndex = (index + 1) % HISTORY_SIZE; in chooseWeight() local
689 float deltaMillis = (mMovements[nextIndex].eventTime- mMovements[index].eventTime) in chooseWeight()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DProcessList.java3628 int nextIndex; in updateLruProcessLSP() local
3632 nextIndex = mLruProcessServiceStart; in updateLruProcessLSP()
3671 nextIndex = mLruProcessServiceStart; in updateLruProcessLSP()
3693 nextIndex = index - 1; in updateLruProcessLSP()
3720 nextIndex = updateLruProcessInternalLSP(cr.binding.service.app, in updateLruProcessLSP()
3722 nextIndex, mLruSeq, in updateLruProcessLSP()
3731 nextIndex = updateLruProcessInternalLSP(cpr.proc, now, nextIndex, mLruSeq, in updateLruProcessLSP()
/aosp12/frameworks/base/core/java/android/view/
H A DViewGroup.java3618 int nextIndex = 0; in dispatchProvideStructure()
3620 while (usedIndices.get(nextIndex, false)) { in dispatchProvideStructure()
3621 nextIndex++; in dispatchProvideStructure()
3623 permutation[j] = nextIndex; in dispatchProvideStructure()
3624 nextIndex++; in dispatchProvideStructure()
/aosp12/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...

12