Home
last modified time | relevance | path

Searched refs:SelectionModifiedResult (Results 1 – 9 of 9) sorted by relevance

/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/selection/
DSelection.kt38 suspend fun add(item: T): SelectionModifiedResult
46 suspend fun addAll(items: Collection<T>): SelectionModifiedResult
70 suspend fun remove(item: T): SelectionModifiedResult
77 suspend fun removeAll(items: Collection<T>): SelectionModifiedResult
98 suspend fun toggle(item: T): SelectionModifiedResult
108 suspend fun toggleAll(items: Collection<T>): SelectionModifiedResult
DSelectionImpl.kt21 import com.android.photopicker.core.selection.SelectionModifiedResult.FAILURE_SELECTION_LIMIT_EXCEE…
22 import com.android.photopicker.core.selection.SelectionModifiedResult.SUCCESS
92 override suspend fun add(item: T): SelectionModifiedResult { in add()
116 override suspend fun addAll(items: Collection<T>): SelectionModifiedResult { in addAll()
167 override suspend fun remove(item: T): SelectionModifiedResult { in remove()
183 override suspend fun removeAll(items: Collection<T>): SelectionModifiedResult { in removeAll()
214 override suspend fun toggle(item: T): SelectionModifiedResult { in toggle()
245 override suspend fun toggleAll(items: Collection<T>): SelectionModifiedResult { in toggleAll()
DGrantsAwareSelectionImpl.kt21 import com.android.photopicker.core.selection.SelectionModifiedResult.FAILURE_SELECTION_LIMIT_EXCEE…
22 import com.android.photopicker.core.selection.SelectionModifiedResult.SUCCESS
103 override suspend fun add(item: T): SelectionModifiedResult { in add()
132 override suspend fun addAll(items: Collection<T>): SelectionModifiedResult { in addAll()
209 override suspend fun remove(item: T): SelectionModifiedResult { in remove()
230 override suspend fun removeAll(items: Collection<T>): SelectionModifiedResult { in removeAll()
274 override suspend fun toggle(item: T): SelectionModifiedResult { in toggle()
318 override suspend fun toggleAll(items: Collection<T>): SelectionModifiedResult { in toggleAll()
DSelectionModifiedResult.kt23 enum class SelectionModifiedResult { class
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/selection/
DSelectionImplTest.kt112 .isEqualTo(SelectionModifiedResult.SUCCESS) in <lambda>()
115 .isEqualTo(SelectionModifiedResult.SUCCESS) in <lambda>()
118 .isEqualTo(SelectionModifiedResult.SUCCESS) in <lambda>()
137 .isEqualTo(SelectionModifiedResult.FAILURE_SELECTION_LIMIT_EXCEEDED) in <lambda>()
DGrantsAwareSelectionTest.kt116 .isEqualTo(SelectionModifiedResult.SUCCESS) in <lambda>()
119 .isEqualTo(SelectionModifiedResult.SUCCESS) in <lambda>()
122 .isEqualTo(SelectionModifiedResult.SUCCESS) in <lambda>()
141 .isEqualTo(SelectionModifiedResult.FAILURE_SELECTION_LIMIT_EXCEEDED) in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/photogrid/
DPhotoGridViewModel.kt28 import com.android.photopicker.core.selection.SelectionModifiedResult.FAILURE_SELECTION_LIMIT_EXCEE…
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/albumgrid/
DAlbumGridViewModel.kt30 import com.android.photopicker.core.selection.SelectionModifiedResult.FAILURE_SELECTION_LIMIT_EXCEE…
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreviewViewModel.kt38 import com.android.photopicker.core.selection.SelectionModifiedResult.FAILURE_SELECTION_LIMIT_EXCEE…