Home
last modified time | relevance | path

Searched refs:TRANSIT_OPEN (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DShellTransitionTests.java33 import static android.view.WindowManager.TRANSIT_OPEN;
187 new TransitionRequestInfo(TRANSIT_OPEN, null /* trigger */, null /* remote */)); in testBasicTransitionFlow()
189 TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN) in testBasicTransitionFlow()
190 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testBasicTransitionFlow()
234 TransitionInfo open = new TransitionInfoBuilder(TRANSIT_OPEN) in testNonDefaultHandler()
235 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testNonDefaultHandler()
239 new TransitionRequestInfo(TRANSIT_OPEN, null /* trigger */, null /* remote */)); in testNonDefaultHandler()
254 new TransitionRequestInfo(TRANSIT_OPEN, mwTaskInfo, null /* remote */)); in testNonDefaultHandler()
302 new TransitionRequestInfo(TRANSIT_OPEN, null /* trigger */, in testRequestRemoteTransition()
305 TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN) in testRequestRemoteTransition()
[all …]
DHomeTransitionObserverTest.java22 import static android.view.WindowManager.TRANSIT_OPEN;
106 setupTransitionInfo(taskInfo, change, ACTIVITY_TYPE_HOME, TRANSIT_OPEN, true); in testHomeActivityWithOpenModeNotifiesHomeIsVisible()
179 setupTransitionInfo(taskInfo, change, ACTIVITY_TYPE_HOME, TRANSIT_OPEN, true); in testStartDragToDesktopDoesNotTriggerCallback()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingControllerTests.java20 import static android.view.WindowManager.TRANSIT_OPEN;
106 nonEmbeddedOpen.setMode(TRANSIT_OPEN); in testStartAnimation_containsNonActivityEmbeddingChange()
107 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testStartAnimation_containsNonActivityEmbeddingChange()
125 final TransitionInfo info2 = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testStartAnimation_containsNonActivityEmbeddingChange()
140 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testStartAnimation_containsOnlyFillTaskActivityEmbeddingChange()
158 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testStartAnimation_containsActivityEmbeddingSplitChange()
176 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testStartAnimation_containsChangeEnterActivityEmbeddingSplit()
193 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testStartAnimation_containsChangeExitActivityEmbeddingSplit()
251 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testMergeAnimation()
291 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testOnAnimationFinished()
DActivityEmbeddingAnimationRunnerTests.java19 import static android.view.WindowManager.TRANSIT_OPEN;
76 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testStartAnimation()
102 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testChangesBehindStartingWindow()
132 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testInvalidCustomAnimation_disableAnimationOptionsPerChange()
150 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testInvalidCustomAnimation_enableAnimationOptionsPerChange()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAppTransitionTests.java35 import static android.view.WindowManager.TRANSIT_OPEN;
106 mDc.prepareAppTransition(TRANSIT_OPEN); in testKeyguardOverride()
139 mDc.prepareAppTransition(TRANSIT_OPEN); in testKeyguardKeep()
153 mDc.prepareAppTransition(TRANSIT_OPEN); in testCrashing()
183 mDc.prepareAppTransition(TRANSIT_OPEN); in testSkipTransitionAnimation()
197 mDc.prepareAppTransition(TRANSIT_OPEN); in testTaskChangeWindowingMode()
217 mDc.prepareAppTransition(TRANSIT_OPEN); in testTaskFragmentChange()
234 mDisplayContent.prepareAppTransition(TRANSIT_OPEN); in testTaskFragmentOpeningTransition()
294 dc1.prepareAppTransition(TRANSIT_OPEN); in testAppTransitionStateForMultiDisplay()
323 dc1.prepareAppTransition(TRANSIT_OPEN); in testCleanAppTransitionWhenRootTaskReparent()
[all …]
DTransitionTests.java35 import static android.view.WindowManager.TRANSIT_OPEN;
154 final Transition transition = createTestTransition(TRANSIT_OPEN); in testCreateInfo_NewTask()
212 final Transition transition = createTestTransition(TRANSIT_OPEN); in testCreateInfo_Activity()
242 final Transition transition = createTestTransition(TRANSIT_OPEN); in testCreateInfo_NestedTasks()
298 final Transition transition = createTestTransition(TRANSIT_OPEN); in testCreateInfo_DisplayArea()
353 final Transition transition = createTestTransition(TRANSIT_OPEN); in testCreateInfo_existenceChange()
373 assertEquals(TRANSIT_OPEN, in testCreateInfo_existenceChange()
382 final Transition transition = createTestTransition(TRANSIT_OPEN); in testCreateInfo_ordering()
417 final Transition transition = createTestTransition(TRANSIT_OPEN); in testCreateInfo_wallpaper()
502 final Transition transition = createTestTransition(TRANSIT_OPEN); in testCreateInfo_PromoteSimilarOpen()
[all …]
DAppTransitionControllerTest.java38 import static android.view.WindowManager.TRANSIT_OPEN;
107 mDisplayContent.prepareAppTransition(TRANSIT_OPEN); in testSkipOccludedActivityCloseTransition()
139 mDisplayContent.prepareAppTransition(TRANSIT_OPEN); in testTranslucentOpen()
168 mDisplayContent.prepareAppTransition(TRANSIT_OPEN); in testDreamActivityOpenTransition()
248 mDisplayContent.prepareAppTransition(TRANSIT_OPEN); in testIntraWallpaper_open()
1280 mDisplayContent.mAppTransition.prepareAppTransition(TRANSIT_OPEN, 0); in prepareAndTriggerAppTransition()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
DTaskStackTransitionObserverTest.kt101 WindowManager.TRANSIT_OPEN, in taskCreated_freeformWindow_listenerNotified()
105 TransitionInfoBuilder(WindowManager.TRANSIT_OPEN, 0).addChange(change).build() in taskCreated_freeformWindow_listenerNotified()
124 WindowManager.TRANSIT_OPEN, in taskCreated_fullscreenWindow_listenerNotNotified()
128 TransitionInfoBuilder(WindowManager.TRANSIT_OPEN, 0).addChange(change).build() in taskCreated_fullscreenWindow_listenerNotNotified()
147 WindowManager.TRANSIT_OPEN, in taskCreated_freeformWindowOnTopOfFreeform_listenerNotified()
156 TransitionInfoBuilder(WindowManager.TRANSIT_OPEN, 0) in taskCreated_freeformWindowOnTopOfFreeform_listenerNotified()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTasksLimiterTest.kt24 import android.view.WindowManager.TRANSIT_OPEN
113 TransitionInfoBuilder(TRANSIT_OPEN).addChange(TRANSIT_TO_BACK, task).build(), in onTransitionReady_noPendingTransition_taskIsNotMinimized()
131 TransitionInfoBuilder(TRANSIT_OPEN).addChange(TRANSIT_TO_BACK, task).build(), in onTransitionReady_differentPendingTransition_taskIsNotMinimized()
148 TransitionInfoBuilder(TRANSIT_OPEN).build(), in onTransitionReady_pendingTransition_noTaskChange_taskVisible_taskIsNotMinimized()
165 TransitionInfoBuilder(TRANSIT_OPEN).build(), in onTransitionReady_pendingTransition_noTaskChange_taskInvisible_taskIsMinimized()
181 TransitionInfoBuilder(TRANSIT_OPEN).addChange(TRANSIT_TO_BACK, task).build(), in onTransitionReady_pendingTransition_changeTaskToBack_taskIsMinimized()
200 TransitionInfoBuilder(TRANSIT_OPEN).addChange(TRANSIT_TO_BACK, task).build(), in onTransitionReady_transitionMergedFromPending_taskIsMinimized()
DDesktopModeLoggerTransitionObserverTest.kt29 import android.view.WindowManager.TRANSIT_OPEN
124 val change = createChange(TRANSIT_OPEN, createTaskInfo(1, WINDOWING_MODE_FULLSCREEN)) in transitOpen_notFreeformWindow_doesNotLogTaskAddedOrSessionEnter()
125 val transitionInfo = TransitionInfoBuilder(TRANSIT_OPEN, 0).addChange(change).build() in transitOpen_notFreeformWindow_doesNotLogTaskAddedOrSessionEnter()
135 val change = createChange(TRANSIT_OPEN, createTaskInfo(1, WINDOWING_MODE_FREEFORM)) in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent()
136 val transitionInfo = TransitionInfoBuilder(TRANSIT_OPEN, 0).addChange(change).build() in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent()
332 val transitionInfo = TransitionInfoBuilder(TRANSIT_OPEN, 0).addChange(change).build() in transitOpen_previousTransitionExitToOverview_logTaskAddedAndEnterReasonOverview()
584 val change = createChange(TRANSIT_OPEN, createTaskInfo(2, WINDOWING_MODE_FREEFORM)) in sessionAlreadyStarted_newFreeformTaskAdded_logsTaskAdded()
585 val transitionInfo = TransitionInfoBuilder(TRANSIT_OPEN, 0).addChange(change).build() in sessionAlreadyStarted_newFreeformTaskAdded_logsTaskAdded()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubblesTransitionObserverTest.java22 import static android.view.WindowManager.TRANSIT_OPEN;
86 TransitionInfo info = createTransitionInfo(TRANSIT_OPEN, createTaskInfo(2)); in testOnTransitionReady_open_collapsesStack()
165 TransitionInfo info = createTransitionInfo(TRANSIT_OPEN, createTaskInfo(2)); in testOnTransitionReady_stackAnimating_skip()
193 TransitionInfo info = createTransitionInfo(TRANSIT_OPEN, createTaskInfo(2)); in testOnTransitionReady_noSelectedBubble_skip()
230 return new TransitionInfoBuilder(TRANSIT_OPEN, 0) in createTransitionInfo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/
DFreeformTaskTransitionObserverTest.java21 import static android.view.WindowManager.TRANSIT_OPEN;
97 createChange(TRANSIT_OPEN, 1, WINDOWING_MODE_FREEFORM); in testCreatesWindowDecorOnOpenTransition_freeform()
98 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testCreatesWindowDecorOnOpenTransition_freeform()
167 createChange(TRANSIT_OPEN, 1, WINDOWING_MODE_FREEFORM); in testClosesMergedWindowDecorationAfterTransitionFinishes()
168 final TransitionInfo info1 = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testClosesMergedWindowDecorationAfterTransitionFinishes()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitTransitionTests.java24 import static android.view.WindowManager.TRANSIT_OPEN;
181 .addChange(TRANSIT_OPEN, newTask) in testLaunchToSide()
202 TRANSIT_OPEN, new WindowContainerTransaction(), in testLaunchPair()
222 TransitionInfo info = new TransitionInfoBuilder(TRANSIT_OPEN, 0) in testRemoteTransitionConsumed()
223 .addChange(TRANSIT_OPEN, mMainChild) in testRemoteTransitionConsumed()
228 TRANSIT_OPEN, new WindowContainerTransaction(), in testRemoteTransitionConsumed()
469 return new TransitionInfoBuilder(TRANSIT_OPEN, 0) in createEnterPairInfo()
470 .addChange(TRANSIT_OPEN, mMainChild) in createEnterPairInfo()
471 .addChange(TRANSIT_OPEN, mSideChild) in createEnterPairInfo()
478 TRANSIT_OPEN, new WindowContainerTransaction(), in enterSplit()
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/
DTransitionUtil.java28 import static android.view.WindowManager.TRANSIT_OPEN;
60 return type == TRANSIT_OPEN in isOpeningType()
77 return mode == TRANSIT_OPEN || mode == TRANSIT_TO_FRONT; in isOpeningMode()
148 case WindowManager.TRANSIT_OPEN: in newModeToLegacyMode()
175 (mode == TRANSIT_OPEN) ? change.getEndAbsBounds() : change.getStartAbsBounds(); in setupLeash()
193 if (mode == WindowManager.TRANSIT_OPEN || mode == WindowManager.TRANSIT_TO_FRONT) { in setupLeash()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTransitionAnimationHelper.java22 import static android.view.WindowManager.TRANSIT_OPEN;
85 if (type == TRANSIT_OPEN) { in loadAttributeAnimation()
110 } else if (type == TRANSIT_OPEN) { in loadAttributeAnimation()
204 if (type == TRANSIT_OPEN) { in getTransitionTypeFromInfo()
217 if (change.getMode() == TRANSIT_OPEN) { in getTransitionTypeFromInfo()
/frameworks/base/core/java/android/window/
DTaskFragmentOrganizer.java23 import static android.view.WindowManager.TRANSIT_OPEN;
80 public static final int TASK_FRAGMENT_TRANSIT_OPEN = TRANSIT_OPEN;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/
DRemoteTransitionTest.java26 import static android.view.WindowManager.TRANSIT_OPEN;
79 .addChange(TRANSIT_OPEN, FLAG_IS_WALLPAPER, null /* taskInfo */) in testLegacyTargetExtract()
/frameworks/base/services/core/java/com/android/server/wm/
DSnapshotController.java23 import static android.view.WindowManager.TRANSIT_OPEN;
205 return type == TRANSIT_OPEN || type == TRANSIT_TO_FRONT; in isTransitionOpen()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopTasksTransitionObserver.kt86 WindowManager.TRANSIT_OPEN -> in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewTransitions.java21 import static android.view.WindowManager.TRANSIT_OPEN;
223 mPending.add(new PendingTransition(TRANSIT_OPEN, wct, taskView, launchCookie)); in startTaskView()
391 final boolean taskIsNew = chg.getMode() == TRANSIT_OPEN; in startAnimation()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DRemoteAnimationRunnerCompat.java22 import static android.view.WindowManager.TRANSIT_OPEN;
105 isReturnToHome = change.getMode() == TRANSIT_OPEN in wrap()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/taskview/
DTaskViewTransitionsTest.java20 import static android.view.WindowManager.TRANSIT_OPEN;
259 when(change.getMode()).thenReturn(TRANSIT_OPEN); in test_startAnimation_setsTaskNotFound()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DTaskStackTransitionObserver.kt79 if (change.mode == WindowManager.TRANSIT_OPEN) { in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTransition.java21 import static android.view.WindowManager.TRANSIT_OPEN;
476 return requestInfo.getType() == TRANSIT_OPEN in isAutoEnterInButtonNavigation()
489 && (pipChange.getMode() == TRANSIT_TO_FRONT || pipChange.getMode() == TRANSIT_OPEN); in isLegacyEnter()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/
DFreeformTaskTransitionObserver.java100 case WindowManager.TRANSIT_OPEN: in onTransitionReady()

123