Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DTransitionInfoBuilder.java53 public TransitionInfoBuilder addChange(@WindowManager.TransitionType int mode, in addChange() method in TransitionInfoBuilder
62 return addChange(change); in addChange()
66 public TransitionInfoBuilder addChange(@WindowManager.TransitionType int mode, in addChange() method in TransitionInfoBuilder
68 return addChange(mode, flags, taskInfo, null /* activityComponent */); in addChange()
71 public TransitionInfoBuilder addChange(@WindowManager.TransitionType int mode, in addChange() method in TransitionInfoBuilder
73 return addChange(mode, TransitionInfo.FLAG_NONE, taskInfo); in addChange()
77 public TransitionInfoBuilder addChange(@WindowManager.TransitionType int mode, in addChange() method in TransitionInfoBuilder
79 return addChange(mode, TransitionInfo.FLAG_NONE, null /* taskinfo */, activityComponent); in addChange()
82 public TransitionInfoBuilder addChange(@WindowManager.TransitionType int mode) { in addChange() method in TransitionInfoBuilder
83 return addChange(mode, TransitionInfo.FLAG_NONE, null /* taskInfo */); in addChange()
[all …]
DShellTransitionTests.java190 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testBasicTransitionFlow()
235 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testNonDefaultHandler()
274 .addChange(TRANSIT_CHANGE).build(); in testNonDefaultHandler()
306 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testRequestRemoteTransition()
325 .addChange(TRANSIT_OPEN, in testTransitionFilterActivityType()
330 .addChange(TRANSIT_OPEN, createTaskInfo( in testTransitionFilterActivityType()
345 .addChange(TRANSIT_OPEN).build(); in testTransitionFilterMultiRequirement()
349 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testTransitionFilterMultiRequirement()
364 .addChange(TRANSIT_OPEN).build(); in testTransitionFilterNotRequirement()
368 .addChange(TRANSIT_OPEN).addChange(TRANSIT_CLOSE).build(); in testTransitionFilterNotRequirement()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingControllerTests.java108 .addChange(embeddedOpen) in testStartAnimation_containsNonActivityEmbeddingChange()
109 .addChange(nonEmbeddedOpen) in testStartAnimation_containsNonActivityEmbeddingChange()
126 .addChange(embeddedOpen) in testStartAnimation_containsNonActivityEmbeddingChange()
127 .addChange(embeddedOpen2) in testStartAnimation_containsNonActivityEmbeddingChange()
128 .addChange(nonEmbeddedClose) in testStartAnimation_containsNonActivityEmbeddingChange()
141 .addChange(createEmbeddedChange(TASK_BOUNDS, TASK_BOUNDS, TASK_BOUNDS)) in testStartAnimation_containsOnlyFillTaskActivityEmbeddingChange()
159 .addChange(createEmbeddedChange( in testStartAnimation_containsActivityEmbeddingSplitChange()
177 .addChange(createEmbeddedChange(TASK_BOUNDS, EMBEDDED_LEFT_BOUNDS, TASK_BOUNDS)) in testStartAnimation_containsChangeEnterActivityEmbeddingSplit()
194 .addChange(createEmbeddedChange(EMBEDDED_RIGHT_BOUNDS, TASK_BOUNDS, TASK_BOUNDS)) in testStartAnimation_containsChangeExitActivityEmbeddingSplit()
210 .addChange(createEmbeddedChange(EMBEDDED_RIGHT_BOUNDS, TASK_BOUNDS, TASK_BOUNDS)) in testShouldAnimate_containsAnimationOptions_disableAnimOptionsPerChange()
[all …]
DActivityEmbeddingAnimationRunnerTests.java77 .addChange(createChange(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) in testStartAnimation()
103 .addChange(createChange(FLAG_IS_BEHIND_STARTING_WINDOW)) in testChangesBehindStartingWindow()
118 .addChange(createChange(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) in testTransitionTypeDragResize()
133 .addChange(createChange(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) in testInvalidCustomAnimation_disableAnimationOptionsPerChange()
151 .addChange(createChange(FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY)) in testInvalidCustomAnimation_enableAnimationOptionsPerChange()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeLoggerTransitionObserverTest.kt125 val transitionInfo = TransitionInfoBuilder(TRANSIT_OPEN, 0).addChange(change).build() in transitOpen_notFreeformWindow_doesNotLogTaskAddedOrSessionEnter()
136 val transitionInfo = TransitionInfoBuilder(TRANSIT_OPEN, 0).addChange(change).build() in transitOpen_logTaskAddedAndEnterReasonAppFreeformIntent()
154 .addChange(change) in transitEndDragToDesktop_logTaskAddedAndEnterReasonAppHandleDrag()
172 .addChange(change) in transitEnterDesktopByButtonTap_logTaskAddedAndEnterReasonButtonTap()
190 .addChange(change) in transitEnterDesktopFromAppFromOverview_logTaskAddedAndEnterReasonAppFromOverview()
208 .addChange(change) in transitEnterDesktopFromKeyboardShortcut_logTaskAddedAndEnterReasonKeyboardShortcut()
224 val transitionInfo = TransitionInfoBuilder(TRANSIT_TO_FRONT, 0).addChange(change).build() in transitToFront_logTaskAddedAndEnterReasonOverview()
246 .addChange(previousChange) in transitToFront_previousTransitionExitToOverview_logTaskAddedAndEnterReasonOverview()
260 val transitionInfo = TransitionInfoBuilder(TRANSIT_TO_FRONT, 0).addChange(change).build() in transitToFront_previousTransitionExitToOverview_logTaskAddedAndEnterReasonOverview()
282 .addChange(previousChange) in transitChange_previousTransitionExitToOverview_logTaskAddedAndEnterReasonOverview()
[all …]
DDesktopTasksLimiterTest.kt113 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()
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()
DDragToDesktopTransitionHandlerTest.kt338 addChange( // Home. in createTransitionInfo()
346 addChange( // Dragged Task. in createTransitionInfo()
352 addChange( // Wallpaper. in createTransitionInfo()
DExitDesktopTaskTransitionHandlerTest.java150 info.addChange(change); in createTransitionInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/
DRemoteTransitionTest.java73 .addChange(TRANSIT_CHANGE, FLAG_SHOW_WALLPAPER, in testLegacyTargetExtract()
76 .addChange(TRANSIT_CLOSE, FLAG_IN_TASK_WITH_EMBEDDED_ACTIVITY, null /* taskInfo */) in testLegacyTargetExtract()
77 .addChange(TRANSIT_CLOSE, 0 /* flags */, in testLegacyTargetExtract()
79 .addChange(TRANSIT_OPEN, FLAG_IS_WALLPAPER, null /* taskInfo */) in testLegacyTargetExtract()
80 .addChange(TRANSIT_CHANGE, FLAG_IS_DIVIDER_BAR, null /* taskInfo */) in testLegacyTargetExtract()
118 .addChange(TRANSIT_CHANGE, FLAG_TRANSLUCENT,
141 TransitionInfoBuilder addChange(@WindowManager.TransitionType int mode,
149 mInfo.addChange(change);
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/
DFreeformTaskTransitionObserverTest.java99 .addChange(change).build(); in testCreatesWindowDecorOnOpenTransition_freeform()
116 .addChange(change).build(); in testPreparesWindowDecorOnCloseTransition_freeform()
133 .addChange(change).build(); in testDoesntCloseWindowDecorDuringCloseTransition()
149 .addChange(change).build(); in testClosesWindowDecorAfterCloseTransition()
169 .addChange(change1).build(); in testClosesMergedWindowDecorationAfterTransitionFinishes()
181 .addChange(change2).build(); in testClosesMergedWindowDecorationAfterTransitionFinishes()
200 .addChange(change1).build(); in testClosesAllWindowDecorsOnTransitionMergeAfterCloseTransitions()
212 .addChange(change2).build(); in testClosesAllWindowDecorsOnTransitionMergeAfterCloseTransitions()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitTransitionTests.java181 .addChange(TRANSIT_OPEN, newTask) in testLaunchToSide()
182 .addChange(TRANSIT_CHANGE, reparentTask) in testLaunchToSide()
223 .addChange(TRANSIT_OPEN, mMainChild) in testRemoteTransitionConsumed()
264 .addChange(TRANSIT_TO_FRONT, newTask) in testMonitorInSplit()
265 .addChange(TRANSIT_TO_BACK, mSideChild) in testMonitorInSplit()
283 .addChange(TRANSIT_TO_FRONT, mSideChild) in testMonitorInSplit()
284 .addChange(TRANSIT_CLOSE, newTask) in testMonitorInSplit()
401 .addChange(TRANSIT_TO_BACK, mMainChild) in testDismissFromMultiWindowSupport()
402 .addChange(TRANSIT_TO_BACK, mSideChild) in testDismissFromMultiWindowSupport()
422 .addChange(TRANSIT_TO_BACK, mMainChild) in testDismissSnap()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
DTaskStackTransitionObserverTest.kt105 TransitionInfoBuilder(WindowManager.TRANSIT_OPEN, 0).addChange(change).build() in taskCreated_freeformWindow_listenerNotified()
128 TransitionInfoBuilder(WindowManager.TRANSIT_OPEN, 0).addChange(change).build() in taskCreated_fullscreenWindow_listenerNotNotified()
157 .addChange(freeformOpenChange) in taskCreated_freeformWindowOnTopOfFreeform_listenerNotified()
158 .addChange(freeformReorderChange) in taskCreated_freeformWindowOnTopOfFreeform_listenerNotified()
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigBuilder.java137 config.addChange(change); in build()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
DUnfoldTransitionHandlerTest.java448 transitionInfo.addChange(change); in createUnfoldTransitionInfo()
459 transitionInfo.addChange(change); in createDisplayResizeTransitionInfo()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskFragmentOrganizerController.java1108 transaction.addChange(prepareChange(new PendingTaskFragmentEvent.Builder( in dispatchPendingEvents()
1114 transaction.addChange(prepareChange(event)); in dispatchPendingEvents()
1212 transaction.addChange(prepareChange(new PendingTaskFragmentEvent.Builder( in dispatchPendingInfoChangedEvent()
1216 transaction.addChange(prepareChange(event)); in dispatchPendingInfoChangedEvent()
DTransition.java2910 out.addChange(change); in calculateTransitionInfo()
/frameworks/base/core/java/android/window/
DTaskFragmentTransaction.java75 public void addChange(@Nullable Change change) { in addChange() method in TaskFragmentTransaction
DTransitionInfo.java392 public void addChange(@NonNull Change change) { in addChange() method in TransitionInfo
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubblesTransitionObserverTest.java231 .addChange(change).build(); in createTransitionInfo()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DSplitControllerTest.java1119 transaction.addChange(new TaskFragmentTransaction.Change(TYPE_TASK_FRAGMENT_APPEARED) in testOnTransactionReady_taskFragmentAppeared()
1134 transaction.addChange(new TaskFragmentTransaction.Change(TYPE_TASK_FRAGMENT_INFO_CHANGED) in testOnTransactionReady_taskFragmentInfoChanged()
1149 transaction.addChange(new TaskFragmentTransaction.Change(TYPE_TASK_FRAGMENT_VANISHED) in testOnTransactionReady_taskFragmentVanished()
1166 transaction.addChange(new TaskFragmentTransaction.Change( in testOnTransactionReady_taskFragmentParentInfoChanged()
1187 transaction.addChange(new TaskFragmentTransaction.Change(TYPE_TASK_FRAGMENT_ERROR) in testOnTransactionReady_taskFragmentParentError()
1203 transaction.addChange(new TaskFragmentTransaction.Change(TYPE_ACTIVITY_REPARENTED_TO_TASK) in testOnTransactionReady_activityReparentedToTask()
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java124 void addChange(CompatChange change) { in addChange() method in CompatConfig
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultMixedHandler.java523 displayPart.addChange(change); in animatePendingSplitWithDisplayChange()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2425 private static ArrayList<ChangeRec> addChange(ArrayList<ChangeRec> reports, in addChange() method in AppOpsService
2461 ArrayList<ChangeRec> changed = addChange(reports, op, uid, packageName, previousMode); in addCallbacks()
2532 allChanges = addChange(allChanges, code, uidState.uid, in resetAllModes()
2591 allChanges = addChange(allChanges, curOp.op, uid, packageName, in resetAllModes()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageCoordinator.java3548 info.addChange(barChange); in addDividerBarToTransition()
/frameworks/base/core/api/
Dtest-current.txt4273 method public void addChange(@Nullable android.window.TaskFragmentTransaction.Change);