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

/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java135 int lastPos = 0;
142 if (lastPos < pos) append(string, lastPos, pos-lastPos);
143 lastPos = pos + 1;
146 if (lastPos < pos) append(string, lastPos, pos-lastPos);
153 int lastPos = start;
160 if (lastPos < po
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DGNUArchiveReader.cpp375 pArchive.inputs().insert(parent->lastPos, *(parent->move), *member);
379 parent->move->move(parent->lastPos);
389 pArchive.addObjectMember(pFileOffset, parent->lastPos);
399 member->name(), parent->lastPos, &InputTree::Downward);
H A DArchive.cpp121 ar.lastPos = pLastPos;
/frameworks/base/core/java/android/widget/
H A DAbsListView.java4920 final int lastPos = firstPos + childCount;
4926 (lastPos == mItemCount &&
5442 final int lastPos = mCheckedIdStates.valueAt(checkedIndex);
5444 final long lastPosId = mAdapter.getItemId(lastPos);
5447 final int start = Math.max(0, lastPos - CHECK_POSITION_SEARCH_DISTANCE);
5448 final int end = Math.min(lastPos + CHECK_POSITION_SEARCH_DISTANCE, mItemCount);
5467 lastPos, id, false);
5471 mCheckStates.put(lastPos, true);
7213 final int lastPos = firstPos + childCount - 1;
7220 } else if (clampedPosition > lastPos) {
[all...]
H A DListView.java2587 final int lastPos = mFirstPosition + getChildCount() - 1;
2588 nextSelected = selectedPos != INVALID_POSITION && selectedPos <= lastPos ?
2590 lastPos;
/frameworks/base/services/core/java/com/android/server/wm/
H A DTask.java112 final int lastPos = mAppTokens.size();
113 if (addPos >= lastPos) {
114 addPos = lastPos;
116 for (int pos = 0; pos < lastPos && pos < addPos; ++pos) {
/frameworks/compile/mclinker/include/mcld/LD/
H A DArchive.h78 InputTree::iterator lastPos; member in struct:mcld::Archive::ArchiveMember
/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrors.java174 int lastPos = 0;
178 pw.write(info.stack, lastPos, pos-lastPos);
180 lastPos = pos+1;
183 if (lastPos < info.stack.length()) {
185 pw.write(info.stack, lastPos, info.stack.length()-lastPos);
H A DProcessStatsService.java396 int lastPos = 0;
403 if (lastPos == 0) {
410 if (lastPos < (i-1)) {
411 String str = arg.substring(lastPos, i);
424 lastPos = i + 1;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerTest.java265 final int lastPos = rv.getChildAdapterPosition(lastView);
270 mAdapter.addAndNotify(lastPos - 2, 30);
275 spanLookups.get(lastPos + 30));
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java2192 int lastPos = -1;
2203 if (!first && ii.position != lastPos + 1) {
2207 ii.position = lastPos + 1;
2224 lastPos = ii.position;
2326 final int lastPos = mItems.get(itemCount - 1).position;
2327 for (int pos = firstPos; pos < lastPos; pos++) {
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java2345 int lastPos = -1;
2354 if (!first && ii.position != lastPos + 1) {
2358 ii.position = lastPos + 1;
2374 lastPos = ii.position;
2460 final int lastPos = mItems.get(itemCount - 1).position;
2461 for (int pos = firstPos; pos < lastPos; pos++) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java1848 int lastPos = getPosition(getChildAt(0));
1855 if (pos < lastPos) {
1870 if (pos < lastPos) {

Completed in 358 milliseconds