/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/selection/ |
D | SelectionImplTest.kt | 64 selectionLimit(1) in <lambda>() 89 selectionLimit(50) in testSelectionIsInitialized() 122 selectionLimit(50) in <lambda>() 165 selectionLimit(50) in <lambda>() 193 selectionLimit(1) in <lambda>() 217 selectionLimit(50) in <lambda>() 255 selectionLimit(50) in <lambda>() 300 selectionLimit(50) in <lambda>() 344 selectionLimit(50) in <lambda>() 400 selectionLimit(50) in <lambda>() [all …]
|
D | GrantsAwareSelectionTest.kt | 65 selectionLimit(1) in <lambda>() 90 selectionLimit(50) in testSelectionIsInitialized() 125 selectionLimit(50) in <lambda>() 147 selectionLimit(50) in <lambda>() 175 selectionLimit(1) in <lambda>() 199 selectionLimit(50) in <lambda>() 237 selectionLimit(50) in <lambda>() 282 selectionLimit(50) in <lambda>() 326 selectionLimit(50) in <lambda>() 382 selectionLimit(50) in <lambda>() [all …]
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/configuration/ |
D | ConfigurationManager.kt | 148 val selectionLimit = featureInfo.maxSelectionLimit in <lambda>() constant 157 val pickImagesInOrder = featureInfo.isOrderedSelection && (selectionLimit > 1) in <lambda>() 173 selectionLimit = selectionLimit, in <lambda>() 196 val selectionLimit = in <lambda>() constant 210 intent.getPickImagesInOrderEnabled(default = false) && (selectionLimit > 1) in <lambda>() 246 selectionLimit = selectionLimit, in <lambda>()
|
D | PhotopickerConfiguration.kt | 81 val selectionLimit: Int = DEFAULT_SELECTION_LIMIT, constant in com.android.photopicker.core.configuration.PhotopickerConfiguration
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/configuration/ |
D | TestPhotopickerConfiguration.kt | 64 private var selectionLimit: Int = DEFAULT_SELECTION_LIMIT in build() variable in com.android.photopicker.core.configuration.TestPhotopickerConfiguration.Builder 79 fun selectionLimit(value: Int) = apply { this.selectionLimit = value } in build() method 105 selectionLimit = selectionLimit, in build()
|
D | ConfigurationManagerTest.kt | 347 assertThat(emissions.last().selectionLimit) in testSetIntentSetsSelectionLimit() 527 assertThat(emissions.last().selectionLimit) in testSetIntentSetsPickImagesInOrder() 573 assertThat(emissions.last().selectionLimit) in testSetIntentSetsPickImagesPreSelectionUris() 907 assertThat(emissions.last().selectionLimit) in testSetEmbeddedPhotopickerFeatureInfoSetsSelectionLimit()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/selectionbar/ |
D | SelectionBarFeatureTest.kt | 196 selectionLimit = 5, in testSelectionBarIsEnabledWithSelectionLimitInActivityMode() 206 selectionLimit = 5, in testSelectionBarIsEnabledWithSelectionLimitInActivityMode() 216 selectionLimit = 5, in testSelectionBarIsEnabledWithSelectionLimitInActivityMode() 250 selectionLimit = 1, in testSelectionBarIsAlwaysEnabledInEmbeddedMode() 261 selectionLimit = 20, in testSelectionBarIsAlwaysEnabledInEmbeddedMode()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/categorygrid/ |
D | MediaSetContentGrid.kt | 104 val selectionLimit = LocalPhotopickerConfiguration.current.selectionLimit in MediasetContentGrid() constant 106 stringResource(R.string.photopicker_selection_limit_exceeded_snackbar, selectionLimit) in MediasetContentGrid()
|
D | AlbumMediaGrid.kt | 116 val selectionLimit = LocalPhotopickerConfiguration.current.selectionLimit in AlbumMediaGrid() constant 118 stringResource(R.string.photopicker_selection_limit_exceeded_snackbar, selectionLimit) in AlbumMediaGrid()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/components/mediagrid/ |
D | MediaGridTest.kt | 526 selectionLimit(1) in <lambda>() 537 selectionLimit(1) in <lambda>() 545 selectionLimit(1) in <lambda>() 600 selectionLimit(50) in <lambda>() 611 selectionLimit(50) in <lambda>() 619 selectionLimit(50) in <lambda>() 668 selectionLimit(2) in <lambda>()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/albumgrid/ |
D | AlbumMediaGrid.kt | 117 val selectionLimit = LocalPhotopickerConfiguration.current.selectionLimit in AlbumMediaGrid() constant 118 val localizedSelectionLimit = LocalLocalizationHelper.current.getLocalizedCount(selectionLimit) in AlbumMediaGrid()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/photogrid/ |
D | PhotoGrid.kt | 132 val selectionLimit = LocalPhotopickerConfiguration.current.selectionLimit in <lambda>() constant 133 val localizedSelectionLimit = LocalLocalizationHelper.current.getLocalizedCount(selectionLimit) in <lambda>()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/ |
D | Preview.kt | 207 if (LocalPhotopickerConfiguration.current.selectionLimit > 1) { in <lambda>() 293 if (config.selectionLimit == 1) { in <lambda>() 315 when (config.selectionLimit) { in <lambda>()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/events/ |
D | Dispatchers.kt | 66 val maxPickedItemsCount = photopickerConfiguration.selectionLimit in <lambda>() 182 if (photopickerConfiguration.selectionLimit == 1) { in dispatchReportPhotopickerSessionInfoEvent()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/selectionbar/ |
D | SelectionBarFeature.kt | 50 return config.selectionLimit > 1 in isEnabled()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preparemedia/ |
D | MediaPreparerViewModel.kt | 167 replay = configurationManager.configuration.value.selectionLimit, 756 if (configurationManager.configuration.value.selectionLimit == 1) { in cancelPrepare()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/ |
D | MainActivity.kt | 309 if (configurationManager.configuration.value.selectionLimit == 1) { in <lambda>() 504 setResultForApp(selection, canSelectMultiple = configuration.selectionLimit > 1) in <lambda>()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/selection/ |
D | SelectionImpl.kt | 306 return _selection.size + size <= configuration.value.selectionLimit in ensureSelectionLimitLocked()
|
D | GrantsAwareSelectionImpl.kt | 427 return _selection.size + size <= configuration.value.selectionLimit in ensureSelectionLimitLocked()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/albumgrid/ |
D | AlbumGridViewModelTest.kt | 184 selectionLimit = 0, in testAlbumGridShowsToastWhenSelectionFull()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/search/ |
D | Search.kt | 917 val selectionLimit = LocalPhotopickerConfiguration.current.selectionLimit in ResultMediaGrid() constant 921 stringResource(R.string.photopicker_selection_limit_exceeded_snackbar, selectionLimit) in ResultMediaGrid()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/components/mediagrid/ |
D | MediaGrid.kt | 400 isSelected && LocalPhotopickerConfiguration.current.selectionLimit > 1 in defaultBuildMediaItem() 567 val shouldIndicateSelected = configuration.selectionLimit > 1 in SelectedIconOverlay()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/photogrid/ |
D | PhotoGridViewModelTest.kt | 281 selectionLimit(0) in testShowsToastWhenSelectionFull()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/ |
D | PreviewViewModelTest.kt | 378 selectionLimit(50) in testToggleInSelectionCollectionUpdatesSelection()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/embedded/ |
D | SessionTest.kt | 440 .that(configuration.selectionLimit) in <lambda>()
|