Home
last modified time | relevance | path

Searched refs:FoldUpdate (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/data/repository/
DFoldStateRepository.kt18 import com.android.systemui.unfold.data.repository.FoldStateRepository.FoldUpdate
38 val foldUpdate: Flow<FoldUpdate>
43 enum class FoldUpdate { class
52 fun fromFoldUpdateId(@FoldStateProvider.FoldUpdate oldId: Int): FoldUpdate { in fromFoldUpdateId()
86 override val foldUpdate: Flow<FoldUpdate>
92 trySend(FoldUpdate.fromFoldUpdateId(update)) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldStateRepositoryTest.kt22 import com.android.systemui.unfold.data.repository.FoldStateRepository.FoldUpdate in <lambda>()
69 assertThat(flowValue()).isEqualTo(FoldUpdate.START_OPENING) in <lambda>()
75 FOLD_UPDATE_START_OPENING to FoldUpdate.START_OPENING, in <lambda>()
76 FOLD_UPDATE_START_CLOSING to FoldUpdate.START_CLOSING, in <lambda>()
77 FOLD_UPDATE_FINISH_HALF_OPEN to FoldUpdate.FINISH_HALF_OPEN, in <lambda>()
78 FOLD_UPDATE_FINISH_FULL_OPEN to FoldUpdate.FINISH_FULL_OPEN, in <lambda>()
79 FOLD_UPDATE_FINISH_CLOSED to FoldUpdate.FINISH_CLOSED in <lambda>()
82 assertThat(FoldUpdate.fromFoldUpdateId(id)).isEqualTo(expected) in <lambda>()
DFoldStateLoggingProviderTest.kt28 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
179 private fun sendFoldUpdate(@FoldUpdate foldUpdate: Int) { in sendFoldUpdate()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/
DFoldStateProvider.kt35 fun onFoldUpdate(@FoldUpdate update: Int) {} in start()
48 annotation class FoldUpdate class
DDeviceFoldStateProvider.kt54 @FoldStateProvider.FoldUpdate private var lastFoldUpdate: Int? = null
226 private fun notifyFoldUpdate(@FoldStateProvider.FoldUpdate update: Int, angle: Float) { in notifyFoldUpdate()
348 fun @receiver:FoldStateProvider.FoldUpdate Int.name() = in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
DTestFoldStateProvider.kt21 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
50 fun sendFoldUpdate(@FoldUpdate update: Int) { in sendFoldUpdate()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DFixedTimingTransitionProgressProvider.kt25 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
60 override fun onFoldUpdate(@FoldUpdate update: Int) { in onFoldUpdate()
DPhysicsBasedUnfoldTransitionProgressProvider.kt39 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
114 override fun onFoldUpdate(@FoldUpdate update: Int) { in saturate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldStateLoggingProviderImpl.kt28 import com.android.systemui.unfold.updates.FoldStateProvider.FoldUpdate
64 override fun onFoldUpdate(@FoldUpdate update: Int) { in onFoldUpdate()