/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/ |
D | PreviewMultiSelectTest.java | 84 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_common() 88 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_2_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_common() 131 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_deselect() 132 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_2_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_deselect() 187 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_2_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_navigation() 188 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_navigation() 237 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_fromAlbumsTab() 275 clickItem(PICKER_TAB_RECYCLERVIEW_ID, VIDEO_POSITION, ICON_THUMBNAIL_ID); in testPreview_viewSelectedAfterLongPress() 276 assertItemSelected(PICKER_TAB_RECYCLERVIEW_ID, VIDEO_POSITION, ICON_THUMBNAIL_ID); in testPreview_viewSelectedAfterLongPress() 279 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_2_POSITION, ICON_THUMBNAIL_ID); in testPreview_viewSelectedAfterLongPress() [all …]
|
D | PreviewMultiSelectLongPressTest.java | 55 private static final int ICON_THUMBNAIL_ID = R.id.icon_thumbnail; field in PreviewMultiSelectLongPressTest 66 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, /* position */ 1, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_image() 98 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, /* position */ 3, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_video() 119 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, position, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_select() 137 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, position, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_select() 161 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_showsOnlyOne() 162 assertItemSelected(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_showsOnlyOne() 163 clickItem(PICKER_TAB_RECYCLERVIEW_ID, VIDEO_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_showsOnlyOne() 164 assertItemSelected(PICKER_TAB_RECYCLERVIEW_ID, VIDEO_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_showsOnlyOne() 167 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_2_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_showsOnlyOne()
|
D | SpecialFormatMultiSelectTest.java | 52 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, GIF_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_gif() 68 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, ANIMATED_WEBP_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_animatedWebp() 91 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, NON_ANIMATED_WEBP_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_nonAnimatedWebp() 114 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, MOTION_PHOTO_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_longPress_motionPhoto() 132 clickItem(PICKER_TAB_RECYCLERVIEW_ID, GIF_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_navigation() 133 clickItem(PICKER_TAB_RECYCLERVIEW_ID, ANIMATED_WEBP_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_navigation() 134 clickItem(PICKER_TAB_RECYCLERVIEW_ID, MOTION_PHOTO_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_navigation() 135 clickItem(PICKER_TAB_RECYCLERVIEW_ID, NON_ANIMATED_WEBP_POSITION, ICON_THUMBNAIL_ID); in testPreview_multiSelect_navigation()
|
D | MaxSelectionTest.java | 64 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testMaxSelection() 70 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_2_POSITION, ICON_THUMBNAIL_ID); in testMaxSelection() 83 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, VIDEO_POSITION, ICON_THUMBNAIL_ID); in testMaxSelection() 91 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testMaxSelection() 99 clickItem(PICKER_TAB_RECYCLERVIEW_ID, VIDEO_POSITION, ICON_THUMBNAIL_ID); in testMaxSelection() 116 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_2_POSITION, ICON_THUMBNAIL_ID); in testMaxSelection() 120 clickItem(PICKER_TAB_RECYCLERVIEW_ID, VIDEO_POSITION, ICON_THUMBNAIL_ID); in testMaxSelection()
|
D | SpecialFormatSingleSelectTest.java | 58 assertItemDisplayed(PICKER_TAB_RECYCLERVIEW_ID, MOTION_PHOTO_POSITION, ICON_THUMBNAIL_ID); in testPhotoGridLayout_motionPhoto() 74 assertItemDisplayed(PICKER_TAB_RECYCLERVIEW_ID, GIF_POSITION, ICON_THUMBNAIL_ID); in testPhotoGridLayout_gif() 89 assertItemDisplayed(PICKER_TAB_RECYCLERVIEW_ID, ANIMATED_WEBP_POSITION, ICON_THUMBNAIL_ID); in testPhotoGridLayout_animatedWebp() 107 ICON_THUMBNAIL_ID); in testPhotoGridLayout_nonAnimatedWebp() 124 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, GIF_POSITION, ICON_THUMBNAIL_ID); in testPreview_singleSelect_gif() 144 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, ANIMATED_WEBP_POSITION, ICON_THUMBNAIL_ID); in testPreview_singleSelect_animatedWebp() 167 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, NON_ANIMATED_WEBP_POSITION, ICON_THUMBNAIL_ID); in testPreview_singleSelect_nonAnimatedWebp() 183 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, MOTION_PHOTO_POSITION, ICON_THUMBNAIL_ID); in testPreview_singleSelect_motionPhoto()
|
D | MultiSelectTest.java | 101 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testMultiselect_selectIcon() 105 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testMultiselect_selectIcon() 131 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testMultiSelect_bottomBar() 139 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testMultiSelect_bottomBar() 154 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testMultiSelect_addButtonText() 160 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_2_POSITION, ICON_THUMBNAIL_ID); in testMultiSelect_addButtonText() 165 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_2_POSITION, ICON_THUMBNAIL_ID); in testMultiSelect_addButtonText() 182 clickItem(PICKER_TAB_RECYCLERVIEW_ID, /* position */ 1, ICON_THUMBNAIL_ID); in testMultiSelectAcrossCategories() 203 clickItem(PICKER_TAB_RECYCLERVIEW_ID, /* position */ 1, ICON_THUMBNAIL_ID); in testMultiSelectAcrossCategories() 213 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testMultiSelectAcrossDifferentTabs() [all …]
|
D | PreviewSingleSelectTest.java | 73 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, VIDEO_POSITION, ICON_THUMBNAIL_ID); in testPreview_singleSelect_video() 110 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, /* position */ 1, ICON_THUMBNAIL_ID); in testPreview_singleSelect_fromAlbumsPhoto() 133 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_noScrimLayerAndHasSolidColorInPortrait() 155 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_showScrimLayerInLandscape() 172 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_addButtonVisible()
|
D | ActiveProfileButtonTest.java | 103 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testProfileButton_hideOnItemSelection() 109 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testProfileButton_hideOnItemSelection() 115 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testProfileButton_hideOnItemSelection()
|
D | PhotosTabTest.java | 88 assertItemDisplayed(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPhotoGridLayout_image() 103 assertItemDisplayed(PICKER_TAB_RECYCLERVIEW_ID, VIDEO_POSITION, ICON_THUMBNAIL_ID); in testPhotoGridLayout_video() 167 assertItemDisplayed(PICKER_TAB_RECYCLERVIEW_ID, photoItemPosition, ICON_THUMBNAIL_ID); in testPhotoGrid_albumPhotos()
|
D | PhotoPickerUserSelectActivityTest.java | 140 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testAddButtonIsShownWithCorrectTextWhenItemsSelected() 168 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testAddButtonIsShowsAllowNone() 199 clickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_deselectAll_showAllowNone()
|
D | PhotoPickerBaseTest.java | 67 protected static final int ICON_THUMBNAIL_ID = R.id.icon_thumbnail; field in PhotoPickerBaseTest
|
D | DisabledAccessibilityTest.java | 254 longClickItem(PICKER_TAB_RECYCLERVIEW_ID, IMAGE_1_POSITION, ICON_THUMBNAIL_ID); in testPreview_singleSelect_image()
|