Home
last modified time | relevance | path

Searched refs:TRANSIT_CHANGE (Results 1 – 25 of 50) sorted by relevance

12

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/taskview/
H A DTaskViewTransitionsTest.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
109 assertThat(mTaskViewTransitions.findPending(mTaskViewTaskController, TRANSIT_CHANGE)) in testSetTaskBounds_taskNotVisible_noTransaction()
136 assertThat(mTaskViewTransitions.findPending(mTaskViewTaskController, TRANSIT_CHANGE)) in testSetTaskBounds_taskVisible_boundsChangeTransaction()
152 assertThat(mTaskViewTransitions.findPending(mTaskViewTaskController, TRANSIT_CHANGE)) in testSetTaskBounds_taskVisibleWithPendingOpen_noTransaction()
179 assertThat(mTaskViewTransitions.findPending(mTaskViewTaskController, TRANSIT_CHANGE)) in testSetTaskBounds_taskVisibleWithPendingChange_transition()
188 .filter(pendingTransition -> pendingTransition.mType == TRANSIT_CHANGE) in testSetTaskBounds_taskVisibleWithPendingChange_transition()
217 mTaskViewTransitions.findPending(mTaskViewTaskController, TRANSIT_CHANGE); in testSetTaskBounds_sameBounds_noTransaction()
226 .filter(pendingTransition -> pendingTransition.mType == TRANSIT_CHANGE) in testSetTaskBounds_sameBounds_noTransaction()
238 mTaskViewTransitions.findPending(mTaskViewTaskController, TRANSIT_CHANGE); in testSetTaskBounds_sameBounds_noTransaction()
245 mTaskViewTransitions.findPending(mTaskViewTaskController, TRANSIT_CHANGE); in testSetTaskBounds_sameBounds_noTransaction()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/
H A DRemoteTransitionTest.java24 import static android.view.WindowManager.TRANSIT_CHANGE;
72 .addChange(TRANSIT_CHANGE, FLAG_SHOW_WALLPAPER, in testLegacyTargetExtract()
79 .addChange(TRANSIT_CHANGE, FLAG_IS_DIVIDER_BAR, null /* taskInfo */) in testLegacyTargetExtract()
117 .addChange(TRANSIT_CHANGE, FLAG_TRANSLUCENT,
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
H A DShellTransitionTests.java29 import static android.view.WindowManager.TRANSIT_CHANGE;
197 if (chg.getMode() == TRANSIT_CHANGE) { in testNonDefaultHandler()
256 TransitionInfo change = new TransitionInfoBuilder(TRANSIT_CHANGE) in testNonDefaultHandler()
257 .addChange(TRANSIT_CHANGE).build(); in testNonDefaultHandler()
721 .addChange(new ChangeBuilder(TRANSIT_CHANGE).setTask(taskInfo) in testShouldRotateSeamlessly()
730 .addChange(new ChangeBuilder(TRANSIT_CHANGE).setTask(taskInfo) in testShouldRotateSeamlessly()
751 .addChange(new ChangeBuilder(TRANSIT_CHANGE).setTask(taskInfo) in testShouldRotateSeamlessly()
758 displayChange = new ChangeBuilder(TRANSIT_CHANGE) in testShouldRotateSeamlessly()
984 if (chg.getMode() == TRANSIT_CHANGE) { in testObserverLifecycle_mergingAfterQueueing()
1009 TransitionInfo change = new TransitionInfoBuilder(TRANSIT_CHANGE) in testObserverLifecycle_mergingAfterQueueing()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
H A DUnfoldTransitionHandler.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
120 if (change.getTaskInfo() != null && (change.getMode() == TRANSIT_CHANGE in startAnimation()
180 if (info.getType() == TRANSIT_CHANGE) { in mergeAnimation()
201 return (request.getType() == TRANSIT_CHANGE in hasUnfold()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
H A DUnfoldTransitionHandlerTest.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
94 TransitionRequestInfo requestInfo = new TransitionRequestInfo(TRANSIT_CHANGE, in handleRequest_physicalDisplayChange_handlesTransition()
108 TransitionRequestInfo requestInfo = new TransitionRequestInfo(TRANSIT_CHANGE, in handleRequest_noPhysicalDisplayChange_doesNotHandleTransition()
214 return new TransitionRequestInfo(TRANSIT_CHANGE, in createUnfoldTransitionRequestInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DPhysicalDisplaySwitchTransitionLauncher.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
120 final Transition t = mTransitionController.requestTransitionIfNeeded(TRANSIT_CHANGE, in requestDisplaySwitchTransitionIfNeeded()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
H A DToggleResizeDesktopTaskTransitionHandler.kt26 import android.view.WindowManager.TRANSIT_CHANGE
133 !isWallpaper(c) && isValidTaskChange(c) && c.mode == TRANSIT_CHANGE
H A DDesktopTasksController.kt39 import android.view.WindowManager.TRANSIT_CHANGE
307 transitions.startTransition(TRANSIT_CHANGE, wct, null /* handler */)
325 transitions.startTransition(TRANSIT_CHANGE, wct, null /* handler */)
352 transitions.startTransition(TRANSIT_CHANGE, callbackWCT, null /* handler */)
458 transitions.startTransition(TRANSIT_CHANGE, wct, null /* handler */)
H A DExitDesktopTaskTransitionHandler.java109 if (change.getMode() == WindowManager.TRANSIT_CHANGE) { in startAnimation()
/aosp14/frameworks/base/core/java/android/window/
H A DTaskFragmentOrganizer.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
90 public static final int TASK_FRAGMENT_TRANSIT_CHANGE = TRANSIT_CHANGE;
H A DTransitionInfo.java30 import static android.view.WindowManager.TRANSIT_CHANGE;
77 TRANSIT_CHANGE
435 case TRANSIT_CHANGE: return "CHANGE"; in modeToString()
516 if (change.getMode() == TRANSIT_CHANGE) return false; in isIndependent()
522 if (parentChg.getMode() != TRANSIT_CHANGE) return false; in isIndependent()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
H A DVeiledResizeTaskPositionerTest.kt25 import android.view.WindowManager.TRANSIT_CHANGE
137 verify(mockTransitions, never()).startTransition(eq(TRANSIT_CHANGE), argThat { wct ->
220 verify(mockTransitions).startTransition(eq(TRANSIT_CHANGE), argThat { wct ->
247 verify(mockTransitions, never()).startTransition(eq(TRANSIT_CHANGE), argThat { wct ->
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
H A DActivityEmbeddingAnimationRunner.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
198 if (!isChangeTransition && change.getMode() == TRANSIT_CHANGE in createAnimationAdapters()
383 if (change.getMode() != TRANSIT_CHANGE in createChangeAnimationAdapters()
460 || change.getMode() == TRANSIT_CHANGE) { in createChangeAnimationAdapters()
520 if (change.getMode() != TRANSIT_CHANGE in shouldUseJumpCutForChangeTransition()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DVeiledResizeTaskPositioner.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
136 mTransitions.startTransition(TRANSIT_CHANGE, wct, this); in onDragPositioningEnd()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
H A DEnterDesktopTaskTransitionHandlerTest.java110 createChange(WindowManager.TRANSIT_CHANGE, taskId, WINDOWING_MODE_FREEFORM); in testEnterFreeformAnimation()
132 createChange(WindowManager.TRANSIT_CHANGE, taskId, WINDOWING_MODE_FREEFORM); in testTransitEnterDesktopModeAnimation()
H A DDesktopTasksControllerTest.kt30 import android.view.WindowManager.TRANSIT_CHANGE
348 val wct = getLatestWct(expectTransition = TRANSIT_CHANGE)
358 val wct = getLatestWct(expectTransition = TRANSIT_CHANGE)
376 with(getLatestWct(expectTransition = TRANSIT_CHANGE)) {
414 with(getLatestWct(expectTransition = TRANSIT_CHANGE)) {
436 with(getLatestWct(expectTransition = TRANSIT_CHANGE)) {
H A DExitDesktopTaskTransitionHandlerTest.java110 createChange(WindowManager.TRANSIT_CHANGE, taskId, WINDOWING_MODE_FULLSCREEN); in testTransitExitDesktopModeAnimation()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DPhysicalDisplaySwitchTransitionLauncherTest.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
111 verify(mTransitionController).requestTransitionIfNeeded(eq(TRANSIT_CHANGE), /* flags= */ in testDisplaySwitchAfterUnfoldToOpen_animationsEnabled_requestsTransition()
H A DAppTransitionTests.java21 import static android.view.WindowManager.TRANSIT_CHANGE;
198 mDc.prepareAppTransition(TRANSIT_CHANGE); in testTaskChangeWindowingMode()
218 mDc.prepareAppTransition(TRANSIT_CHANGE); in testTaskFragmentChange()
463 assertTrue(mDc.mAppTransition.containsTransitRequest(TRANSIT_CHANGE)); in testActivityRecordReparentedToTaskFragment()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/
H A DTransitionUtil.java25 import static android.view.WindowManager.TRANSIT_CHANGE;
79 if (change.getMode() == TRANSIT_CHANGE && change.hasFlags(FLAG_IS_DISPLAY)) { in hasDisplayChange()
107 return change.getMode() == TRANSIT_CHANGE in isOrderOnly()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
H A DTaskViewTransitions.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
284 mPending.add(new PendingTransition(TRANSIT_CHANGE, wct, taskView, null /* cookie */)); in setTaskBounds()
380 } else if (chg.getMode() == TRANSIT_CHANGE) { in startAnimation()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DDefaultTransitionHandler.java39 import static android.view.WindowManager.TRANSIT_CHANGE;
215 if (change.getMode() != TRANSIT_CHANGE) continue; in getRotationAnimationHint()
354 if (mode == TRANSIT_CHANGE && change.hasFlags(FLAG_IS_DISPLAY)) { in startAnimation()
355 if (info.getType() == TRANSIT_CHANGE) { in startAnimation()
370 if (mode == TRANSIT_CHANGE) { in startAnimation()
592 if (change.getMode() == TRANSIT_CHANGE) continue; in isOnlyTranslucent()
687 } else if (changeMode == TRANSIT_CHANGE) { in loadAnimation()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
H A DSplitTransitionTests.java22 import static android.view.WindowManager.TRANSIT_CHANGE;
175 .addChange(TRANSIT_CHANGE, reparentTask) in testLaunchToSide()
366 .addChange(TRANSIT_CHANGE, mSideChild) in testDismissSnap()
398 .addChange(TRANSIT_CHANGE, mMainChild) in testDismissFromAppFinish()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
H A DSplitScreenTransitions.java19 import static android.view.WindowManager.TRANSIT_CHANGE;
138 if (mode == TRANSIT_CHANGE) { in playInternalAnimation()
202 } else if (mode == TRANSIT_CHANGE && change.getSnapshot() != null) { in playInternalAnimation()
398 IBinder transition = mTransitions.startTransition(TRANSIT_CHANGE, wct, handler); in startResizeTransition()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
H A DRecentsTransitionHandler.java21 import static android.view.WindowManager.TRANSIT_CHANGE;
530 if (request.getType() == TRANSIT_CHANGE && request.getDisplayChange() != null) { in handleMidTransitionRequest()
613 } else if (change.getMode() == TRANSIT_CHANGE) { in merge()
617 && info.getType() == TRANSIT_CHANGE) { in merge()

12