Home
last modified time | relevance | path

Searched refs:shadeBackActionInteractor (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/back/domain/interactor/
DBackActionInteractor.kt67 if (shouldBackBeHandled() && shadeBackActionInteractor.canBeCollapsed()) { in <lambda>()
68 shadeBackActionInteractor.onBackProgressed(backEvent.progress) in <lambda>()
80 private lateinit var shadeBackActionInteractor: ShadeBackActionInteractor in <lambda>() variable in com.android.systemui.back.domain.interactor.BackActionInteractor
85 this.shadeBackActionInteractor = svController in <lambda>()
117 shadeBackActionInteractor.animateCollapseQs(false) in <lambda>()
120 if (shadeBackActionInteractor.closeUserSwitcherIfOpen()) { in <lambda>()
124 if (shadeBackActionInteractor.canBeCollapsed()) { in <lambda>()
126 shadeBackActionInteractor.onBackPressed() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/back/domain/interactor/
DBackActionInteractorTest.kt91 @Mock private lateinit var shadeBackActionInteractor: ShadeBackActionInteractor variable in com.android.systemui.back.domain.interactor.BackActionInteractorTest
124 .apply { this.setup(qsController, shadeBackActionInteractor) } in <lambda>()
166 verify(shadeBackActionInteractor, atLeastOnce()).animateCollapseQs(anyBoolean()) in testOnBackRequested_quickSettingsExpanded()
172 whenever(shadeBackActionInteractor.closeUserSwitcherIfOpen()).thenReturn(true) in testOnBackRequested_closeUserSwitcherIfOpen()
178 verify(shadeBackActionInteractor, never()).animateCollapseQs(anyBoolean()) in testOnBackRequested_closeUserSwitcherIfOpen()
190 verify(shadeBackActionInteractor, never()).animateCollapseQs(anyBoolean()) in testOnBackRequested_returnsFalse()
291 whenever(shadeBackActionInteractor.canBeCollapsed()).thenReturn(false) in onBackProgressed_shadeCannotBeCollapsed_shadeViewControllerNotNotified()
295 verify(shadeBackActionInteractor, never()).onBackProgressed(0.3f) in onBackProgressed_shadeCannotBeCollapsed_shadeViewControllerNotNotified()
306 whenever(shadeBackActionInteractor.canBeCollapsed()).thenReturn(true) in onBackProgressed_shadeCanBeCollapsed_shadeViewControllerNotified()
310 verify(shadeBackActionInteractor).onBackProgressed(0.4f) in onBackProgressed_shadeCanBeCollapsed_shadeViewControllerNotified()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/domain/interactor/
DShadeBackActionInteractorKosmos.kt23 val Kosmos.shadeBackActionInteractor by constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeBackActionInteractorImplTest.kt66 underTest = kosmos.shadeBackActionInteractor in ignoreSplitShadeAndSetup()