Searched refs:CustomizerState (Results 1 – 3 of 3) sorted by relevance
32 private val _customizerState = MutableStateFlow<CustomizerState>(CustomizerState.Hidden)70 updateCustomizerFlows(if (value) CustomizerState.Showing else CustomizerState.Hidden) in setCustomizing()78 updateCustomizerFlows(CustomizerState.Hidden) in requestCloseCustomizer()85 private fun updateCustomizerFlows(customizerState: CustomizerState) { in updateCustomizerFlows()90 (customizerState as? CustomizerState.Animating)?.animationDuration?.toInt() ?: 0 in updateCustomizerFlows()
232 private val _customizingState: MutableStateFlow<CustomizerState> =233 MutableStateFlow(CustomizerState.Hidden)254 .map { (it as? CustomizerState.Animating)?.animationDuration?.toInt() ?: 0 } in <lambda>()258 (customizerState.value as? CustomizerState.Animating)?.animationDuration?.toInt()326 if (_customizingState.value is CustomizerState.Animating && !animating) { in setCustomizerAnimating()328 if (it is CustomizerState.AnimatingIntoCustomizer) { in setCustomizerAnimating()329 CustomizerState.Showing in setCustomizerAnimating()331 CustomizerState.Hidden in setCustomizerAnimating()345 CustomizerState.AnimatingIntoCustomizer(animationDuration) in setCustomizerShowing()347 CustomizerState.Showing in setCustomizerShowing()[all …]
322 assertThat(customizerState).isEqualTo(CustomizerState.Hidden) in <lambda>()325 assertThat(customizerState).isEqualTo(CustomizerState.Showing) in <lambda>()328 assertThat(customizerState).isEqualTo(CustomizerState.Hidden) in <lambda>()343 assertThat(customizerState).isEqualTo(CustomizerState.Hidden) in <lambda>()349 .isEqualTo(CustomizerState.AnimatingIntoCustomizer(animatingInDuration)) in <lambda>()353 assertThat(customizerState).isEqualTo(CustomizerState.Showing) in <lambda>()359 .isEqualTo(CustomizerState.AnimatingOutOfCustomizer(animatingOutDuration)) in <lambda>()363 assertThat(customizerState).isEqualTo(CustomizerState.Hidden) in <lambda>()