Home
last modified time | relevance | path

Searched refs:lastIndex (Results 1 – 16 of 16) 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/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java128 int lastIndex = getLastIndex(); in stripDownTo() local
133 while (endRow < mNumRows - 1 && endIndex < lastIndex) { in stripDownTo()
148 for (int i = endIndex; i < lastIndex; i++) { in stripDownTo()
DGridLayoutManager.java677 int lastIndex = mGrid.getLastIndex(); in init() local
679 Log .v(getTag(), "mGrid firstIndex " + firstIndex + " lastIndex " + lastIndex); in init() local
681 for (int i = lastIndex; i >=firstIndex; i--) { in init()
701 lastIndex = mGrid.getLastIndex(); in init()
702 if (focusPosition > lastIndex) { in init()
707 + lastIndex + " focusPosition " + focusPosition); in init()
710 for (int i = firstIndex; i <= lastIndex; i++) { in init()
1546 int lastIndex = mGrid.getLastIndex(); in onLayoutChildren() local
1547 for (int i = firstIndex; i <= lastIndex; i++) { in onLayoutChildren()
/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/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/libs/hwui/
DProgramCache.cpp845 ssize_t lastIndex = 0; in printLongString() local
848 String8 line(str, index - lastIndex); in printLongString()
852 str += (index - lastIndex); in printLongString()
853 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/services/core/java/com/android/server/am/
DProcessStatsService.java638 int lastIndex = 0;
731 lastIndex = Integer.parseInt(args[i]);
850 } else if (lastIndex > 0) {
851 pw.print("LAST STATS AT INDEX "); pw.print(lastIndex); pw.println(":");
853 if (lastIndex >= files.size()) {
857 AtomicFile file = new AtomicFile(new File(files.get(lastIndex)));
862 pw.print("Failure reading "); pw.print(files.get(lastIndex));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java195 int lastIndex = mUserSwitcher.getChildCount() - 1; in refresh() local
196 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.cpp377 int firstIndex = -1, lastIndex = -2; in appendFrom() local
397 lastIndex = i; in appendFrom()
400 int numObjects = lastIndex - firstIndex + 1; in appendFrom()
432 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/
Dcurrent.txt56870 field protected int lastIndex;