Home
last modified time | relevance | path

Searched refs:currentSelection (Results 1 – 7 of 7) sorted by relevance

/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/selectionbar/
DSelectionBar.kt63 val currentSelection by LocalSelection.current.flow.collectAsStateWithLifecycle() in SelectionBar() constant
64 val visible = currentSelection.isNotEmpty() in SelectionBar()
116 numberFormatter.format(currentSelection.size), in SelectionBar()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/
DHdrFormatSelectionState.java140 PreferenceCompat currentSelection; in onCreate() local
142 currentSelection = mHdrFormatSelectionAuto; in onCreate()
145 currentSelection = mHdrFormatSelectionManual; in onCreate()
148 selectRadioPreference(currentSelection); in onCreate()
/packages/services/Telephony/src/com/android/phone/settings/
DAccountSelectionPreference.java72 PhoneAccountHandle currentSelection, in setModel() argument
95 if (Objects.equals(currentSelection, mAccounts[i])) { in setModel()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/
DDataSourcesViewModel.kt126 private var currentSelection = HealthDataCategory.ACTIVITY in <lambda>() variable in com.android.healthconnect.controller.datasources.DataSourcesViewModel
128 fun getCurrentSelection(): Int = currentSelection in <lambda>()
131 currentSelection = category in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreview.kt209 val currentSelection by LocalSelection.current.flow.collectAsStateWithLifecycle() in Preview() constant
277 if (currentSelection.contains(selection.elementAt(state.currentPage))) in Preview()
312 currentSelection.size, in Preview()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java236 int currentSelection = mGvs.getCurrentSelection();
237 if (currentSelection < 0
238 || currentSelection >= mAllImages.getCount()) {
241 return mAllImages.getImageAt(currentSelection);
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModel.java664 Set<Uri> currentSelection = mSelection.getSelectedItemsUris(); in loadItems() local
676 && !currentSelection.contains(item.getContentUri())) { in loadItems()