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.java135 int lastPos = 0; in escapeAndAppendString() local
142 if (lastPos < pos) append(string, lastPos, pos-lastPos); in escapeAndAppendString()
143 lastPos = pos + 1; in escapeAndAppendString()
146 if (lastPos < pos) append(string, lastPos, pos-lastPos); in escapeAndAppendString()
153 int lastPos = start; in escapeAndAppendString() local
160 if (lastPos < pos) append(buf, lastPos, pos-lastPos); in escapeAndAppendString()
161 lastPos = pos + 1; in escapeAndAppendString()
164 if (lastPos < pos) append(buf, lastPos, pos-lastPos); in escapeAndAppendString()
/frameworks/base/core/java/android/widget/
DAbsListView.java4931 final int lastPos = firstPos + childCount;
4937 (lastPos == mItemCount &&
5453 final int lastPos = mCheckedIdStates.valueAt(checkedIndex); in confirmCheckedPositionsById() local
5455 final long lastPosId = mAdapter.getItemId(lastPos); in confirmCheckedPositionsById()
5458 final int start = Math.max(0, lastPos - CHECK_POSITION_SEARCH_DISTANCE); in confirmCheckedPositionsById()
5459 final int end = Math.min(lastPos + CHECK_POSITION_SEARCH_DISTANCE, mItemCount); in confirmCheckedPositionsById()
5478 lastPos, id, false); in confirmCheckedPositionsById()
5482 mCheckStates.put(lastPos, true); in confirmCheckedPositionsById()
7229 final int lastPos = firstPos + childCount - 1; in start() local
7236 } else if (clampedPosition > lastPos) { in start()
[all …]
DListView.java2596 final int lastPos = mFirstPosition + getChildCount() - 1; in nextSelectedPositionForDirection() local
2597 nextSelected = selectedPos != INVALID_POSITION && selectedPos <= lastPos ? in nextSelectedPositionForDirection()
2599 lastPos; in nextSelectedPositionForDirection()
/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/services/core/java/com/android/server/am/
DAppErrors.java170 int lastPos = 0; in dumpLocked() local
174 pw.write(info.stack, lastPos, pos-lastPos); in dumpLocked()
176 lastPos = pos+1; in dumpLocked()
179 if (lastPos < info.stack.length()) { in dumpLocked()
181 pw.write(info.stack, lastPos, info.stack.length()-lastPos); in dumpLocked()
DProcessStatsService.java396 int lastPos = 0; in parseStateList() local
403 if (lastPos == 0) { in parseStateList()
410 if (lastPos < (i-1)) { in parseStateList()
411 String str = arg.substring(lastPos, i); in parseStateList()
424 lastPos = i + 1; in parseStateList()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java113 final int lastPos = mAppTokens.size(); in addAppToken() local
114 if (addPos >= lastPos) { in addAppToken()
115 addPos = lastPos; in addAppToken()
117 for (int pos = 0; pos < lastPos && pos < addPos; ++pos) { in addAppToken()
/frameworks/compile/mclinker/include/mcld/LD/
DArchive.h78 InputTree::iterator lastPos; member
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java268 final int lastPos = rv.getChildAdapterPosition(lastView); in movingAGroupOffScreenForAddedItems() local
273 mAdapter.addAndNotify(lastPos - 2, 30); in movingAGroupOffScreenForAddedItems()
278 spanLookups.get(lastPos + 30)); in movingAGroupOffScreenForAddedItems()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java2165 int lastPos = -1;
2176 if (!first && ii.position != lastPos + 1) {
2180 ii.position = lastPos + 1;
2197 lastPos = ii.position;
2299 final int lastPos = mItems.get(itemCount - 1).position;
2300 for (int pos = firstPos; pos < lastPos; pos++) {
/frameworks/support/core-ui/java/android/support/v4/view/
DViewPager.java2387 int lastPos = -1;
2396 if (!first && ii.position != lastPos + 1) {
2400 ii.position = lastPos + 1;
2416 lastPos = ii.position;
2502 final int lastPos = mItems.get(itemCount - 1).position;
2503 for (int pos = firstPos; pos < lastPos; pos++) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java1879 int lastPos = getPosition(getChildAt(0)); in validateChildOrder() local
1886 if (pos < lastPos) { in validateChildOrder()
1901 if (pos < lastPos) { in validateChildOrder()