Home
last modified time | relevance | path

Searched refs:lastIndex (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVNodeBuilder.java93 int lastIndex = mVNodeList.size() - 1; in onEntryEnded() local
94 mVNodeList.remove(lastIndex--); in onEntryEnded()
95 mCurrentVNode = lastIndex >= 0 ? mVNodeList.get(lastIndex) : null; in onEntryEnded()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java271 int lastIndex = entryName.lastIndexOf('/'); in getJarEntries() local
273 String packageName = entryName.substring(0, lastIndex + 1); in getJarEntries()
275 lastIndex = entryName.lastIndexOf('/', lastIndex - 1); in getJarEntries()
276 } while (lastIndex > 0); in getJarEntries()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java149 int lastIndex = getLastIndex(); in stripDownTo() local
154 while (endRow < mNumRows - 1 && endIndex < lastIndex) { in stripDownTo()
169 for (int i = endIndex; i < lastIndex; i++) { in stripDownTo()
DGridLayoutManager.java731 int lastIndex = mGrid.getLastIndex(); in init() local
733 Log .v(getTag(), "mGrid firstIndex " + firstIndex + " lastIndex " + lastIndex); in init() local
735 for (int i = lastIndex; i >=firstIndex; i--) { in init()
755 lastIndex = mGrid.getLastIndex(); in init()
756 if (focusPosition > lastIndex) { in init()
761 + lastIndex + " focusPosition " + focusPosition); in init()
764 for (int i = firstIndex; i <= lastIndex; i++) { in init()
1654 int lastIndex = mGrid.getLastIndex();
1655 for (int i = firstIndex; i <= lastIndex; i++) {
/frameworks/base/libs/hwui/
DProgramCache.cpp832 ssize_t lastIndex = 0; in printLongString() local
835 String8 line(str, index - lastIndex); in printLongString()
839 str += (index - lastIndex); in printLongString()
840 lastIndex = index; in printLongString()
DPathTessellator.cpp272 const int lastIndex = vertices.size() - 1; in getStrokeVerticesFromUnclosedVertices() local
279 - (vertices[lastIndex].x - vertices[lastIndex - 1].x), in getStrokeVerticesFromUnclosedVertices()
280 vertices[lastIndex].y - vertices[lastIndex - 1].y); in getStrokeVerticesFromUnclosedVertices()
303 vertices[lastIndex].x + endRadialOffset.x, in getStrokeVerticesFromUnclosedVertices()
304 vertices[lastIndex].y + endRadialOffset.y); in getStrokeVerticesFromUnclosedVertices()
332 storeBeginEnd(paintInfo, vertices[lastIndex], lastNormal, buffer, currentIndex, false); in getStrokeVerticesFromUnclosedVertices()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java190 int lastIndex = viewGroup.getChildCount() - 1; in refresh() local
191 viewGroup.removeViewAt(lastIndex); in refresh()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java643 int lastIndex = 0;
737 lastIndex = Integer.parseInt(args[i]);
886 } else if (lastIndex > 0) {
887 pw.print("LAST STATS AT INDEX "); pw.print(lastIndex); pw.println(":");
889 if (lastIndex >= files.size()) {
893 AtomicFile file = new AtomicFile(new File(files.get(lastIndex)));
898 pw.print("Failure reading "); pw.print(files.get(lastIndex));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java208 int lastIndex = mUserSwitcher.getChildCount() - 1; in refresh() local
209 mUserSwitcher.removeViewAt(lastIndex); in refresh()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java418 int lastIndex = 0; in parseCSV() local
421 while ((lastIndex = value.indexOf(",", lastIndex + 1)) > 0) { in parseCSV()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java528 int lastIndex = getCurrentItemShowing(); in setCurrentItemShowing() local
531 if (animate && (index != lastIndex)) { in setCurrentItemShowing()
/frameworks/native/libs/binder/
DParcel.cpp398 int firstIndex = -1, lastIndex = -2; in appendFrom() local
418 lastIndex = i; in appendFrom()
421 int numObjects = lastIndex - firstIndex + 1; in appendFrom()
453 for (int i = firstIndex; i <= lastIndex; i++) { in appendFrom()
/frameworks/base/core/java/android/widget/
DListView.java3104 int lastIndex = getChildCount() - 1;
3105 View last = getChildAt(lastIndex);
3111 recycleBin.addScrapView(last, mFirstPosition+lastIndex);
3114 last = getChildAt(--lastIndex);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java2469 int lastIndex = Math.min(mTempVisiblePagesRange[1], getPageCount() - 1); in createPostDeleteAnimationRunnable() local
2471 int upperIndex = (slideFromLeft ? dragViewIndex - 1 : lastIndex); in createPostDeleteAnimationRunnable()
/frameworks/native/services/inputflinger/
DInputReader.cpp5469 uint32_t lastIndex = mCurrentRawPointerData.idToIndex[id]; in dispatchPointerMouse() local
5471 - mLastRawPointerData.pointers[lastIndex].x) in dispatchPointerMouse()
5474 - mLastRawPointerData.pointers[lastIndex].y) in dispatchPointerMouse()
/frameworks/base/api/
Dsystem-current.txt59609 field protected int lastIndex;
Dcurrent.txt57080 field protected int lastIndex;