Home
last modified time | relevance | path

Searched refs:firstId (Results 1 – 7 of 7) 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/packages/SystemUI/tests/src/com/android/systemui/complication/
DComplicationViewModelTransformerTest.java78 final ComplicationId firstId = idCaptor.getValue(); in testStableIds() local
86 assertEquals(secondId, firstId); in testStableIds()
104 final ComplicationId firstId = idCaptor.getValue(); in testUniqueIds() local
112 assertNotEquals(secondId, firstId); in testUniqueIds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ui/viewmodel/
DScreenshotViewModelTest.kt50 val firstId = viewModel.addAction(ActionButtonAppearance(null, "", ""), false, {}) in testRemoveAction() constant
54 assertThat(firstId).isNotEqualTo(secondId) in testRemoveAction()
56 viewModel.removeAction(firstId) in testRemoveAction()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DEnterpriseSpecificIdCalculator.java162 VerifierDeviceIdentity firstId = new VerifierDeviceIdentity(esidByteBuffer.getLong()); in calculateEnterpriseId() local
164 return firstId.toString() + secondId.toString(); in calculateEnterpriseId()
/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.java1799 long firstId; field in AbsListView.SavedState
1823 firstId = in.readLong(); in SavedState()
1846 out.writeLong(firstId); in writeToParcel()
1867 + " firstId=" + firstId in toString()
1906 ss.firstId = mPendingSync.firstId; in onSaveInstanceState()
1927 ss.firstId = INVALID_POSITION; in onSaveInstanceState()
1946 ss.firstId = mAdapter.getItemId(firstPos); in onSaveInstanceState()
1949 ss.firstId = INVALID_POSITION; in onSaveInstanceState()
2003 } else if (ss.firstId >= 0) { in onRestoreInstanceState()
2010 mSyncRowId = ss.firstId; in onRestoreInstanceState()