Home
last modified time | relevance | path

Searched refs:FoldStateProvider (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/data/repository/
DFoldStateRepository.kt24 import com.android.systemui.unfold.updates.FoldStateProvider
52 fun fromFoldUpdateId(@FoldStateProvider.FoldUpdate oldId: Int): FoldUpdate { in fromFoldUpdateId()
69 private val foldStateProvider: FoldStateProvider,
76 object : FoldStateProvider.FoldUpdatesListener { in <lambda>()
90 object : FoldStateProvider.FoldUpdatesListener { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
DTestFoldStateProvider.kt20 import com.android.systemui.unfold.updates.FoldStateProvider
21 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
22 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdatesListener
24 class TestFoldStateProvider : FoldStateProvider {
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DFixedTimingTransitionProgressProvider.kt24 import com.android.systemui.unfold.updates.FoldStateProvider
25 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
31 constructor(private val foldStateProvider: FoldStateProvider) :
32 UnfoldTransitionProgressProvider, FoldStateProvider.FoldUpdatesListener {
DPhysicsBasedUnfoldTransitionProgressProvider.kt38 import com.android.systemui.unfold.updates.FoldStateProvider
39 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
40 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdatesListener
58 @Assisted private val foldStateProvider: FoldStateProvider,
316 foldStateProvider: FoldStateProvider,
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldStateLoggingProviderImpl.kt27 import com.android.systemui.unfold.updates.FoldStateProvider
28 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
45 private val foldStateProvider: FoldStateProvider,
47 ) : FoldStateLoggingProvider, FoldStateProvider.FoldUpdatesListener {
DUnfoldTransitionModule.kt37 import com.android.systemui.unfold.updates.FoldStateProvider in <lambda>()
93 foldStateProvider: Lazy<FoldStateProvider> in <lambda>()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/
DDeviceFoldStateProvider.kt51 ) : FoldStateProvider {
52 private val outputListeners = CopyOnWriteArrayList<FoldStateProvider.FoldUpdatesListener>()
54 @FoldStateProvider.FoldUpdate private var lastFoldUpdate: Int? = null
99 override fun addCallback(listener: FoldStateProvider.FoldUpdatesListener) { in addCallback()
103 override fun removeCallback(listener: FoldStateProvider.FoldUpdatesListener) { in removeCallback()
226 private fun notifyFoldUpdate(@FoldStateProvider.FoldUpdate update: Int, angle: Float) { in notifyFoldUpdate()
348 fun @receiver:FoldStateProvider.FoldUpdate Int.name() = in create()
DFoldStateProvider.kt20 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdatesListener
27 interface FoldStateProvider : CallbackController<FoldUpdatesListener> { interface
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/
DUnfoldSharedModule.kt29 import com.android.systemui.unfold.updates.FoldStateProvider
97 foldStateProvider: FoldStateProvider, in unfoldTransitionProgressProvider()
139 @UnfoldBg bgFoldStateProvider: FoldStateProvider, in unfoldBgTransitionProgressProvider()
161 foldStateProvider: FoldStateProvider, in createOptionalUnfoldTransitionProgressProvider()
211 ): FoldStateProvider = in provideFoldStateProvider()
226 ): FoldStateProvider = in provideFoldStateProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldStateRepositoryTest.kt29 import com.android.systemui.unfold.updates.FoldStateProvider in <lambda>()
45 private val foldStateProvider = mock<FoldStateProvider>() in <lambda>()
46 private val foldUpdatesListener = argumentCaptor<FoldStateProvider.FoldUpdatesListener>() in <lambda>()
DFoldStateLoggingProviderTest.kt28 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DDeviceFoldStateProviderTest.kt119 object : FoldStateProvider.FoldUpdatesListener { in <lambda>()