Home
last modified time | relevance | path

Searched defs:uiState (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyboard/shortcut/ui/viewmodel/
DShortcutCustomizationViewModelTest.kt88 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_inactiveByDefault() constant
98 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_correctlyUpdatedWhenAddShortcutCustomizationIsRequested() constant
115 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_correctlyUpdatedWhenResetShortcutCustomizationIsRequested() constant
125 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_correctlyUpdatedWhenDeleteShortcutCustomizationIsRequested() constant
134 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_inactiveAfterDialogIsDismissed() constant
144 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_pressedKeys_emptyByDefault() constant
153 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_becomeInactiveAfterSuccessfullySettingShortcut() constant
164 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_errorMessage_isEmptyByDefault() constant
175 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_errorMessage_onKeyPressed_isKeyCombinationInUse_whenKeyCombinationAlreadyExists() constant
191 val uiState by collectLastValue(viewModel.shortcutCustomizationUiState) in uiState_errorMessage_onKeyPressed_isEmpty_whenKeyCombinationIsAvailable() constant
[all …]
DShortcutHelperViewModelTest.kt239 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_inactiveByDefault() constant
247 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_featureActive_emitsActive() constant
259 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_noCurrentAppCategory_defaultSelectedCategoryIsSystem() constant
270 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_currentAppCategoryPresent_currentAppIsDefaultSelected() constant
289 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_currentAppIsLauncher_defaultSelectedCategoryIsSystem() constant
311 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_userTypedQuery_filtersMatchingShortcutLabels() constant
354 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_userTypedQuery_noMatch_returnsEmptyList() constant
373 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_userTypedQuery_noMatch_returnsNullDefaultSelectedCategory() constant
387 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_userTypedQuery_changesDefaultSelectedCategoryToFirstMatchingCategory() constant
402 val uiState by collectLastValue(viewModel.shortcutsUiState) in shortcutsUiState_userTypedQuery_multipleCategoriesMatch_currentAppIsDefaultSelected() constant
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/ui/viewmodel/
DTileUiStateTest.kt52 val uiState = state.toUiState() in stateUnavailable_secondaryLabelNotmodified() constant
61 val uiState = stateSwitch.toUiState() in accessibilityRole_switch() constant
69 val uiState = stateButton.toUiState() in accessibilityRole_button() constant
80 val uiState = stateSwitchWithSecondaryClick.toUiState() in accessibilityRole_switchWithSecondaryClick() constant
94 val uiState = state.toUiState() in switchInactive_secondaryLabelNotModified() constant
109 val uiState = state.toUiState() in switchActive_secondaryLabelNotModified() constant
123 val uiState = state.toUiState() in buttonInactive_secondaryLabelNotModifiedWhenEmpty() constant
137 val uiState = state.toUiState() in buttonActive_secondaryLabelNotModifiedWhenEmpty() constant
151 val uiState = state.toUiState() in buttonUnavailable_emptySecondaryLabel_default() constant
165 val uiState = state.toUiState() in switchUnavailable_emptySecondaryLabel_defaultUnavailable() constant
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/mediaprojection/taskswitcher/ui/viewmodel/
DTaskSwitcherNotificationViewModelTest.kt53 val uiState by collectLastValue(viewModel.uiState) in uiState_notProjecting_emitsNotShowing() constant
65 val uiState by collectLastValue(viewModel.uiState) in uiState_notProjecting_foregroundTaskChanged_emitsNotShowing() constant
77 val uiState by collectLastValue(viewModel.uiState) in uiState_projectingEntireScreen_emitsNotShowing() constant
89 val uiState by collectLastValue(viewModel.uiState) in uiState_projectingEntireScreen_foregroundTaskChanged_emitsNotShowing() constant
103 val uiState by collectLastValue(viewModel.uiState) in uiState_projectingTask_foregroundTaskChanged_different_emitsShowing() constant
120 val uiState by collectLastValue(viewModel.uiState) in uiState_taskChanged_beforeDelayLimit_stillEmitsShowing() constant
138 val uiState by collectLastValue(viewModel.uiState) in uiState_taskChanged_afterDelayLimit_emitsNotShowing() constant
155 val uiState by collectLastValue(viewModel.uiState) in uiState_projectingTask_foregroundTaskChanged_thenTaskSwitched_emitsNotShowing() constant
172 val uiState by collectLastValue(viewModel.uiState) in uiState_projectingTask_foregroundTaskChanged_thenGoBack_emitsNotShowing() constant
188 val uiState by collectLastValue(viewModel.uiState) in uiState_projectingTask_foregroundTaskChanged_same_emitsNotShowing() constant
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/viewmodel/
DShortcutCustomizationViewModel.kt103 _shortcutCustomizationUiState.update { uiState -> in <lambda>() method
129 _shortcutCustomizationUiState.update { uiState -> in <lambda>() method
140 _shortcutCustomizationUiState.update { uiState -> in <lambda>() method
187 _shortcutCustomizationUiState.update { uiState -> in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/ui/viewmodel/
DTaskSwitcherNotificationViewModel.kt42 val uiState: Flow<TaskSwitcherNotificationUiState> = in <lambda>() constant in com.android.systemui.mediaprojection.taskswitcher.ui.viewmodel.TaskSwitcherNotificationViewModel
59 .transformLatest { uiState -> in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/
DShortcutCustomizationDialogStarter.kt63 viewModel.shortcutCustomizationUiState.collect { uiState -> in <lambda>() method
91 val uiState by viewModel.shortcutCustomizationUiState.collectAsStateWithLifecycle() in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ui/viewmodel/
DTileRequestDialogViewModel.kt60 val uiState by derivedStateOf { state.toUiState(dialogContext.resources) } in <lambda>() constant in com.android.systemui.qs.external.ui.viewmodel.TileRequestDialogViewModel
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/
DWearApp.kt63 val uiState by flowEngine.uiState.collectAsStateWithLifecycle() in WearApp() constant
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/
DCredentialSelectorViewModel.kt53 override val uiState: StateFlow<CredentialSelectorUiState> = in <lambda>() constant in com.android.credentialmanager.CredentialSelectorViewModel
DFlowEngine.kt32 val uiState: StateFlow<CredentialSelectorUiState> constant
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/
DCredentialSelectorViewModel.kt76 var uiState by mutableStateOf(credManRepo.initState()) variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/taskswitcher/ui/
DTaskSwitcherNotificationCoordinator.kt55 viewModel.uiState.collect { uiState -> in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/infinitegrid/
DTile.kt154 val uiState by in <lambda>() constant