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/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java272 int lastIndex = entryName.lastIndexOf('/'); in getJarEntries() local
274 String packageName = entryName.substring(0, lastIndex + 1); in getJarEntries()
276 lastIndex = entryName.lastIndexOf('/', lastIndex - 1); in getJarEntries()
277 } while (lastIndex > 0); in getJarEntries()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGrid.java322 int lastIndex = getLastIndex(); in appendVisbleItemsWithCache() local
323 for (; itemIndex < count && itemIndex <= lastIndex; itemIndex++) { in appendVisbleItemsWithCache()
332 mLocations.removeFromEnd(lastIndex - itemIndex); in appendVisbleItemsWithCache()
333 lastIndex = itemIndex; in appendVisbleItemsWithCache()
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/wizard/
DGuidedStepAttributesTest.java475 int lastIndex = 0; in testSubActions() local
477 REGULAR_ACTIONS_INDEX[i] = lastIndex; in testSubActions()
478 lastIndex++; in testSubActions()
479 BEGIN_SUBACTION_INDEX_PER_ACTION[i] = lastIndex; in testSubActions()
480 END_SUBACTION_INDEX_PER_ACTION[i] = (lastIndex += NUM_SUBACTIONS_PER_ACTION[i]); in testSubActions()
516 lastIndex = 0; in testSubActions()
519 .id(lastIndex++) in testSubActions()
528 .id(lastIndex++) in testSubActions()
/frameworks/base/libs/hwui/
DProgramCache.cpp795 ssize_t lastIndex = 0; in printLongString() local
798 String8 line(str, index - lastIndex); in printLongString()
802 str += (index - lastIndex); in printLongString()
803 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()
302 vertices[lastIndex].x + endRadialOffset.x, in getStrokeVerticesFromUnclosedVertices()
303 vertices[lastIndex].y + endRadialOffset.y); in getStrokeVerticesFromUnclosedVertices()
331 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.java633 int lastIndex = 0;
729 lastIndex = Integer.parseInt(args[i]);
878 } else if (lastIndex > 0) {
879 pw.print("LAST STATS AT INDEX "); pw.print(lastIndex); pw.println(":");
881 if (lastIndex >= files.size()) {
885 AtomicFile file = new AtomicFile(new File(files.get(lastIndex)));
890 pw.print("Failure reading "); pw.print(files.get(lastIndex));
DBroadcastQueue.java1523 int lastIndex = mHistoryNext; in dumpLocked() local
1524 int ringIndex = lastIndex; in dumpLocked()
1562 } while (ringIndex != lastIndex); in dumpLocked()
1565 lastIndex = ringIndex = mSummaryHistoryNext; in dumpLocked()
1572 j > 0 && ringIndex != lastIndex;) { in dumpLocked()
1621 } while (ringIndex != lastIndex); in dumpLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java220 int lastIndex = mUserSwitcher.getChildCount() - 1; in refresh() local
221 mUserSwitcher.removeViewAt(lastIndex); in refresh()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java430 int lastIndex = 0; in parseCSV() local
433 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.cpp501 int firstIndex = -1, lastIndex = -2; in appendFrom() local
527 lastIndex = i; in appendFrom()
530 int numObjects = lastIndex - firstIndex + 1; in appendFrom()
563 for (int i = firstIndex; i <= lastIndex; i++) { in appendFrom()
/frameworks/base/core/java/android/widget/
DListView.java3204 int lastIndex = getChildCount() - 1;
3205 View last = getChildAt(lastIndex);
3211 recycleBin.addScrapView(last, mFirstPosition+lastIndex);
3214 last = getChildAt(--lastIndex);
/frameworks/native/services/inputflinger/
DInputReader.cpp6025 uint32_t lastIndex = mCurrentRawState.rawPointerData.idToIndex[id]; in dispatchPointerMouse() local
6027 - mLastRawState.rawPointerData.pointers[lastIndex].x) in dispatchPointerMouse()
6030 - mLastRawState.rawPointerData.pointers[lastIndex].y) in dispatchPointerMouse()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt57078 field protected int lastIndex;