Home
last modified time | relevance | path

Searched refs:foldProvider (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
DUnfoldOnlyProgressProviderTest.kt37 private val foldProvider = TestFoldProvider() constant in com.android.systemui.unfold.util.UnfoldOnlyProgressProviderTest
44 UnfoldOnlyProgressProvider(foldProvider, MoreExecutors.directExecutor(), sourceProvider) in setUp()
51 foldProvider.onFoldUpdate(isFolded = true) in unfolded_unfoldAnimationFinished_propagatesEvents()
52 foldProvider.onFoldUpdate(isFolded = false) in unfolded_unfoldAnimationFinished_propagatesEvents()
64 foldProvider.onFoldUpdate(isFolded = true) in unfoldedWithAnimation_foldAnimation_doesNotPropagateEvents()
65 foldProvider.onFoldUpdate(isFolded = false) in unfoldedWithAnimation_foldAnimation_doesNotPropagateEvents()
82 foldProvider.onFoldUpdate(isFolded = true) in unfoldedWithAnimation_foldAnimationSeveralTimes_doesNotPropagateEvents()
83 foldProvider.onFoldUpdate(isFolded = false) in unfoldedWithAnimation_foldAnimationSeveralTimes_doesNotPropagateEvents()
102 foldProvider.onFoldUpdate(isFolded = true) in unfoldedAgainAfterFolding_propagatesEvents()
103 foldProvider.onFoldUpdate(isFolded = false) in unfoldedAgainAfterFolding_propagatesEvents()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DDeviceStateRepositoryTest.kt39 private val foldProvider = mock<FoldProvider>() in <lambda>() constant in com.android.systemui.unfold.updates.DeviceStateRepositoryTest
42 private val foldStateRepository = DeviceStateRepositoryImpl(foldProvider) { r -> r.run() } in <lambda>()
50 verify(foldProvider).registerCallback(capture(foldCallback), any()) in <lambda>()
64 verify(foldProvider).registerCallback(any(), any()) in <lambda>()
66 verify(foldProvider).unregisterCallback(any()) in <lambda>()
DDeviceFoldStateProviderTest.kt75 private val foldProvider = TestFoldProvider() in <lambda>() constant
112 foldProvider, in <lambda>()
458 assertThat(foldProvider.getNumberOfCallbacks()).isEqualTo(1) in <lambda>()
653 foldProvider.notifyFolded(folded) in <lambda>()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/compat/
DSizeScreenStatusProvider.kt23 private val foldProvider: FoldProvider, constant in com.android.systemui.unfold.compat.SizeScreenStatusProvider
37 foldProvider.registerCallback( in start()
44 foldProvider.unregisterCallback(callback) in stop()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/system/
DDeviceStateRepository.kt38 private val foldProvider: FoldProvider, constant in com.android.systemui.unfold.system.DeviceStateRepositoryImpl
46 foldProvider.registerCallback(callback, executor) in <lambda>()
47 awaitClose { foldProvider.unregisterCallback(callback) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DUnfoldProgressProvider.kt26 private val foldProvider: FoldProvider) : constant in com.android.systemui.unfold.UnfoldProgressProvider
45 foldProvider.registerCallback(object : FoldProvider.FoldCallback { in addListener()
DUnfoldTransitionModule.kt125 foldProvider: FoldProvider, in <lambda>()
130 UnfoldOnlyProgressProvider(foldProvider, executor, provider) in <lambda>()
145 foldProvider: FoldProvider, in <lambda>()
164 UnfoldProgressProvider(unfoldProgressProvider, foldProvider) in <lambda>()
DUnfoldHapticsPlayer.kt20 foldProvider: FoldProvider, in <lambda>()
36 foldProvider.registerCallback({ isFolded -> in <lambda>()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/util/
DUnfoldOnlyProgressProvider.kt29 foldProvider: FoldProvider,
39 foldProvider.registerCallback(FoldListener(), executor) in <lambda>()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/
DUnfoldTransitionFactory.kt43 foldProvider: FoldProvider,
58 foldProvider,
DUnfoldSharedComponent.kt58 @BindsInstance foldProvider: FoldProvider, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DDisplayStateInteractor.kt84 fun setScreenSizeFoldProvider(foldProvider: ScreenSizeFoldProvider) { in setScreenSizeFoldProvider()
85 screenSizeFoldProvider = foldProvider in setScreenSizeFoldProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DUnfoldTestUtilsKosmos.kt23 var Kosmos.foldProvider: TestFoldProvider by Kosmos.Fixture { TestFoldProvider() } in <lambda>() variable
DUnfoldHapticsPlayerTest.kt42 private val testFoldProvider = kosmos.foldProvider
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/
DDeviceFoldStateProvider.kt47 private val foldProvider: FoldProvider, constant
80 foldProvider.registerCallback(foldStateListener, progressExecutor) in start()
91 foldProvider.unregisterCallback(foldStateListener) in stop()