Home
last modified time | relevance | path

Searched refs:itemCount (Results 1 – 11 of 11) sorted by relevance

/cts/tests/PhotoPicker/src/android/photopicker/cts/
DPhotoPickerTest.java118 final int itemCount = 1; in testSingleSelect() local
119 mUriList.addAll(createImagesAndGetUris(itemCount, mContext.getUserId())); in testSingleSelect()
124 final UiObject item = findItemList(itemCount).get(0); in testSingleSelect()
135 final int itemCount = 1; in testSingleSelectForFavoritesAlbum() local
136 mUriList.addAll(createImagesAndGetUris(itemCount, mContext.getUserId(), in testSingleSelectForFavoritesAlbum()
148 final UiObject item = findItemList(itemCount).get(0); in testSingleSelectForFavoritesAlbum()
173 final int itemCount = itemList.size(); in testLaunchPreviewMultipleForVideoAlbum() local
175 assertThat(itemCount).isEqualTo(videoCount); in testLaunchPreviewMultipleForVideoAlbum()
177 for (int i = 0; i < itemCount; i++) { in testLaunchPreviewMultipleForVideoAlbum()
191 final int itemCount = 1; in testSingleSelectWithPreview() local
[all …]
DActionPickImagesOnlyTest.java124 final int itemCount = itemList.size(); in testMultiSelect_returnsNotMoreThanMax() local
125 assertThat(itemCount).isEqualTo(imageCount); in testMultiSelect_returnsNotMoreThanMax()
127 for (int i = 0; i < itemCount; i++) { in testMultiSelect_returnsNotMoreThanMax()
155 final int itemCount = itemList.size(); in testDoesNotRespectExtraAllowMultiple() local
156 assertThat(itemCount).isEqualTo(imageCount); in testDoesNotRespectExtraAllowMultiple()
DActionGetContentOnlyTest.java123 final int itemCount = 1; in testBrowse_singleSelect() local
124 List<Pair<Uri, String>> createdImagesData = createImagesAndGetUriAndPath(itemCount, in testBrowse_singleSelect()
148 final int itemCount = 3; in testBrowse_multiSelect() local
149 List<Pair<Uri, String>> createdImagesData = createImagesAndGetUriAndPath(itemCount, in testBrowse_multiSelect()
169 assertThat(count).isEqualTo(itemCount); in testBrowse_multiSelect()
DPhotoPickerCrossProfileTest.java109 final int itemCount = itemList.size(); in testWorkApp_canAccessPersonalProfileContents() local
110 assertThat(itemCount).isEqualTo(imageCount); in testWorkApp_canAccessPersonalProfileContents()
111 for (int i = 0; i < itemCount; i++) { in testWorkApp_canAccessPersonalProfileContents()
DRemoteVideoPreviewTest.java419 final int itemCount = itemList.size(); in launchPreviewMultiple() local
421 assertThat(itemCount).isEqualTo(count); in launchPreviewMultiple()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListView_ScrollTest.java217 final int itemCount = COUNTRY_LIST.length; in testSmoothScrollToPositionDownUpDown() local
220 verifyScrollToPosition(itemCount - 10); in testSmoothScrollToPositionDownUpDown()
224 verifyScrollToPosition(itemCount - 1); in testSmoothScrollToPositionDownUpDown()
226 verifyScrollToPosition(itemCount / 2); in testSmoothScrollToPositionDownUpDown()
231 final int itemCount = COUNTRY_LIST.length; in testSmoothScrollToPositionEveryRow() local
233 for (int i = 0; i < itemCount; i++) { in testSmoothScrollToPositionEveryRow()
238 for (int i = itemCount - 1; i >= 0; i--) { in testSmoothScrollToPositionEveryRow()
375 final int itemCount = COUNTRY_LIST.length; in testSmoothScrollToPositionFromTop() local
376 verifyScrollToPositionFromTop(itemCount - 1, 0, -1); in testSmoothScrollToPositionFromTop()
377 verifyScrollToPositionFromTop(itemCount - 1, mListView.getHeight(), -1); in testSmoothScrollToPositionFromTop()
[all …]
DGridViewTest.java629 final int itemCount = 300; in testSmoothScrollByOffset() local
631 mGridView.setAdapter(new MockGridViewAdapter(itemCount)); in testSmoothScrollByOffset()
644 final int positionToScrollTo = itemCount - 10; in testSmoothScrollByOffset()
DListViewTest.java1636 final int itemCount = mLongCountryList.length; in testSmoothScrollByOffset() local
1646 final int positionToScrollTo = itemCount - 10; in testSmoothScrollByOffset()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtilsMatchers.java40 int itemCount = item.size(); in inAscendingOrder() local
42 if (itemCount >= 2) { in inAscendingOrder()
43 for (int i = 0; i < itemCount - 1; i++) { in inAscendingOrder()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerUiUtils.java50 public static List<UiObject> findItemList(int itemCount) throws Exception { in findItemList() argument
64 final int count = itemCount == -1 ? childCount : itemCount; in findItemList()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...