/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | TransitionDslTest.kt | 37 val transitions = transitions {} in emptyTransitions() constant 38 assertThat(transitions.transitionSpecs).isEmpty() in emptyTransitions() 43 val transitions = transitions { in manyTransitions() constant 48 assertThat(transitions.transitionSpecs).hasSize(3) in manyTransitions() 53 val transitions = transitions { in toFromBuilders() constant 59 assertThat(transitions.transitionSpecs) in toFromBuilders() 75 val transitions = transitions { from(TestScenes.SceneA, to = TestScenes.SceneB) } in defaultTransitionSpec() constant 76 val transformationSpec = transitions.transitionSpecs.single().transformationSpec() in defaultTransitionSpec() 82 val transitions = transitions { in customTransitionSpec() constant 85 val transformationSpec = transitions.transitionSpecs.single().transformationSpec() in customTransitionSpec() [all …]
|
D | InterruptionHandlerTest.kt | 43 transitions { /* default interruption handler */ }, in <lambda>() 66 transitions { in <lambda>() 101 transitions { in <lambda>() 149 val state = MutableSceneTransitionLayoutStateImpl(SceneA, transitions {}) in <lambda>() 177 val state = MutableSceneTransitionLayoutStateImpl(SceneA, transitions {}) in <lambda>()
|
D | DraggableHandlerTest.kt | 980 layoutState.transitions = transitions { in <lambda>() 988 assertThat(layoutState.transitions.overscrollSpec(scene, Orientation.Vertical)).isNotNull() in <lambda>() 1016 layoutState.transitions = transitions { overscroll(SceneB, Orientation.Vertical) {} } in <lambda>() 1038 layoutState.transitions = transitions { in <lambda>() 1064 layoutState.transitions = transitions { in <lambda>() 1090 layoutState.transitions = transitions { in <lambda>() 1117 layoutState.transitions = transitions { in <lambda>() 1144 layoutState.transitions = transitions { in <lambda>() 1173 layoutState.transitions = transitions { in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/ |
D | ShellTransitionTests.java | 182 Transitions transitions = createTestTransitions(); in testBasicTransitionFlow() local 183 transitions.replaceDefaultHandlerForTest(mDefaultHandler); in testBasicTransitionFlow() 186 transitions.requestStartTransition(transitToken, in testBasicTransitionFlow() 191 transitions.onTransitionReady(transitToken, info, new StubTransaction(), in testBasicTransitionFlow() 201 Transitions transitions = createTestTransitions(); in testNonDefaultHandler() local 202 transitions.replaceDefaultHandlerForTest(mDefaultHandler); in testNonDefaultHandler() 231 transitions.addHandler(testHandler); in testNonDefaultHandler() 238 transitions.requestStartTransition(transitToken, in testNonDefaultHandler() 241 transitions.onTransitionReady(transitToken, open, new StubTransaction(), in testNonDefaultHandler() 253 transitions.requestStartTransition(transitToken, in testNonDefaultHandler() [all …]
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/ |
D | SceneContainerTransitions.kt | 4 import com.android.compose.animation.scene.transitions 10 import com.android.systemui.scene.ui.composable.transitions.bouncerToGoneTransition 11 import com.android.systemui.scene.ui.composable.transitions.goneToNotificationsShadeTransition 12 import com.android.systemui.scene.ui.composable.transitions.goneToQuickSettingsShadeTransition 13 import com.android.systemui.scene.ui.composable.transitions.goneToQuickSettingsTransition 14 import com.android.systemui.scene.ui.composable.transitions.goneToShadeTransition 15 import com.android.systemui.scene.ui.composable.transitions.goneToSplitShadeTransition 16 import com.android.systemui.scene.ui.composable.transitions.lockscreenToBouncerTransition 17 import com.android.systemui.scene.ui.composable.transitions.lockscreenToCommunalTransition 18 import com.android.systemui.scene.ui.composable.transitions.lockscreenToGoneTransition [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/ |
D | WMShellModule.java | 188 Transitions transitions, in provideBubbleController() argument 198 taskViewTransitions, transitions, syncQueue, wmService, in provideBubbleController() 221 Transitions transitions, in provideWindowDecorViewModel() argument 238 transitions, in provideWindowDecorViewModel() 250 transitions); in provideWindowDecorViewModel() 289 Transitions transitions, in provideFreeformTaskTransitionHandler() argument 295 return new FreeformTaskTransitionHandler(shellInit, transitions, context, in provideFreeformTaskTransitionHandler() 304 Transitions transitions, in provideFreeformTaskTransitionObserver() argument 307 context, shellInit, transitions, windowDecorViewModel); in provideFreeformTaskTransitionObserver() 355 Transitions transitions, in provideSplitScreenController() argument [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/desktopmode/flicker/ |
D | DesktopModeFlickerScenarios.kt | 48 transitions: Collection<Transition> in findAll() 50 return transitions.filter { in findAll() 76 transitions: Collection<Transition> in findAll() 78 return transitions.filter { it.type == TransitionType.CLOSE } in findAll() 100 transitions: Collection<Transition> in findAll() 103 transitions.findLast { it.type == TransitionType.CLOSE } in findAll() 128 transitions: Collection<Transition> in findAll() 130 return transitions.filter { in findAll()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | SceneTransitionLayoutState.kt | 76 val transitions: SceneTransitions in <lambda>() constant 91 override var transitions: SceneTransitions variable 141 transitions: SceneTransitions = SceneTransitions.Empty, in setTargetScene() 148 transitions, 177 transitions: SceneTransitions = SceneTransitions.Empty, in updateSceneTransitionLayoutState() 185 transitions, in <lambda>() 197 transitions, in <lambda>() 327 val swipeSpec = layoutImpl.state.transitions.defaultSwipeSpec in interruptionProgress() 474 transitions in startTransition() 479 fromSpec = transitions.overscrollSpec(fromScene, orientation), in startTransition() [all …]
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/blueprint/ |
D | ClockTransition.kt | 24 import com.android.compose.animation.scene.transitions 31 import com.android.systemui.keyguard.ui.view.layout.sections.transitions.ClockSizeTransition.ClockF… 32 import com.android.systemui.keyguard.ui.view.layout.sections.transitions.ClockSizeTransition.ClockF… 33 import com.android.systemui.keyguard.ui.view.layout.sections.transitions.ClockSizeTransition.ClockF… 34 import com.android.systemui.keyguard.ui.view.layout.sections.transitions.ClockSizeTransition.Smarts… 35 import com.android.systemui.keyguard.ui.view.layout.sections.transitions.ClockSizeTransition.Smarts… 38 val defaultClockTransitions = transitions { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/scenetransition/ |
D | LockscreenSceneTransitionInteractorTest.kt | 98 val currentStep by collectLastValue(kosmos.realKeyguardTransitionRepository.transitions) in transition_from_ls_scene_end_in_gone() 134 val currentStep by collectLastValue(kosmos.realKeyguardTransitionRepository.transitions) in transition_from_ls_scene_end_in_ls() 135 val allSteps by collectValues(kosmos.realKeyguardTransitionRepository.transitions) in transition_from_ls_scene_end_in_ls() 185 val currentStep by collectLastValue(kosmos.realKeyguardTransitionRepository.transitions) in transition_from_ls_scene_on_aod_end_in_ls() 186 val allSteps by collectValues(kosmos.realKeyguardTransitionRepository.transitions) in transition_from_ls_scene_on_aod_end_in_ls() 248 val currentStep by collectLastValue(kosmos.realKeyguardTransitionRepository.transitions) in transition_to_ls_scene_end_in_ls() 284 val currentStep by collectLastValue(kosmos.realKeyguardTransitionRepository.transitions) in transition_to_ls_scene_with_changed_next_scene_is_respected_just_once() 322 val currentStep by collectLastValue(kosmos.realKeyguardTransitionRepository.transitions) in transition_to_ls_scene_end_in_from_scene() 323 val allSteps by collectValues(kosmos.realKeyguardTransitionRepository.transitions) in transition_to_ls_scene_end_in_from_scene() 376 val currentStep by collectLastValue(kosmos.realKeyguardTransitionRepository.transitions) in transition_to_ls_scene_end_in_to_ls_transition() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | HomeTransitionObserver.java | 96 public void setHomeTransitionListener(Transitions transitions, in setHomeTransitionListener() argument 100 c -> transitions.registerObserver(this), in setHomeTransitionListener() 101 c -> transitions.unregisterObserver(this)); in setHomeTransitionListener() 134 public void invalidate(Transitions transitions) { in invalidate() argument 135 transitions.unregisterObserver(this); in invalidate()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionUtils.java | 54 public static Transition mergeTransitions(Transition... transitions) { in mergeTransitions() argument 57 for (int i = 0; i < transitions.length; i++) { in mergeTransitions() 58 if (transitions[i] != null) { in mergeTransitions() 69 return transitions[nonNullIndex]; in mergeTransitions() 73 for (int i = 0; i < transitions.length; i++) { in mergeTransitions() 74 if (transitions[i] != null) { in mergeTransitions() 75 transitionSet.addTransition(transitions[i]); in mergeTransitions()
|
D | TransitionManager.java | 224 ArrayMap<ViewGroup, ArrayList<Transition>> transitions = runningTransitions.get(); in getRunningTransitions() local 225 if (transitions != null) { in getRunningTransitions() 226 return transitions; in getRunningTransitions() 229 ArrayMap<ViewGroup, ArrayList<Transition>> transitions = new ArrayMap<>(); in getRunningTransitions() local 230 runningTransitions = new WeakReference<>(transitions); in getRunningTransitions() 232 return transitions; in getRunningTransitions()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | DragToDesktopTransitionHandlerTest.kt | 50 @Mock private lateinit var transitions: Transitions variable in com.android.wm.shell.desktopmode.DragToDesktopTransitionHandlerTest 64 transitions, in setUp() 96 verify(transitions) in startDragToDesktop_cancelledBeforeReady_startCancelTransition() 134 verify(transitions, never()) in startDragToDesktop_aborted_finishDropped() 165 verify(transitions, times(1)).startTransition( in startDragToDesktop_anotherTransitionInProgress_startDropped() 244 verify(transitions, never()).startTransition( in cancelDragToDesktop_transitionNotInProgress_dropCancel() 257 verify(transitions, never()).startTransition( in finishDragToDesktop_transitionNotInProgress_dropFinish() 288 transitions.startTransition( in startDragToDesktopTransition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/blueprints/transitions/ |
D | IntraBlueprintTransition.kt | 17 package com.android.systemui.keyguard.ui.view.layout.blueprints.transitions 21 import com.android.systemui.keyguard.ui.view.layout.sections.transitions.ClockSizeTransition 22 import com.android.systemui.keyguard.ui.view.layout.sections.transitions.DefaultClockSteppingTransi…
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/subjects/ |
D | TransitionStateSubject.kt | 34 fun assertThat(transitions: TransitionState.Transition): TransitionSubject { in assertThat() 35 return Truth.assertAbout(TransitionSubject.transitions()).that(transitions) in assertThat() 126 fun transitions() = Factory { metadata, actual: TransitionState.Transition -> in actual() method
|
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/ |
D | TestSceneScope.kt | 33 transitions = remember { transitions {} }, in TestSceneScope()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardTransitionInteractor.kt | 101 val transitions = repository.transitions in <lambda>() constant 104 transitions.stateIn(scope, SharingStarted.Eagerly, TransitionStep()) in <lambda>() 117 repository.transitions in <lambda>() 125 repository.transitions in <lambda>() 134 repository.transitions.collect { in <lambda>() 255 repository.transitions.filter { step -> step.transitionState == TransitionState.STARTED } in <lambda>() 259 repository.transitions.filter { step -> step.transitionState == TransitionState.FINISHED } in <lambda>() 375 repository.transitions in <lambda>() 519 return repository.transitions in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | ToggleResizeDesktopTaskTransitionHandler.kt | 37 private val transitions: Transitions, in <lambda>() constant in com.android.wm.shell.desktopmode.ToggleResizeDesktopTaskTransitionHandler 47 transitions: Transitions in <lambda>() 48 ) : this(transitions, Supplier { SurfaceControl.Transaction() }) in <lambda>() 52 transitions.startTransition(TRANSIT_DESKTOP_MODE_TOGGLE_RESIZE, wct, this) in <lambda>()
|
D | EnterDesktopTaskTransitionHandler.java | 67 Transitions transitions) { in EnterDesktopTaskTransitionHandler() argument 68 this(transitions, SurfaceControl.Transaction::new); in EnterDesktopTaskTransitionHandler() 72 Transitions transitions, in EnterDesktopTaskTransitionHandler() argument 74 mTransitions = transitions; in EnterDesktopTaskTransitionHandler()
|
D | ExitDesktopTaskTransitionHandler.java | 69 Transitions transitions, in ExitDesktopTaskTransitionHandler() argument 71 this(transitions, SurfaceControl.Transaction::new, context); in ExitDesktopTaskTransitionHandler() 75 Transitions transitions, in ExitDesktopTaskTransitionHandler() argument 78 mTransitions = transitions; in ExitDesktopTaskTransitionHandler()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | RestartDialogWindowManager.java | 75 DisplayLayout displayLayout, Transitions transitions, in RestartDialogWindowManager() argument 79 this(context, taskInfo, syncQueue, taskListener, displayLayout, transitions, in RestartDialogWindowManager() 88 DisplayLayout displayLayout, Transitions transitions, in RestartDialogWindowManager() argument 94 mTransitions = transitions; in RestartDialogWindowManager()
|
D | LetterboxEduWindowManager.java | 81 DisplayLayout displayLayout, Transitions transitions, in LetterboxEduWindowManager() argument 84 this(context, taskInfo, syncQueue, taskListener, displayLayout, transitions, in LetterboxEduWindowManager() 93 DisplayLayout displayLayout, Transitions transitions, in LetterboxEduWindowManager() argument 98 mTransitions = transitions; in LetterboxEduWindowManager()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingController.java | 69 @NonNull Transitions transitions) { in ActivityEmbeddingController() argument 71 mTransitions = requireNonNull(transitions); in ActivityEmbeddingController() 83 @NonNull ShellInit shellInit, @NonNull Transitions transitions) { in create() argument 85 ? new ActivityEmbeddingController(context, shellInit, transitions) in create()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/tv/ |
D | TvSplitScreenController.java | 78 Transitions transitions, in TvSplitScreenController() argument 89 displayInsetsController, null, transitions, transactionPool, in TvSplitScreenController() 100 mTransitions = transitions; in TvSplitScreenController()
|