Home
last modified time | relevance | path

Searched refs:customizerState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/ui/adapter/
DFakeQSSceneAdapter.kt85 private fun updateCustomizerFlows(customizerState: CustomizerState) { in updateCustomizerFlows()
86 _customizerState.value = customizerState in updateCustomizerFlows()
87 _customizing.value = customizerState.isCustomizing in updateCustomizerFlows()
88 _customizerShowing.value = customizerState.isShowing in updateCustomizerFlows()
90 (customizerState as? CustomizerState.Animating)?.animationDuration?.toInt() ?: 0 in updateCustomizerFlows()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/adapter/
DQSSceneAdapterImplTest.kt316 val customizerState by collectLastValue(underTest.customizerState) in <lambda>() constant
322 assertThat(customizerState).isEqualTo(CustomizerState.Hidden) in <lambda>()
325 assertThat(customizerState).isEqualTo(CustomizerState.Showing) in <lambda>()
328 assertThat(customizerState).isEqualTo(CustomizerState.Hidden) in <lambda>()
335 val customizerState by collectLastValue(underTest.customizerState) in <lambda>() constant
343 assertThat(customizerState).isEqualTo(CustomizerState.Hidden) in <lambda>()
348 assertThat(customizerState) in <lambda>()
353 assertThat(customizerState).isEqualTo(CustomizerState.Showing) in <lambda>()
358 assertThat(customizerState) in <lambda>()
363 assertThat(customizerState).isEqualTo(CustomizerState.Hidden) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ui/adapter/
DQSSceneAdapter.kt234 val customizerState = _customizingState.asStateFlow() constant
237 customizerState
242 customizerState.value.isCustomizing,
245 customizerState
250 customizerState.value.isShowing
253 customizerState
258 (customizerState.value as? CustomizerState.Animating)?.animationDuration?.toInt()