Home
last modified time | relevance | path

Searched refs:canSelectMultiple (Results 1 – 12 of 12) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerResult.java43 public static Intent getPickerResponseIntent(String action, boolean canSelectMultiple, in getPickerResponseIntent() argument
56 if (!canSelectMultiple) { in getPickerResponseIntent()
DSelection.java412 public boolean canSelectMultiple() { in canSelectMultiple() method in Selection
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/
DMainActivity.kt274 setResultForApp(selection, canSelectMultiple = configuration.selectionLimit > 1) in <lambda>()
301 private suspend fun setResultForApp(selection: Set<Media>, canSelectMultiple: Boolean) { in <lambda>()
309 if (!canSelectMultiple) { in <lambda>()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DTabFragment.java209 final boolean canSelectMultiple = mSelection.canSelectMultiple(); in onViewCreated()
210 if (canSelectMultiple) { in onViewCreated()
435 if (!mSelection.canSelectMultiple()) { in updateVisibilityAndAnimateBottomBar()
684 && (!mSelection.canSelectMultiple() in shouldShowProfileButton()
694 && (!mSelection.canSelectMultiple() in shouldShowProfileButtonOrProfileMenuButton()
DPreviewFragment.java123 if (selectedItemsListSize > 1 && !mSelection.canSelectMultiple()) { in onViewCreated()
230 if (!mSelection.canSelectMultiple()) { in setUpPreviewLayoutForLongPress()
397 if (!mSelection.canSelectMultiple()) return; in onPageSelected()
DMediaItemGridViewHolder.java72 boolean canSelectMultiple, in MediaItemGridViewHolder() argument
84 mCanSelectMultiple = canSelectMultiple; in MediaItemGridViewHolder()
DPhotosTabAdapter.java109 mSelection.canSelectMultiple(), in createMediaItemViewHolder()
135 final boolean isSelected = mSelection.canSelectMultiple() in onBindMediaItemViewHolder()
DPhotosTabFragment.java449 if (mSelection.canSelectMultiple()) {
506 if (!mSelection.canSelectMultiple()) {
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DSelectionTest.java304 assertThat(mSelection.canSelectMultiple()).isFalse(); in testParseValuesFromIntent_allowMultipleNotSupported()
313 assertThat(mSelection.canSelectMultiple()).isFalse(); in testParseValuesFromIntent_setDefaultFalseForAllowMultiple()
324 assertThat(mSelection.canSelectMultiple()).isTrue(); in testParseValuesFromIntent_validMaxSelectionLimit()
363 assertThat(mSelection.canSelectMultiple()).isTrue(); in testParseValuesFromIntent_actionGetContent()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocsSelectionPredicate.java102 public boolean canSelectMultiple() { in canSelectMultiple() method in DocsSelectionPredicate
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerActivity.java626 if (!isAccessibilityEnabled() && !mSelection.canSelectMultiple() in initStateForBottomSheet()
748 mSelection.canSelectMultiple(), mSelection.getSelectedItems()); in setResultForPickImagesOrGetContentAction()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModel.java533 } else if (isPickImagesAction() && mSelection.canSelectMultiple()) { in initialisePreGrantsIfNecessary()
1218 if (mSelection != null && mSelection.canSelectMultiple()) { in logPickerOpened()