Searched refs:_uiState (Results 1 – 5 of 5) sorted by relevance
30 private val _uiState: MutableStateFlow<UiState> = MutableStateFlow(UiState.None()) constant in com.android.avatatpicker.tests.FakeResultHandler31 override val uiState = _uiState.asStateFlow()36 _uiState.value = UiState.Success(result) in onSelect()42 _uiState.value = UiState.Loading() in getSelected()46 _uiState.value = UiState.Error(exception) in onError()50 _uiState.value = UiState.None() in unselect()
27 private val _uiState = MutableStateFlow(RemoteAuthEnrollEnrollingUiState()) in <lambda>() constant28 val uiState: StateFlow<RemoteAuthEnrollEnrollingUiState> = _uiState.asStateFlow() in <lambda>()33 _uiState.update { currentState -> in <lambda>()52 _uiState.update { currentState -> in <lambda>()60 _uiState.update { currentState -> in <lambda>()
37 private val _uiState: MutableStateFlow<UiState> = MutableStateFlow(UiState.None()) in <lambda>() constant38 override val uiState = _uiState.asStateFlow() in <lambda>()43 _uiState.value = UiState.Success(result) in <lambda>()49 _uiState.value = UiState.Loading() in <lambda>()53 _uiState.value = UiState.Error(exception) in <lambda>()57 _uiState.value = UiState.None() in <lambda>()
26 private val _uiState = MutableStateFlow(RemoteAuthSettingsUiState()) in <lambda>() constant27 val uiState: StateFlow<RemoteAuthSettingsUiState> = _uiState.asStateFlow() in <lambda>()32 _uiState.update { currentState -> in <lambda>()43 _uiState.update { currentState -> in <lambda>()
31 private val _uiState = MutableSharedFlow<Int>(1 /* replay only most recent value*/) constant37 fun set(s: Int) = runBlocking { _uiState.emit(s) } in <lambda>()39 fun get(): Int = _uiState.replayCache.get(0) in get()50 withTimeoutOrNull(timeout) { _uiState.filter { states.contains(it) }.first() } != null in waitForState()