Home
last modified time | relevance | path

Searched refs:lastPos (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java155 int lastPos = 0; in escapeAndAppendString() local
162 if (lastPos < pos) append(string, lastPos, pos-lastPos); in escapeAndAppendString()
163 lastPos = pos + 1; in escapeAndAppendString()
166 if (lastPos < pos) append(string, lastPos, pos-lastPos); in escapeAndAppendString()
173 int lastPos = start; in escapeAndAppendString() local
180 if (lastPos < pos) append(buf, lastPos, pos-lastPos); in escapeAndAppendString()
181 lastPos = pos + 1; in escapeAndAppendString()
184 if (lastPos < pos) append(buf, lastPos, pos-lastPos); in escapeAndAppendString()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java339 int lastPos = 0; in mergeBatchLocked() local
341 while (lastPos < mLastEvents.size() && curPos < newLogs.size()) { in mergeBatchLocked()
348 final SecurityEvent lastEvent = mLastEvents.get(lastPos); in mergeBatchLocked()
358 lastPos++; in mergeBatchLocked()
370 lastPos++; in mergeBatchLocked()
/frameworks/base/services/incremental/
Dpath.cpp122 auto lastPos = result.rfind('/'); in normalize() local
123 if (lastPos == result.npos) { in normalize()
126 result.resize(lastPos); in normalize()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DFavoritesModelTest.kt131 val lastPos = model.elements.size - 1 in <lambda>() constant
132 verify(adapter).notifyItemChanged(eq(lastPos), any(Any::class.java)) in <lambda>()
133 verify(adapter).notifyItemMoved(removed, lastPos) in <lambda>()
/frameworks/compile/mclinker/lib/LD/
DGNUArchiveReader.cpp375 pArchive.inputs().insert(parent->lastPos, *(parent->move), *member); in includeMember()
379 parent->move->move(parent->lastPos); in includeMember()
389 pArchive.addObjectMember(pFileOffset, parent->lastPos); in includeMember()
399 member->name(), parent->lastPos, &InputTree::Downward); in includeMember()
DArchive.cpp121 ar.lastPos = pLastPos; in addArchiveMember()
/frameworks/base/core/java/android/widget/
DAbsListView.java5017 final int lastPos = firstPos + childCount;
5023 (lastPos == mItemCount &&
5549 final int lastPos = mCheckedIdStates.valueAt(checkedIndex); in confirmCheckedPositionsById() local
5551 final long lastPosId = mAdapter.getItemId(lastPos); in confirmCheckedPositionsById()
5554 final int start = Math.max(0, lastPos - CHECK_POSITION_SEARCH_DISTANCE); in confirmCheckedPositionsById()
5555 final int end = Math.min(lastPos + CHECK_POSITION_SEARCH_DISTANCE, mItemCount); in confirmCheckedPositionsById()
5574 lastPos, id, false); in confirmCheckedPositionsById()
5578 mCheckStates.put(lastPos, true); in confirmCheckedPositionsById()
7418 final int lastPos = firstPos + childCount - 1; in start() local
7425 } else if (clampedPosition > lastPos) { in start()
[all …]
DListView.java2696 final int lastPos = mFirstPosition + getChildCount() - 1; in nextSelectedPositionForDirection() local
2697 nextSelected = selectedPos != INVALID_POSITION && selectedPos <= lastPos ? in nextSelectedPositionForDirection()
2699 lastPos; in nextSelectedPositionForDirection()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java245 int lastPos = 0; in dumpLocked() local
249 pw.write(info.stack, lastPos, pos-lastPos); in dumpLocked()
251 lastPos = pos+1; in dumpLocked()
254 if (lastPos < info.stack.length()) { in dumpLocked()
256 pw.write(info.stack, lastPos, info.stack.length()-lastPos); in dumpLocked()
DProcessStatsService.java450 int lastPos = 0; in parseStateList() local
457 if (lastPos == 0) { in parseStateList()
464 if (lastPos < (i-1)) { in parseStateList()
465 String str = arg.substring(lastPos, i); in parseStateList()
478 lastPos = i + 1; in parseStateList()
/frameworks/compile/mclinker/include/mcld/LD/
DArchive.h78 InputTree::iterator lastPos; member
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java2173 int lastPos = -1;
2184 if (!first && ii.position != lastPos + 1) {
2188 ii.position = lastPos + 1;
2205 lastPos = ii.position;
2307 final int lastPos = mItems.get(itemCount - 1).position;
2308 for (int pos = firstPos; pos < lastPos; pos++) {
DLinearLayoutManager.java1957 int lastPos = getPosition(getChildAt(0)); in validateChildOrder() local
1964 if (pos < lastPos) { in validateChildOrder()
1979 if (pos < lastPos) { in validateChildOrder()