/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/ |
D | ShellTransitionTests.java | 33 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 …]
|
D | HomeTransitionObserverTest.java | 22 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/ |
D | ActivityEmbeddingControllerTests.java | 20 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()
|
D | ActivityEmbeddingAnimationRunnerTests.java | 19 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/ |
D | AppTransitionTests.java | 35 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 …]
|
D | TransitionTests.java | 35 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 …]
|
D | AppTransitionControllerTest.java | 38 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/ |
D | TaskStackTransitionObserverTest.kt | 101 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/ |
D | DesktopTasksLimiterTest.kt | 24 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()
|
D | DesktopModeLoggerTransitionObserverTest.kt | 29 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/ |
D | BubblesTransitionObserverTest.java | 22 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/ |
D | FreeformTaskTransitionObserverTest.java | 21 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/ |
D | SplitTransitionTests.java | 24 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/ |
D | TransitionUtil.java | 28 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/ |
D | TransitionAnimationHelper.java | 22 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/ |
D | TaskFragmentOrganizer.java | 23 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/ |
D | RemoteTransitionTest.java | 26 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/ |
D | SnapshotController.java | 23 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/ |
D | DesktopTasksTransitionObserver.kt | 86 WindowManager.TRANSIT_OPEN -> in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/ |
D | TaskViewTransitions.java | 21 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/ |
D | RemoteAnimationRunnerCompat.java | 22 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/ |
D | TaskViewTransitionsTest.java | 20 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/ |
D | TaskStackTransitionObserver.kt | 79 if (change.mode == WindowManager.TRANSIT_OPEN) { in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipTransition.java | 21 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/ |
D | FreeformTaskTransitionObserver.java | 100 case WindowManager.TRANSIT_OPEN: in onTransitionReady()
|