Home
last modified time | relevance | path

Searched refs:TransitionStep (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionInteractorTest.kt41 import com.android.systemui.keyguard.shared.model.TransitionStep
108 val steps = mutableListOf<TransitionStep>() in transitionCollectorsReceivesOnlyAppropriateEvents()
109 steps.add(TransitionStep(AOD, GONE, 0f, STARTED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
110 steps.add(TransitionStep(AOD, GONE, 1f, FINISHED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
111 steps.add(TransitionStep(AOD, LOCKSCREEN, 0f, STARTED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
112 steps.add(TransitionStep(AOD, LOCKSCREEN, 0.5f, RUNNING)) in transitionCollectorsReceivesOnlyAppropriateEvents()
113 steps.add(TransitionStep(AOD, LOCKSCREEN, 1f, FINISHED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
114 steps.add(TransitionStep(LOCKSCREEN, AOD, 0f, STARTED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
115 steps.add(TransitionStep(LOCKSCREEN, AOD, 0.1f, RUNNING)) in transitionCollectorsReceivesOnlyAppropriateEvents()
116 steps.add(TransitionStep(LOCKSCREEN, AOD, 0.2f, RUNNING)) in transitionCollectorsReceivesOnlyAppropriateEvents()
[all …]
DWindowManagerLockscreenVisibilityInteractorTest.kt35 import com.android.systemui.keyguard.shared.model.TransitionStep in <lambda>()
97 TransitionStep( in <lambda>()
107 TransitionStep( in <lambda>()
126 TransitionStep( in <lambda>()
147 TransitionStep( in <lambda>()
155 TransitionStep( in <lambda>()
175 TransitionStep( in <lambda>()
412 TransitionStep( in <lambda>()
420 TransitionStep( in <lambda>()
473 TransitionStep( in <lambda>()
[all …]
DLightRevealScrimInteractorTest.kt26 import com.android.systemui.keyguard.shared.model.TransitionStep
78 TransitionStep(transitionState = TransitionState.STARTED) in lightRevealEffect_doesNotChangeDuringKeyguardTransition()
85 TransitionStep(transitionState = TransitionState.RUNNING) in lightRevealEffect_doesNotChangeDuringKeyguardTransition()
88 TransitionStep(transitionState = TransitionState.FINISHED) in lightRevealEffect_doesNotChangeDuringKeyguardTransition()
92 TransitionStep(transitionState = TransitionState.STARTED) in lightRevealEffect_doesNotChangeDuringKeyguardTransition()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DFakeKeyguardTransitionRepository.kt25 import com.android.systemui.keyguard.shared.model.TransitionStep in <lambda>()
55 MutableSharedFlow<TransitionStep>(replay = 3, onBufferOverflow = BufferOverflow.DROP_OLDEST) in <lambda>()
56 override val transitions: SharedFlow<TransitionStep> = _transitions in <lambda>()
74 TransitionStep( in <lambda>()
118 TransitionStep( in <lambda>()
133 TransitionStep( in <lambda>()
144 TransitionStep( in <lambda>()
157 TransitionStep( in <lambda>()
168 suspend fun sendTransitionStep(step: TransitionStep, validateStep: Boolean = true) { in <lambda>()
198 step: TransitionStep = in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardTransitionRepository.kt33 import com.android.systemui.keyguard.shared.model.TransitionStep in <lambda>()
75 val transitions: Flow<TransitionStep> in <lambda>()
84 fun transition(from: KeyguardState, to: KeyguardState): Flow<TransitionStep> { in <lambda>()
127 MutableSharedFlow<TransitionStep>(
133 private var lastStep: TransitionStep = TransitionStep()
162 TransitionStep(
218 TransitionStep( in startTransition()
230 TransitionStep(info, startingValue, TransitionState.STARTED) in startTransition()
243 emitTransition(TransitionStep(info, value, state)) in startTransition()
255 emitTransition(TransitionStep(info, startingValue, TransitionState.STARTED)) in startTransition()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardSurfaceBehindInteractorTest.kt28 import com.android.systemui.keyguard.shared.model.TransitionStep
76 TransitionStep( in testSurfaceBehindModel_toAppSurface()
97 TransitionStep( in testSurfaceBehindModel_toAppSurface()
117 TransitionStep( in testSurfaceBehindModel_toAppSurface()
153 TransitionStep( in testSurfaceBehindModel_toLauncher()
172 TransitionStep( in testSurfaceBehindModel_toLauncher()
181 TransitionStep( in testSurfaceBehindModel_toLauncher()
208 TransitionStep( in testSurfaceBehindModel_fromNotificationLaunch()
217 TransitionStep( in testSurfaceBehindModel_fromNotificationLaunch()
237 TransitionStep( in notificationLaunchFromLockscreen_isAnimatingSurfaceTrue()
[all …]
DInWindowLauncherUnlockAnimationInteractorTest.kt32 import com.android.systemui.keyguard.shared.model.TransitionStep
110 TransitionStep( in testTransitioningToGoneWithInWindowAnimation_trueIfTopActivityIsLauncher_andTransitioningToGone()
128 TransitionStep( in testTransitioningToGoneWithInWindowAnimation_trueIfTopActivityIsLauncher_andTransitioningToGone()
146 TransitionStep( in testTransitioningToGoneWithInWindowAnimation_trueIfTopActivityIsLauncher_andTransitioningToGone()
192 TransitionStep( in testTransitioningToGoneWithInWindowAnimation_falseIfTopActivityIsLauncherPartwayThrough()
209 TransitionStep( in testTransitioningToGoneWithInWindowAnimation_falseIfTopActivityIsLauncherPartwayThrough()
225 TransitionStep( in testTransitioningToGoneWithInWindowAnimation_falseIfTopActivityIsLauncherPartwayThrough()
269 TransitionStep( in testTransitioningToGoneWithInWindowAnimation_falseIfTopActivityIsLauncherWhileNotTransitioningToGone()
304 TransitionStep( in testShouldStartInWindowAnimation_trueOnceSurfaceAvailable_falseWhenTransitionEnds()
331 TransitionStep( in testShouldStartInWindowAnimation_trueOnceSurfaceAvailable_falseWhenTransitionEnds()
[all …]
DFromPrimaryBouncerTransitionInteractorTest.kt34 import com.android.systemui.keyguard.shared.model.TransitionStep
78 TransitionStep( in testSurfaceBehindVisibility()
95 TransitionStep( in testSurfaceBehindVisibility()
105 TransitionStep( in testSurfaceBehindVisibility()
124 TransitionStep( in testSurfaceBehindVisibility()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardTransitionRepositoryTest.kt38 import com.android.systemui.keyguard.shared.model.TransitionStep in <lambda>()
89 val steps = mutableListOf<TransitionStep>() in <lambda>()
105 val steps = mutableListOf<TransitionStep>() in <lambda>()
140 val steps = mutableListOf<TransitionStep>() in <lambda>()
175 val steps = mutableListOf<TransitionStep>() in <lambda>()
210 val steps = mutableListOf<TransitionStep>() in <lambda>()
227 .isEqualTo(TransitionStep(AOD, LOCKSCREEN, 0f, TransitionState.STARTED, OWNER_NAME)) in <lambda>()
230 TransitionStep(AOD, LOCKSCREEN, 0.5f, TransitionState.RUNNING, OWNER_NAME) in <lambda>()
234 TransitionStep(AOD, LOCKSCREEN, 1f, TransitionState.FINISHED, OWNER_NAME) in <lambda>()
243 val steps = mutableListOf<TransitionStep>() in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DCollapsedStatusBarViewModelImplTest.kt29 import com.android.systemui.keyguard.shared.model.TransitionStep
99 TransitionStep( in isTransitioningFromLockscreenToOccluded_started_isTrue()
116 TransitionStep( in isTransitioningFromLockscreenToOccluded_running_isTrue()
147 TransitionStep( in isTransitioningFromLockscreenToOccluded_canceled_isFalse()
164 TransitionStep( in isTransitioningFromLockscreenToOccluded_irrelevantTransition_isFalse()
181 TransitionStep( in isTransitioningFromLockscreenToOccluded_followsRepoUpdates()
193 TransitionStep( in isTransitioningFromLockscreenToOccluded_followsRepoUpdates()
211 TransitionStep( in transitionFromLockscreenToDreamStartedEvent_started_emitted()
228 TransitionStep( in transitionFromLockscreenToDreamStartedEvent_startedMultiple_emittedMultiple()
237 TransitionStep( in transitionFromLockscreenToDreamStartedEvent_startedMultiple_emittedMultiple()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewLegacyControllerWithCoroutinesTest.kt34 import com.android.systemui.keyguard.shared.model.TransitionStep
294 TransitionStep( in aodToLockscreen_dozeAmountChanged()
311 TransitionStep( in aodToLockscreen_dozeAmountChanged()
341 TransitionStep( in lockscreenToAod_dozeAmountChanged()
358 TransitionStep( in lockscreenToAod_dozeAmountChanged()
388 TransitionStep( in goneToAod_dozeAmountChanged()
405 TransitionStep( in goneToAod_dozeAmountChanged()
435 TransitionStep( in aodToOccluded_dozeAmountChanged()
448 TransitionStep( in aodToOccluded_dozeAmountChanged()
474 TransitionStep( in occludedToAod_dozeAmountChanged()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerAlwaysOnDisplayViewModelTest.kt39 import com.android.systemui.keyguard.shared.model.TransitionStep
130 TransitionStep( in animationsEnabled_isFalse_whenDeviceAsleepAndNotPulsing()
153 TransitionStep( in animationsEnabled_isTrue_whenDeviceAsleepAndPulsing()
176 TransitionStep( in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff()
200 TransitionStep( in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
219 TransitionStep( in animationsEnabled_isTrue_whenNotAsleep()
233 TransitionStep( in animationsEnabled_isTrue_whenKeyguardIsShowing()
311 TransitionStep( in tintAlpha_isOne_whenTransitionFromAodToDoze()
321 TransitionStep( in tintAlpha_isOne_whenTransitionFromAodToDoze()
340 TransitionStep( in tintAlpha_isFraction_midTransitionToAod()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/
DSceneContainerOcclusionInteractorTest.kt30 import com.android.systemui.keyguard.shared.model.TransitionStep
206 TransitionStep(
216 TransitionStep(
227 TransitionStep(
242 TransitionStep(
252 TransitionStep(
263 TransitionStep(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DAlternateBouncerWindowViewModelTest.kt29 import com.android.systemui.keyguard.shared.model.TransitionStep
135 ): TransitionStep { in stepFromAlternateBouncer()
147 ): TransitionStep { in stepFromDozingToLockscreen()
161 ): TransitionStep { in step()
162 return TransitionStep( in step()
DAlternateBouncerViewModelTest.kt28 import com.android.systemui.keyguard.shared.model.TransitionStep
163 ): TransitionStep { in stepToAlternateBouncer()
175 ): TransitionStep { in stepFromAlternateBouncer()
189 ): TransitionStep { in step()
190 return TransitionStep( in step()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DAodBurnInViewModelTest.kt34 import com.android.systemui.keyguard.shared.model.TransitionStep
101 TransitionStep( in translationAndScale_whenNotDozing()
132 TransitionStep( in translationAndScale_whenFullyDozing()
155 TransitionStep( in translationAndScale_whenFullyDozing()
183 TransitionStep( in translationAndScale_whenFullyDozing_MigrationFlagOff_staysOutOfTopInset()
207 TransitionStep( in translationAndScale_whenFullyDozing_MigrationFlagOff_staysOutOfTopInset()
235 TransitionStep( in translationAndScale_whenFullyDozing_MigrationFlagOn_staysOutOfTopInset()
259 TransitionStep( in translationAndScale_whenFullyDozing_MigrationFlagOn_staysOutOfTopInset()
282 TransitionStep( in translationAndScale_useScaleOnly()
417 TransitionStep( in translationAndScale_composeFlagOff_weatherLargeClock()
DAlternateBouncerToOccludedTransitionViewModelTest.kt29 import com.android.systemui.keyguard.shared.model.TransitionStep
71 private fun step(value: Float, state: TransitionState = RUNNING): TransitionStep { in step()
72 return TransitionStep( in step()
DAlternateBouncerToPrimaryBouncerTransitionViewModelTest.kt29 import com.android.systemui.keyguard.shared.model.TransitionStep
70 private fun step(value: Float, state: TransitionState = RUNNING): TransitionStep { in step()
71 return TransitionStep( in step()
DDozingToPrimaryBouncerTransitionViewModelTest.kt28 import com.android.systemui.keyguard.shared.model.TransitionStep
73 private fun step(value: Float, state: TransitionState = RUNNING): TransitionStep { in step()
74 return TransitionStep( in step()
DAodToOccludedTransitionViewModelTest.kt26 import com.android.systemui.keyguard.shared.model.TransitionStep
62 ): TransitionStep { in step()
63 return TransitionStep( in step()
DAodAlphaViewModelTest.kt32 import com.android.systemui.keyguard.shared.model.TransitionStep
195 TransitionStep( in alpha_whenGone_equalsZero()
204 TransitionStep( in alpha_whenGone_equalsZero()
214 TransitionStep( in alpha_whenGone_equalsZero()
231 TransitionStep( in enterFromTopAlpha()
253 TransitionStep( in enterFromTopAlpha_scene_container()
DAodToGoneTransitionViewModelTest.kt26 import com.android.systemui.keyguard.shared.model.TransitionStep
81 ): TransitionStep { in step()
82 return TransitionStep( in step()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt37 import com.android.systemui.keyguard.shared.model.TransitionStep
326 val transitionStep = MutableStateFlow(TransitionStep()) in listenForDozeAmountTransition_updatesClockDozeAmount()
334 TransitionStep( in listenForDozeAmountTransition_updatesClockDozeAmount()
350 val transitionStep = MutableStateFlow(TransitionStep()) in listenForTransitionToAodFromGone_updatesClockDozeAmountToOne()
357 TransitionStep( in listenForTransitionToAodFromGone_updatesClockDozeAmountToOne()
372 val transitionStep = MutableStateFlow(TransitionStep()) in listenForTransitionToLSFromOccluded_updatesClockDozeAmountToZero()
379 TransitionStep( in listenForTransitionToLSFromOccluded_updatesClockDozeAmountToZero()
394 val transitionStep = MutableStateFlow(TransitionStep()) in listenForTransitionToAodFromLockscreen_neverUpdatesClockDozeAmount()
401 TransitionStep( in listenForTransitionToAodFromLockscreen_neverUpdatesClockDozeAmount()
416 val transitionStep = MutableStateFlow(TransitionStep()) in listenForAnyStateToLockscreenTransition_neverUpdatesClockDozeAmount()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DSharedNotificationContainerViewModelTest.kt49 import com.android.systemui.keyguard.shared.model.TransitionStep in <lambda>()
338 TransitionStep( in <lambda>()
347 TransitionStep( in <lambda>()
359 TransitionStep( in <lambda>()
391 TransitionStep( in <lambda>()
400 TransitionStep( in <lambda>()
413 TransitionStep( in <lambda>()
451 TransitionStep( in <lambda>()
802 val startStep = TransitionStep(LOCKSCREEN, AOD, startProgress, TransitionState.STARTED) in <lambda>()
805 TransitionStep(LOCKSCREEN, AOD, boundsChangingProgress, TransitionState.RUNNING) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionInteractor.kt38 import com.android.systemui.keyguard.shared.model.TransitionStep in <lambda>()
80 private val transitionMap = mutableMapOf<Edge.StateToState, MutableSharedFlow<TransitionStep>>() in <lambda>()
103 val transitionState: StateFlow<TransitionStep> = in <lambda>()
104 transitions.stateIn(scope, SharingStarted.Eagerly, TransitionStep()) in <lambda>()
160 fun transition(edge: Edge, edgeWithoutSceneContainer: Edge): Flow<TransitionStep> { in <lambda>()
166 fun transition(edge: Edge): Flow<TransitionStep> { in <lambda>()
170 val flow: Flow<TransitionStep> = in <lambda>()
254 val startedKeyguardTransitionStep: Flow<TransitionStep> = in <lambda>()
258 val finishedKeyguardTransitionStep: Flow<TransitionStep> = in <lambda>()

1234