Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DShellTaskOrganizerTests.java109 public void onTaskAppeared(RunningTaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared() method in ShellTaskOrganizerTests.TrackingTaskListener
175 mOrganizer.onTaskAppeared(taskInfo, taskLeash); in testTaskLeashReleasedAfterVanished()
219 mOrganizer.onTaskAppeared(taskInfo, /* leash= */ null); in testAppearedVanished()
229 mOrganizer.onTaskAppeared(taskInfo, null); in testAddListenerExistingTasks()
239 mOrganizer.onTaskAppeared(taskInfo1, null); in testAddListenerForMultipleTypes()
241 mOrganizer.onTaskAppeared(taskInfo2, null); in testAddListenerForMultipleTypes()
256 mOrganizer.onTaskAppeared(taskInfo1, /* leash= */ null); in testRemoveListenerForMultipleTypes()
258 mOrganizer.onTaskAppeared(taskInfo2, /* leash= */ null); in testRemoveListenerForMultipleTypes()
280 mOrganizer.onTaskAppeared(taskInfo, /* leash= */ null); in testWindowingModeChange()
296 mOrganizer.onTaskAppeared(task1, /* leash= */ null); in testAddListenerForTaskId_afterTypeListener()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
DUnfoldAnimationControllerTest.java114 mUnfoldAnimationController.onTaskAppeared(taskInfo, mLeash); in testAppearedMatchingTask_appliesUnfoldProgress()
129 mUnfoldAnimationController.onTaskAppeared(taskInfo1, mLeash); in testAppearedMatchingTaskTwoDifferentAnimators_appliesUnfoldProgressToBoth()
130 mUnfoldAnimationController.onTaskAppeared(taskInfo2, mLeash); in testAppearedMatchingTaskTwoDifferentAnimators_appliesUnfoldProgressToBoth()
143 mUnfoldAnimationController.onTaskAppeared(taskInfo, mLeash); in testAppearedNonMatchingTask_doesNotApplyUnfoldProgress()
155 mUnfoldAnimationController.onTaskAppeared(taskInfo, mLeash); in testAppearedAndChangedToNonMatchingTask_doesNotApplyUnfoldProgress()
169 mUnfoldAnimationController.onTaskAppeared(taskInfo, mLeash); in testAppearedAndChangedToNonMatchingTaskAndBack_appliesUnfoldProgress()
185 mUnfoldAnimationController.onTaskAppeared(taskInfo, mLeash); in testAppearedNonMatchingTaskAndChangedToMatching_appliesUnfoldProgress()
199 mUnfoldAnimationController.onTaskAppeared(taskInfo, mLeash); in testAppearedMatchingTaskAndChanged_appliesUnfoldProgress()
213 mUnfoldAnimationController.onTaskAppeared(taskInfo, mLeash); in testShellTransitionRunning_doesNotApplyUnfoldProgress()
224 mUnfoldAnimationController.onTaskAppeared(taskInfo, mLeash); in testApplicableTaskDisappeared_resetsSurface()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipTaskOrganizerTest.java170 mPipTaskOrganizer.onTaskAppeared(createTaskInfo(mComponent1, in onTaskAppeared_updatesAspectRatio()
178 mPipTaskOrganizer.onTaskAppeared(createTaskInfo(mComponent1, createPipParams(null)), in onTaskAppeared_updatesLastPipComponentName()
188 mPipTaskOrganizer.onTaskAppeared( in onTaskAppeared_updatesOverrideMinSize()
199 mPipTaskOrganizer.onTaskAppeared(createTaskInfo(mComponent1, in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio()
217 mPipTaskOrganizer.onTaskAppeared(createTaskInfo(mComponent1, in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()
230 mPipTaskOrganizer.onTaskAppeared(createTaskInfo(mComponent1, in onTaskInfoChanged_inPip_updatesLastPipComponentName()
242 mPipTaskOrganizer.onTaskAppeared(createTaskInfo(mComponent1, in onTaskInfoChanged_inPip_updatesOverrideMinSize()
255 mPipTaskOrganizer.onTaskAppeared(createTaskInfo(mComponent1, in onTaskVanished_clearsPipBounds()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitTransitionTests.java137 mMainStage.onTaskAppeared(new TestRunningTaskInfoBuilder().build(), createMockSurface()); in setup()
141 mSideStage.onTaskAppeared(new TestRunningTaskInfoBuilder().build(), createMockSurface()); in setup()
184 mSideStage.onTaskAppeared(newTask, createMockSurface()); in testLaunchToSide()
185 mMainStage.onTaskAppeared(reparentTask, createMockSurface()); in testLaunchToSide()
205 mMainStage.onTaskAppeared(mMainChild, createMockSurface()); in testLaunchPair()
206 mSideStage.onTaskAppeared(mSideChild, createMockSurface()); in testLaunchPair()
231 mMainStage.onTaskAppeared(mMainChild, createMockSurface()); in testRemoteTransitionConsumed()
267 mSideStage.onTaskAppeared(newTask, createMockSurface()); in testMonitorInSplit()
387 mMainStage.onTaskAppeared(mMainChild, mock(SurfaceControl.class)); in testEnterRecentsAndRestore()
388 mSideStage.onTaskAppeared(mSideChild, mock(SurfaceControl.class)); in testEnterRecentsAndRestore()
[all …]
DStageTaskListenerTests.java102 mStageTaskListener.onTaskAppeared(mRootTask, mSurfaceControl); in setup()
129 mStageTaskListener.onTaskAppeared(childTask, mSurfaceControl); in testChildTaskAppeared()
175 mStageTaskListener.onTaskAppeared(childTask, mSurfaceControl); in testEvictAllChildren()
DMainStageTests.java67 mMainStage.onTaskAppeared(mRootTaskInfo, mRootLeash); in setup()
DSideStageTests.java72 mSideStage.onTaskAppeared(mRootTask, mRootLeash); in setup()
DSplitTestUtils.java92 onTaskAppeared(mRootTask, mRootLeash); in TestStageCoordinator()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/taskview/
DTaskViewTest.java181 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testOnTaskAppeared_noSurface_legacyTransitions()
193 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testOnTaskAppeared_withSurface_legacyTransitions()
214 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testSurfaceCreated_withTask_legacyTransitions()
238 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testSurfaceDestroyed_withTask_shouldNotHideTask_legacyTransitions()
250 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testSurfaceDestroyed_withTask_legacyTransitions()
261 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testOnReleased_legacyTransitions()
273 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testOnTaskVanished_legacyTransitions()
283 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testOnBackPressedOnTaskRoot_legacyTransitions()
292 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testSetOnBackPressedOnTaskRoot_legacyTransitions()
299 mTaskViewTaskController.onTaskAppeared(mTaskInfo, mLeash); in testUnsetOnBackPressedOnTaskRoot_legacyTransitions()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
DUnfoldAnimationController.java101 public void onTaskAppeared(RunningTaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared() method in UnfoldAnimationController
109 animator.onTaskAppeared(taskInfo, leash); in onTaskAppeared()
143 currentAnimator.onTaskAppeared(taskInfo, leash); in onTaskInfoChanged()
DUnfoldTransitionHandler.java136 animator.onTaskAppeared(change.getTaskInfo(), change.getLeash()); in startAnimation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowOrganizerTests.java165 verify(organizer).onTaskAppeared(any(RunningTaskInfo.class), any(SurfaceControl.class)); in testAppearVanish()
182 .onTaskAppeared(any(RunningTaskInfo.class), any(SurfaceControl.class)); in testAppearWaitsForVisibility()
188 verify(organizer).onTaskAppeared(any(RunningTaskInfo.class), any(SurfaceControl.class)); in testAppearWaitsForVisibility()
207 .onTaskAppeared(any(RunningTaskInfo.class), any(SurfaceControl.class)); in testNoVanishedIfNoAppear()
221 .onTaskAppeared(any(RunningTaskInfo.class), any(SurfaceControl.class)); in testTaskNoDraw()
239 verify(organizer).onTaskAppeared(any(RunningTaskInfo.class), any(SurfaceControl.class)); in testClearOrganizer()
258 verify(organizer).onTaskAppeared(any(RunningTaskInfo.class), any(SurfaceControl.class)); in testRemoveWithOrganizerRemovesTask()
276 verify(organizer).onTaskAppeared(any(RunningTaskInfo.class), any(SurfaceControl.class)); in testNoRemoveWithOrganizerNoRemoveTask()
294 verify(organizer).onTaskAppeared(any(RunningTaskInfo.class), any(SurfaceControl.class)); in testUnregisterOrganizer()
320 verify(organizer, times(0)).onTaskAppeared(any(RunningTaskInfo.class), in testUnregisterOrganizerReturnsRegistrationToPrevious()
[all …]
DActivityOptionsTest.java166 public void onTaskAppeared(RunningTaskInfo taskInfo, SurfaceControl leash) { in testTransferLaunchCookie()
/frameworks/base/core/java/android/window/
DTaskOrganizer.java130 public void onTaskAppeared(@NonNull ActivityManager.RunningTaskInfo taskInfo, in onTaskAppeared() method in TaskOrganizer
299 public void onTaskAppeared(ActivityManager.RunningTaskInfo taskInfo, SurfaceControl leash) {
300 mExecutor.execute(() -> TaskOrganizer.this.onTaskAppeared(taskInfo, leash));
DITaskOrganizer.aidl64 void onTaskAppeared(in ActivityManager.RunningTaskInfo taskInfo, in SurfaceControl leash); in onTaskAppeared() method
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DShellTaskOrganizer.java103 default void onTaskAppeared(RunningTaskInfo taskInfo, SurfaceControl leash) {} in onTaskAppeared() method
257 onTaskAppeared(info); in registerOrganizer()
346 listener.onTaskAppeared(data.getTaskInfo(), data.getLeash()); in addListenerForType()
485 public void onTaskAppeared(RunningTaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared() method in ShellTaskOrganizer
490 onTaskAppeared(new TaskAppearedInfo(taskInfo, leash)); in onTaskAppeared()
494 private void onTaskAppeared(TaskAppearedInfo info) { in onTaskAppeared() method in ShellTaskOrganizer
501 listener.onTaskAppeared(info.getTaskInfo(), info.getLeash()); in onTaskAppeared()
504 mUnfoldAnimationController.onTaskAppeared(info.getTaskInfo(), info.getLeash()); in onTaskAppeared()
659 newListener.onTaskAppeared(taskInfo, leash); in updateTaskListenerIfNeeded()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewBase.java48 default void onTaskAppeared(ActivityManager.RunningTaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared() method
DTaskViewTaskController.java344 public void onTaskAppeared(ActivityManager.RunningTaskInfo taskInfo, in onTaskAppeared() method in TaskViewTaskController
372 mTaskViewBase.onTaskAppeared(taskInfo, leash); in onTaskAppeared()
701 mTaskViewBase.onTaskAppeared(mTaskInfo, mTaskLeash); in prepareOpenAnimationInternal()
DTaskView.java122 public void onTaskAppeared(ActivityManager.RunningTaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared() method in TaskView
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DUnfoldTaskAnimator.java61 default void onTaskAppeared(TaskInfo taskInfo, SurfaceControl leash) {} in onTaskAppeared() method
DFullscreenUnfoldTaskAnimator.java125 public void onTaskAppeared(TaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared() method in FullscreenUnfoldTaskAnimator
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskOrganizerMultiWindowTest.java62 public void onTaskAppeared(ActivityManager.RunningTaskInfo ti, SurfaceControl leash) { in onTaskAppeared() method in TaskOrganizerMultiWindowTest.Organizer
/frameworks/base/services/core/java/com/android/server/wm/
DTaskOrganizerController.java117 void onTaskAppeared(Task task) { in onTaskAppeared() method in TaskOrganizerController.TaskOrganizerCallbacks
121 mTaskOrganizer.onTaskAppeared(taskInfo, prepareLeash(task, in onTaskAppeared()
273 mOrganizerState.mOrganizer.onTaskAppeared(task); in dispatchPendingEvent()
799 void onTaskAppeared(ITaskOrganizer organizer, Task task) { in onTaskAppeared() method in TaskOrganizerController
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/
DFreeformTaskListener.java83 public void onTaskAppeared(RunningTaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared() method in FreeformTaskListener
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/fullscreen/
DFullscreenTaskListener.java88 public void onTaskAppeared(RunningTaskInfo taskInfo, SurfaceControl leash) { in onTaskAppeared() method in FullscreenTaskListener

12