Home
last modified time | relevance | path

Searched refs:oldI (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/gui/
DFrameTimestamps.cpp381 size_t oldI = oldestFrameIndex; in resize() local
384 if (mFrames[oldI].valid) { in resize()
385 newFrames[newI++] = std::move(mFrames[oldI]); in resize()
387 oldI = (oldI + 1) % mFrames.size(); in resize()
388 } while (oldI != oldestFrameIndex); in resize()
547 size_t oldI = oldestFrameIndex; in resize() local
550 if (mFrames[oldI].valid) { in resize()
551 newFrames[newI] = std::move(mFrames[oldI]); in resize()
552 newFramesDirty[newI] = mFramesDirty[oldI]; in resize()
555 oldI = (oldI + 1) % mFrames.size(); in resize()
[all …]
/frameworks/base/tools/aapt/
DStringPool.cpp308 size_t oldI = newPosToOriginalPos[i]; in sortByConfig() local
310 const entry& oldEnt = mEntries[mEntryArray[oldI]]; in sortByConfig()
313 ssize_t newIndexOfOffset = origOffsetToNewOffset.indexOfKey(oldI); in sortByConfig()
331 if (oldI < mEntryStyleArray.size()) { in sortByConfig()
332 newEntryStyleArray.add(mEntryStyleArray[oldI]); in sortByConfig()