/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/ |
D | FreeformTaskTransitionObserverTest.java | 20 import static android.view.WindowManager.TRANSIT_CLOSE; 114 createChange(TRANSIT_CLOSE, 1, WINDOWING_MODE_FREEFORM); in testPreparesWindowDecorOnCloseTransition_freeform() 115 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_CLOSE, 0) in testPreparesWindowDecorOnCloseTransition_freeform() 131 createChange(TRANSIT_CLOSE, 1, WINDOWING_MODE_FREEFORM); in testDoesntCloseWindowDecorDuringCloseTransition() 132 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_CLOSE, 0) in testDoesntCloseWindowDecorDuringCloseTransition() 147 createChange(TRANSIT_CLOSE, 1, WINDOWING_MODE_FREEFORM); in testClosesWindowDecorAfterCloseTransition() 148 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_CLOSE, 0) in testClosesWindowDecorAfterCloseTransition() 179 createChange(TRANSIT_CLOSE, 2, WINDOWING_MODE_FREEFORM); in testClosesMergedWindowDecorationAfterTransitionFinishes() 180 final TransitionInfo info2 = new TransitionInfoBuilder(TRANSIT_CLOSE, 0) in testClosesMergedWindowDecorationAfterTransitionFinishes() 198 createChange(TRANSIT_CLOSE, 1, WINDOWING_MODE_FREEFORM); in testClosesAllWindowDecorsOnTransitionMergeAfterCloseTransitions() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/ |
D | ShellTransitionTests.java | 30 import static android.view.WindowManager.TRANSIT_CLOSE; 190 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testBasicTransitionFlow() 235 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testNonDefaultHandler() 306 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testRequestRemoteTransition() 342 filter.mRequirements[1].mModes = new int[]{TRANSIT_CLOSE, TRANSIT_TO_BACK}; in testTransitionFilterMultiRequirement() 349 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testTransitionFilterMultiRequirement() 368 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testTransitionFilterNotRequirement() 386 final TransitionInfo closeOnly = new TransitionInfoBuilder(TRANSIT_CLOSE) in testTransitionFilterChecksTypeSet() 387 .addChange(TRANSIT_CLOSE).build(); in testTransitionFilterChecksTypeSet() 474 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testRegisteredRemoteTransition() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/ |
D | RemoteTransitionTest.java | 25 import static android.view.WindowManager.TRANSIT_CLOSE; 72 TransitionInfo combined = new TransitionInfoBuilder(TRANSIT_CLOSE) in testLegacyTargetExtract() 76 .addChange(TRANSIT_CLOSE, FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY, null /* taskInfo */) in testLegacyTargetExtract() 77 .addChange(TRANSIT_CLOSE, 0 /* flags */, in testLegacyTargetExtract() 117 TransitionInfo tinfo = new TransitionInfoBuilder(TRANSIT_CLOSE)
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AppTransitionTests.java | 22 import static android.view.WindowManager.TRANSIT_CLOSE; 154 mDc.prepareAppTransition(TRANSIT_CLOSE, TRANSIT_FLAG_APP_CRASHED); in testCrashing() 169 mDc.prepareAppTransition(TRANSIT_CLOSE, TRANSIT_FLAG_APP_CRASHED); in testKeepKeyguard_withCrashing() 184 mDc.prepareAppTransition(TRANSIT_CLOSE); in testSkipTransitionAnimation() 248 mDisplayContent.prepareAppTransition(TRANSIT_CLOSE); in testTaskFragmentClosingTransition() 295 dc2.prepareAppTransition(TRANSIT_CLOSE); in testAppTransitionStateForMultiDisplay() 365 dc.prepareAppTransition(TRANSIT_CLOSE); in testCancelRemoteAnimationWhenFreeze() 366 assertTrue(dc.mAppTransition.containsTransitRequest(TRANSIT_CLOSE)); in testCancelRemoteAnimationWhenFreeze()
|
D | AppTransitionControllerTest.java | 27 import static android.view.WindowManager.TRANSIT_CLOSE; 108 mDisplayContent.prepareAppTransition(TRANSIT_CLOSE); in testSkipOccludedActivityCloseTransition() 156 mDisplayContent.prepareAppTransition(TRANSIT_CLOSE); in testTranslucentClose() 181 mDisplayContent.prepareAppTransition(TRANSIT_CLOSE); in testDreamActivityCloseTransition() 1284 mDisplayContent.mAppTransition.prepareAppTransition(TRANSIT_CLOSE, 0); in prepareAndTriggerAppTransition()
|
D | WallpaperControllerTests.java | 28 import static android.view.WindowManager.TRANSIT_CLOSE; 443 transit = mWm.mAtmService.getTransitionController().createTransition(TRANSIT_CLOSE); in testWallpaperTokenVisibility()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingControllerTests.java | 19 import static android.view.WindowManager.TRANSIT_CLOSE; 121 nonEmbeddedClose.setMode(TRANSIT_CLOSE); in testStartAnimation_containsNonActivityEmbeddingChange() 209 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_CLOSE, 0) in testShouldAnimate_containsAnimationOptions_disableAnimOptionsPerChange() 229 final TransitionInfo info = new TransitionInfoBuilder(TRANSIT_CLOSE, 0) in testShouldAnimate_containsAnimationOptions_enableAnimOptionsPerChange()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/ |
D | SplitTransitionTests.java | 23 import static android.view.WindowManager.TRANSIT_CLOSE; 276 request = new TransitionRequestInfo(TRANSIT_CLOSE, newTask, null); in testMonitorInSplit() 282 info = new TransitionInfoBuilder(TRANSIT_CLOSE, 0) in testMonitorInSplit() 284 .addChange(TRANSIT_CLOSE, newTask) in testMonitorInSplit() 444 TransitionRequestInfo request = new TransitionRequestInfo(TRANSIT_CLOSE, mSideChild, null); in testDismissFromAppFinish() 454 TransitionInfo info = new TransitionInfoBuilder(TRANSIT_CLOSE, 0) in testDismissFromAppFinish() 456 .addChange(TRANSIT_CLOSE, mSideChild) in testDismissFromAppFinish()
|
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/ |
D | TransitionUtil.java | 26 import static android.view.WindowManager.TRANSIT_CLOSE; 67 return type == TRANSIT_CLOSE || type == TRANSIT_TO_BACK; in isClosingType() 82 return mode == TRANSIT_CLOSE || mode == TRANSIT_TO_BACK; in isClosingMode() 151 case WindowManager.TRANSIT_CLOSE: in newModeToLegacyMode()
|
/frameworks/base/core/java/android/window/ |
D | TaskFragmentOrganizer.java | 20 import static android.view.WindowManager.TRANSIT_CLOSE; 87 public static final int TASK_FRAGMENT_TRANSIT_CLOSE = TRANSIT_CLOSE;
|
D | TransitionInfo.java | 31 import static android.view.WindowManager.TRANSIT_CLOSE; 81 TRANSIT_CLOSE, 482 case TRANSIT_CLOSE: return "CLOSE"; in modeToString()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | TransitionAnimationHelper.java | 21 import static android.view.WindowManager.TRANSIT_CLOSE; 89 } else if (type == TRANSIT_CLOSE) { in loadAttributeAnimation() 131 } else if (type == TRANSIT_CLOSE) { in loadAttributeAnimation() 223 return TRANSIT_CLOSE; in getTransitionTypeFromInfo()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SnapshotController.java | 21 import static android.view.WindowManager.TRANSIT_CLOSE; 208 return type == TRANSIT_CLOSE || type == TRANSIT_TO_BACK; in isTransitionClose()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopTasksTransitionObserver.kt | 88 WindowManager.TRANSIT_CLOSE -> in <lambda>()
|
D | DragToDesktopTransitionHandler.kt | 26 import android.view.WindowManager.TRANSIT_CLOSE in <lambda>() 489 if (change.mode == TRANSIT_CLOSE) { in <lambda>()
|
D | DesktopModeLoggerTransitionObserver.kt | 352 transitionInfo.type == WindowManager.TRANSIT_CLOSE -> ExitReason.TASK_FINISHED in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | FreeformTaskTransitionHandler.java | 118 final int type = WindowManager.TRANSIT_CLOSE; in startRemoveTransition() 154 case WindowManager.TRANSIT_CLOSE: in startAnimation()
|
D | FreeformTaskTransitionObserver.java | 106 case WindowManager.TRANSIT_CLOSE: { in onTransitionReady()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeLoggerTransitionObserverTest.kt | 26 import android.view.WindowManager.TRANSIT_CLOSE 541 val change = createChange(TRANSIT_CLOSE, createTaskInfo(1, WINDOWING_MODE_FULLSCREEN)) in transitClose_logTaskRemovedAndExitReasonTaskFinished_sessionIdNull() 542 val transitionInfo = TransitionInfoBuilder(TRANSIT_CLOSE).addChange(change).build() in transitClose_logTaskRemovedAndExitReasonTaskFinished_sessionIdNull() 601 val change = createChange(TRANSIT_CLOSE, createTaskInfo(2, WINDOWING_MODE_FREEFORM)) in sessionAlreadyStarted_freeformTaskRemoved_logsTaskRemoved() 602 val transitionInfo = TransitionInfoBuilder(TRANSIT_CLOSE, 0).addChange(change).build() in sessionAlreadyStarted_freeformTaskRemoved_logsTaskRemoved()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | RemoteAnimationRunnerCompat.java | 20 import static android.view.WindowManager.TRANSIT_CLOSE; 150 if (mode == TRANSIT_CLOSE || mode == TRANSIT_TO_BACK) { in wrap()
|
D | ActivityTransitionAnimator.kt | 43 import android.view.WindowManager.TRANSIT_CLOSE 401 mTypeSet = intArrayOf(TRANSIT_CLOSE, TRANSIT_TO_BACK) in registerEphemeralReturnAnimation() 406 mModes = intArrayOf(TRANSIT_CLOSE, TRANSIT_TO_BACK) in registerEphemeralReturnAnimation() 663 mModes = intArrayOf(TRANSIT_CLOSE, TRANSIT_TO_BACK) in register()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
D | BubblesTransitionObserverTest.java | 21 import static android.view.WindowManager.TRANSIT_CLOSE; 149 info = createTransitionInfo(TRANSIT_CLOSE, createTaskInfo(3)); in testOnTransitionReady_notOpening_skip()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipTransition.java | 20 import static android.view.WindowManager.TRANSIT_CLOSE; 505 boolean isPipClosed = info.getType() == TRANSIT_CLOSE in isRemovePipTransition() 506 && pipChange.getMode() == TRANSIT_CLOSE; in isRemovePipTransition()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/ |
D | TaskViewTransitions.java | 20 import static android.view.WindowManager.TRANSIT_CLOSE; 230 mPending.add(new PendingTransition(TRANSIT_CLOSE, wct, taskView, null /* cookie */)); in closeTaskView()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingAnimationRunner.java | 20 import static android.view.WindowManager.TRANSIT_CLOSE; 618 if (change.getMode() == TRANSIT_CLOSE) { in prepareForJumpCut()
|