Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java154 int lastPos = 0; in escapeAndAppendString() local
161 if (lastPos < pos) append(string, lastPos, pos-lastPos); in escapeAndAppendString()
162 lastPos = pos + 1; in escapeAndAppendString()
165 if (lastPos < pos) append(string, lastPos, pos-lastPos); in escapeAndAppendString()
172 int lastPos = start; in escapeAndAppendString() local
179 if (lastPos < pos) append(buf, lastPos, pos-lastPos); in escapeAndAppendString()
180 lastPos = pos + 1; in escapeAndAppendString()
183 if (lastPos < pos) append(buf, lastPos, pos-lastPos); in escapeAndAppendString()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java330 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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java287 private int lastPos = bufferPos; field in CodedInputStream.SkippedDataSink
295 byteArrayStream.write(buffer, lastPos, bufferPos - lastPos); in onRefill()
296 lastPos = 0; in onRefill()
305 return ByteBuffer.wrap(buffer, lastPos, bufferPos - lastPos); in getSkippedData()
307 byteArrayStream.write(buffer, lastPos, bufferPos); in getSkippedData()
/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.java5036 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 …]
DListView.java2700 final int lastPos = mFirstPosition + getChildCount() - 1; in nextSelectedPositionForDirection() local
2701 nextSelected = selectedPos != INVALID_POSITION && selectedPos <= lastPos ? in nextSelectedPositionForDirection()
2703 lastPos; in nextSelectedPositionForDirection()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java243 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()
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()