Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java134 int lastPos = 0; in escapeAndAppendString() local
141 if (lastPos < pos) append(string, lastPos, pos-lastPos); in escapeAndAppendString()
142 lastPos = pos + 1; in escapeAndAppendString()
145 if (lastPos < pos) append(string, lastPos, pos-lastPos); in escapeAndAppendString()
152 int lastPos = start; in escapeAndAppendString() local
159 if (lastPos < pos) append(buf, lastPos, pos-lastPos); in escapeAndAppendString()
160 lastPos = pos + 1; in escapeAndAppendString()
163 if (lastPos < pos) append(buf, lastPos, pos-lastPos); in escapeAndAppendString()
/frameworks/compile/mclinker/lib/LD/
DGNUArchiveReader.cpp379 pArchive.inputs().insert(parent->lastPos, *(parent->move), *member); in includeMember()
383 parent->move->move(parent->lastPos); in includeMember()
388 pArchive.addObjectMember(pFileOffset, parent->lastPos); in includeMember()
399 parent->lastPos, in includeMember()
DArchive.cpp136 ar.lastPos = pLastPos; in addArchiveMember()
/frameworks/base/core/java/android/widget/
DAbsListView.java4239 final int lastPos = firstPos + childCount - 1;
4246 } else if (clampedPosition > lastPos) {
4247 viewTravelCount = clampedPosition - lastPos + 1;
4291 final int lastPos = firstPos + childCount - 1; in start() local
4296 final int boundPosFromLast = lastPos - boundPosition; in start()
4311 } else if (clampedPosition > lastPos) { in start()
4318 final int posTravel = clampedPosition - lastPos + 1; in start()
4377 final int lastPos = firstPos + childCount - 1; in startWithOffset() local
4382 } else if (mTargetPos > lastPos) { in startWithOffset()
4383 viewTravelCount = mTargetPos - lastPos; in startWithOffset()
[all …]
DListView.java2442 final int lastPos = mFirstPosition + getChildCount() - 1; in nextSelectedPositionForDirection() local
2443 nextSelected = selectedPos != INVALID_POSITION && selectedPos <= lastPos ? in nextSelectedPositionForDirection()
2445 lastPos; in nextSelectedPositionForDirection()
/frameworks/compile/mclinker/include/mcld/LD/
DArchive.h90 InputTree::iterator lastPos; member
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java2096 int lastPos = -1;
2105 if (!first && ii.position != lastPos + 1) {
2109 ii.position = lastPos + 1;
2125 lastPos = ii.position;
2211 final int lastPos = mItems.get(itemCount - 1).position;
2212 for (int pos = firstPos; pos < lastPos; pos++) {