Home
last modified time | relevance | path

Searched refs:firstId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingTest.java106 int firstId = Integer.MIN_VALUE; in testManyScrolls() local
111 prevId = firstId; in testManyScrolls()
118 firstId = firstChild.getId(); in testManyScrolls()
120 } while ((prevId != firstId) || (prevTop != firstTop)); in testManyScrolls()
127 firstId = Integer.MIN_VALUE; in testManyScrolls()
130 prevId = firstId; in testManyScrolls()
137 firstId = firstChild.getId(); in testManyScrolls()
139 } while ((prevId != firstId) || (prevTop != firstTop)); in testManyScrolls()
DGridTouchVerticalSpacingStackFromBottomTest.java124 int firstId = Integer.MIN_VALUE; in testManyScrolls() local
129 prevId = firstId; in testManyScrolls()
136 firstId = firstChild.getId(); in testManyScrolls()
138 } while ((prevId != firstId) || (prevTop != firstTop)); in testManyScrolls()
144 firstId = Integer.MIN_VALUE; in testManyScrolls()
147 prevId = firstId; in testManyScrolls()
154 firstId = firstChild.getId(); in testManyScrolls()
156 } while ((prevId != firstId) || (prevTop != firstTop)); in testManyScrolls()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp272 int64_t firstId = trainInfo->experimentIds.at(0); in getAndUpdateTrainInfoOnDisk() local
276 if (find(ids.begin(), ids.end(), firstId + 1) == ids.end()) { in getAndUpdateTrainInfoOnDisk()
277 ids.push_back(firstId + 1); in getAndUpdateTrainInfoOnDisk()
281 if (find(ids.begin(), ids.end(), firstId + 2) == ids.end()) { in getAndUpdateTrainInfoOnDisk()
282 ids.push_back(firstId + 2); in getAndUpdateTrainInfoOnDisk()
286 if (find(ids.begin(), ids.end(), firstId + 3) == ids.end()) { in getAndUpdateTrainInfoOnDisk()
287 ids.push_back(firstId + 3); in getAndUpdateTrainInfoOnDisk()
351 int64_t firstId = trainInfoOnDisk.experimentIds[0]; in processWatchdogRollbackOccurred() local
355 if (find(ids.begin(), ids.end(), firstId + 4) == ids.end()) { in processWatchdogRollbackOccurred()
356 ids.push_back(firstId + 4); in processWatchdogRollbackOccurred()
[all …]
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java1365 ss.firstId = mAdapter.getItemId(position); in onSaveInstanceState()
1579 long firstId = -1; field in StaggeredGridView.SavedState
1589 firstId = in.readLong(); in SavedState()
1597 out.writeLong(firstId); in writeToParcel()
1606 + " firstId=" + firstId in toString()
/frameworks/base/core/java/android/widget/
DAbsListView.java1712 long firstId; field in AbsListView.SavedState
1736 firstId = in.readLong(); in SavedState()
1759 out.writeLong(firstId); in writeToParcel()
1780 + " firstId=" + firstId in toString()
1819 ss.firstId = mPendingSync.firstId; in onSaveInstanceState()
1840 ss.firstId = INVALID_POSITION; in onSaveInstanceState()
1859 ss.firstId = mAdapter.getItemId(firstPos); in onSaveInstanceState()
1862 ss.firstId = INVALID_POSITION; in onSaveInstanceState()
1916 } else if (ss.firstId >= 0) { in onRestoreInstanceState()
1923 mSyncRowId = ss.firstId; in onRestoreInstanceState()