Searched refs:selectedKey (Results 1 – 3 of 3) sorted by relevance
170 val selectedKey by collectLastValue(underTest.selectedKey) in selectedKey_onReorderWidgets_isCleared() constant174 assertThat(selectedKey).isEqualTo(key) in selectedKey_onReorderWidgets_isCleared()177 assertThat(selectedKey).isNull() in selectedKey_onReorderWidgets_isCleared()
176 val selectedKey = viewModel.selectedKey.collectAsStateWithLifecycle() in <lambda>() constant178 derivedStateOf { selectedKey.value != null || reorderingWidgets } in <lambda>()297 selectedKey = selectedKey, in <lambda>()327 selectedKey.value?.let { key -> in <lambda>()351 viewModel.onOpenWidgetEditor(selectedKey.value) in <lambda>()438 selectedKey: State<String?>, in CommunalHubLazyGrid()500 remember(index) { derivedStateOf { list[index].key == selectedKey.value } } in CommunalHubLazyGrid()997 val selectedKey by viewModel.selectedKey.collectAsStateWithLifecycle() in WidgetContent() constant999 selectedKey?.let { key -> contentListState.list.indexOfFirst { it.key == key } } in WidgetContent()
56 val selectedKey: StateFlow<String?> constant in com.android.systemui.communal.ui.viewmodel.BaseCommunalViewModel