Searched refs:FoldStateProvider (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/data/repository/ |
D | FoldStateRepository.kt | 24 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/ |
D | TestFoldStateProvider.kt | 20 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/ |
D | FixedTimingTransitionProgressProvider.kt | 24 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 {
|
D | PhysicsBasedUnfoldTransitionProgressProvider.kt | 38 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/ |
D | FoldStateLoggingProviderImpl.kt | 27 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 {
|
D | UnfoldTransitionModule.kt | 37 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/ |
D | DeviceFoldStateProvider.kt | 51 ) : 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()
|
D | FoldStateProvider.kt | 20 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdatesListener 27 interface FoldStateProvider : CallbackController<FoldUpdatesListener> { interface
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/ |
D | UnfoldSharedModule.kt | 29 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/ |
D | FoldStateRepositoryTest.kt | 29 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>()
|
D | FoldStateLoggingProviderTest.kt | 28 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/ |
D | DeviceFoldStateProviderTest.kt | 119 object : FoldStateProvider.FoldUpdatesListener { in <lambda>()
|