Searched refs:lastPos (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | FastXmlSerializer.java | 155 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/ |
D | SecurityLogMonitor.java | 330 int lastPos = 0; in mergeBatchLocked() local 332 while (lastPos < mLastEvents.size() && curPos < newLogs.size()) { in mergeBatchLocked() 339 final SecurityEvent lastEvent = mLastEvents.get(lastPos); in mergeBatchLocked() 349 lastPos++; in mergeBatchLocked() 361 lastPos++; in mergeBatchLocked()
|
/frameworks/compile/mclinker/lib/LD/ |
D | GNUArchiveReader.cpp | 375 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()
|
D | Archive.cpp | 121 ar.lastPos = pLastPos; in addArchiveMember()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 5036 final int lastPos = firstPos + childCount; 5042 (lastPos == mItemCount && 5568 final int lastPos = mCheckedIdStates.valueAt(checkedIndex); in confirmCheckedPositionsById() local 5570 final long lastPosId = mAdapter.getItemId(lastPos); in confirmCheckedPositionsById() 5573 final int start = Math.max(0, lastPos - CHECK_POSITION_SEARCH_DISTANCE); in confirmCheckedPositionsById() 5574 final int end = Math.min(lastPos + CHECK_POSITION_SEARCH_DISTANCE, mItemCount); in confirmCheckedPositionsById() 5593 lastPos, id, false); in confirmCheckedPositionsById() 5597 mCheckStates.put(lastPos, true); in confirmCheckedPositionsById() 7436 final int lastPos = firstPos + childCount - 1; in start() local 7443 } else if (clampedPosition > lastPos) { in start() [all …]
|
D | ListView.java | 2696 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/ |
D | AppErrors.java | 243 int lastPos = 0; in dumpLocked() local 247 pw.write(info.stack, lastPos, pos-lastPos); in dumpLocked() 249 lastPos = pos+1; in dumpLocked() 252 if (lastPos < info.stack.length()) { in dumpLocked() 254 pw.write(info.stack, lastPos, info.stack.length()-lastPos); in dumpLocked()
|
D | ProcessStatsService.java | 450 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/ |
D | Archive.h | 78 InputTree::iterator lastPos; member
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 2173 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++) {
|
D | LinearLayoutManager.java | 1957 int lastPos = getPosition(getChildAt(0)); in validateChildOrder() local 1964 if (pos < lastPos) { in validateChildOrder() 1979 if (pos < lastPos) { in validateChildOrder()
|