Home
last modified time | relevance | path

Searched refs:isTransitioning (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DTransitionState.kt22 override fun isTransitioning() = true in isTransitioning() method in com.android.systemui.keyguard.shared.model.TransitionState
26 override fun isTransitioning() = true in isTransitioning() method in com.android.systemui.keyguard.shared.model.TransitionState
30 override fun isTransitioning() = false in isTransitioning() method in com.android.systemui.keyguard.shared.model.TransitionState
34 override fun isTransitioning() = false in isTransitioning() method in com.android.systemui.keyguard.shared.model.TransitionState
37 abstract fun isTransitioning(): Boolean method in com.android.systemui.keyguard.shared.model.TransitionState
DTransitionStep.kt37 fun isTransitioning(from: KeyguardState? = null, to: KeyguardState? = null): Boolean { in isTransitioning() method
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DSceneTransitionLayoutStateTest.kt51 assertThat(state.isTransitioning()).isFalse() in <lambda>()
52 assertThat(state.isTransitioning(from = SceneA)).isFalse() in <lambda>()
53 assertThat(state.isTransitioning(to = SceneB)).isFalse() in <lambda>()
54 assertThat(state.isTransitioning(from = SceneA, to = SceneB)).isFalse() in <lambda>()
62 assertThat(state.isTransitioning()).isTrue() in <lambda>()
63 assertThat(state.isTransitioning(from = SceneA)).isTrue() in <lambda>()
64 assertThat(state.isTransitioning(from = SceneB)).isFalse() in <lambda>()
65 assertThat(state.isTransitioning(to = SceneB)).isTrue() in <lambda>()
66 assertThat(state.isTransitioning(to = SceneA)).isFalse() in <lambda>()
67 assertThat(state.isTransitioning(from = SceneA, to = SceneB)).isTrue() in <lambda>()
[all …]
DSwipeToSceneTest.kt530 assertThat(state.isTransitioning(from = SceneA, to = SceneB)).isTrue() in <lambda>()
535 assertThat(state.isTransitioning(from = SceneA, to = SceneB)).isTrue() in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedStateTest.java142 assertThat(mSpiedState.isTransitioning()).isTrue(); in testState_stateEntering_isTransitioning()
149 assertThat(mSpiedState.isTransitioning()).isTrue(); in testState_stateExiting_isTransitioning()
155 when(mSpiedState.isTransitioning()).thenReturn(true); in testInEnteringState_shouldSkipDupTrigger()
165 when(mSpiedState.isTransitioning()).thenReturn(false); in testInActiveState_shouldSkipDupTrigger()
175 when(mSpiedState.isTransitioning()).thenReturn(false); in testInActiveState_canExit()
184 when(mSpiedState.isTransitioning()).thenReturn(true); in testInEnteringState_shouldSkipExitAction()
193 when(mSpiedState.isTransitioning()).thenReturn(true); in testInExitingState_shouldSkipStartAction()
202 when(mSpiedState.isTransitioning()).thenReturn(true); in testInExitingState_shouldSkipStopAction()
211 when(mSpiedState.isTransitioning()).thenReturn(false); in testInActiveState_disableOHM_shouldStopOHM()
DOneHandedControllerTest.java430 when(mSpiedTransitionState.isTransitioning()).thenReturn(false); in testStateActive_shortcutRequestActivate_skipActions()
442 when(mSpiedTransitionState.isTransitioning()).thenReturn(false); in testStateNotActive_shortcutRequestInActivate_skipAction()
454 when(mSpiedTransitionState.isTransitioning()).thenReturn(false); in testStateNotActive_shortcutRequestActivate_doAction()
466 when(mSpiedTransitionState.isTransitioning()).thenReturn(true); in testEnteringTransition_shortcutRequestActivate_skipActions()
477 when(mSpiedTransitionState.isTransitioning()).thenReturn(true); in testExitingTransition_shortcutRequestActivate_skipActions()
490 when(mSpiedTransitionState.isTransitioning()).thenReturn(false); in testOneHandedDisabled_shortcutTrigger_thenAutoEnabled()
503 when(mSpiedTransitionState.isTransitioning()).thenReturn(false); in testControllerInit_tutorialAddStateChangeListener()
513 when(mSpiedTransitionState.isTransitioning()).thenReturn(false); in testNotifyEventCallbackWithMainExecutor()
526 when(mSpiedTransitionState.isTransitioning()).thenReturn(false); in testNotifyShortcutState_whenSetOneHandedEnabled()
538 when(mSpiedTransitionState.isTransitioning()).thenReturn(false); in testNotifyExpandNotification_withNullCheckProtection()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayoutState.kt82 fun isTransitioning(from: SceneKey? = null, to: SceneKey? = null): Boolean in <lambda>() method
299 fun isTransitioning(from: SceneKey? = null, to: SceneKey? = null): Boolean { in finish() method in com.android.compose.animation.scene.TransitionState.Transition
305 return isTransitioning(from = scene, to = other) || in isTransitioningBetween()
306 isTransitioning(from = other, to = scene) in isTransitioningBetween()
445 override fun isTransitioning(from: SceneKey?, to: SceneKey?): Boolean { in isTransitioning() method
447 return transition.isTransitioning(from, to) in isTransitioning()
DObservableTransitionState.kt91 fun isTransitioning(from: SceneKey? = null, to: SceneKey? = null): Boolean { in isTransitioning() method
DScene.kt76 isMeasurementApproachInProgress = { scope.layoutState.isTransitioning() } in <lambda>()
DSceneTransitionLayoutImpl.kt267 return layoutImpl.state.isTransitioning() in isMeasurementApproachInProgress()
DElement.kt246 return layoutImpl.state.isTransitioning() in isMeasurementApproachInProgress()
254 return layoutImpl.state.isTransitioning() in isPlacementApproachInProgress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DAodAlphaViewModel.kt65 sceneTransitionState.isTransitioning(Scenes.Gone, Scenes.Lockscreen) in <lambda>()
71 sceneTransitionState.isTransitioning(Scenes.Gone, Scenes.Lockscreen) in <lambda>()
DAodBurnInViewModel.kt98 if (aodToLockscreen.transitionState.isTransitioning()) { in <lambda>()
100 } else if (goneToAod.transitionState.isTransitioning()) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionInteractor.kt197 sceneInteractor.get().transitionState.value.isTransitioning(fromScene, toScene) in <lambda>()
455 is Edge.SceneToState -> it.isTransitioning(from = edge.from) in <lambda>()
456 is Edge.StateToScene -> it.isTransitioning(to = edge.to) in <lambda>()
460 transition(edge).mapLatest { it.transitionState.isTransitioning() } in <lambda>()
464 it.transitionState.isTransitioning() in <lambda>()
DWindowManagerLockscreenVisibilityInteractor.kt167 transition.isTransitioning(to = Scenes.Gone) || in <lambda>()
170 transition.isTransitioning(from = Scenes.Gone))) in <lambda>()
DKeyguardInteractor.kt339 .filter { (_, _, _, step, _) -> !step.transitionState.isTransitioning() } in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/modifiers/
DSize.kt27 return approachLayout(isMeasurementApproachInProgress = { layoutState.isTransitioning() }) { in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeHeader.kt602 ((state.isTransitioning(Scenes.Shade, Scenes.QuickSettings) || in shouldUseExpandedFormat()
603 state.isTransitioning(Scenes.Gone, Scenes.QuickSettings) || in shouldUseExpandedFormat()
604 state.isTransitioning(Scenes.Lockscreen, Scenes.QuickSettings)) && in shouldUseExpandedFormat()
606 ((state.isTransitioning(Scenes.QuickSettings, Scenes.Shade) || in shouldUseExpandedFormat()
607 state.isTransitioning(Scenes.QuickSettings, Scenes.Gone) || in shouldUseExpandedFormat()
608 state.isTransitioning(Scenes.QuickSettings, Scenes.Lockscreen)) && in shouldUseExpandedFormat()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedState.java81 public boolean isTransitioning() { in isTransitioning() method in OneHandedState
DOneHandedController.java371 if (mState.isTransitioning() || mState.isInOneHanded()) { in startOneHanded()
397 if (mState.isTransitioning() || mState.getState() == STATE_NONE) { in stopOneHanded()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java220 public void setTransitioning(boolean isTransitioning) { in setTransitioning() argument
221 mIsTransitioning = isTransitioning; in setTransitioning()
222 setDescendantFocusability(isTransitioning ? FOCUS_BLOCK_DESCENDANTS in setTransitioning()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DQuickSettings.kt149 !(layoutState.isTransitioning(to = Scenes.Shade) ||
150 layoutState.isTransitioning(to = Scenes.QuickSettings))
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestTransition.kt165 MotionControl(delayRecording = { awaitCondition { state.isTransitioning() } }) { in MotionTestRule()
166 awaitCondition { !state.isTransitioning() } in MotionTestRule()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/scenetransition/
DLockscreenSceneTransitionInteractor.kt178 } else if (currentTransition.isTransitioning(to = state)) { in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotifications.kt284 layoutState.isTransitioning(from = Scenes.Shade, to = Scenes.Gone) || in NotificationScrollingStack()
285 layoutState.isTransitioning(from = Scenes.Shade, to = Scenes.Lockscreen) in NotificationScrollingStack()

12