Home
last modified time | relevance | path

Searched refs:rootTask2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowOrganizerTests.java309 final Task rootTask2 = createRootTask(); in testUnregisterOrganizerReturnsRegistrationToPrevious() local
310 final Task task2 = createTask(rootTask2); in testUnregisterOrganizerReturnsRegistrationToPrevious()
319 assertContainsTasks(existingTasks, rootTask, rootTask2, rootTask3); in testUnregisterOrganizerReturnsRegistrationToPrevious()
330 assertContainsTasks(existingTasks2, rootTask, rootTask2, rootTask3); in testUnregisterOrganizerReturnsRegistrationToPrevious()
335 assertTaskVanished(organizer, true /* expectVanished */, rootTask, rootTask2, rootTask3); in testUnregisterOrganizerReturnsRegistrationToPrevious()
336 assertTrue(rootTask2.isOrganized()); in testUnregisterOrganizerReturnsRegistrationToPrevious()
352 final Task rootTask2 = createRootTask(); in testUnregisterOrganizer_removesTasksCreatedByIt() local
353 rootTask2.mCreatedByOrganizer = true; in testUnregisterOrganizer_removesTasksCreatedByIt()
354 final Task task2 = createTask(rootTask2); in testUnregisterOrganizer_removesTasksCreatedByIt()
381 assertEquals(organizer, rootTask2.mTaskOrganizer); in testUnregisterOrganizer_removesTasksCreatedByIt()
[all …]
DTaskDisplayAreaTests.java218 final Task rootTask2 = createTask(mDisplayContent); in testRootTaskPositionChildAt() local
223 final int rootTask2Pos = taskContainer.mChildren.indexOf(rootTask2); in testRootTaskPositionChildAt()
230 assertEquals(taskContainer.mChildren.get(rootTask2Pos), rootTask2); in testRootTaskPositionChildAt() local
235 assertEquals(taskContainer.mChildren.get(rootTask2Pos), rootTask2); in testRootTaskPositionChildAt() local
706 final Task rootTask2 = createTaskWithActivity(display.getDefaultTaskDisplayArea(), in testRootTaskShouldNotBeFocusedAfterMovingToBackOrRemoving() local
711 rootTask2.moveToFront("moveRootTask2ToFront"); in testRootTaskShouldNotBeFocusedAfterMovingToBackOrRemoving()
712 assertTrue(rootTask2.isFocusedRootTaskOnDisplay()); in testRootTaskShouldNotBeFocusedAfterMovingToBackOrRemoving()
715 rootTask2.moveToBack("moveRootTask2ToBack", null /* task */); in testRootTaskShouldNotBeFocusedAfterMovingToBackOrRemoving()
720 assertTrue(rootTask2.isFocusedRootTaskOnDisplay()); in testRootTaskShouldNotBeFocusedAfterMovingToBackOrRemoving()
DRootTaskTests.java217 final Task rootTask2 = createTask(dc); in testReparent() local
224 final int stack2PositionInParent = rootTask1.getParent().mChildren.indexOf(rootTask2); in testReparent()
456 final Task rootTask2 = createTaskForShouldBeVisibleTest(taskDisplayArea, in testMoveRootTaskToBackIncludingParent() local
461 rootTask2.moveToBack("testMoveRootTaskToBackIncludingParent", rootTask2.getTopMostTask()); in testMoveRootTaskToBackIncludingParent()
462 verify(rootTask2).positionChildAtBottom(any(), eq(false) /* includingParents */); in testMoveRootTaskToBackIncludingParent()
466 rootTask2.moveToBack("testMoveRootTaskToBackIncludingParent", rootTask2.getTopMostTask()); in testMoveRootTaskToBackIncludingParent()
467 verify(rootTask2).positionChildAtBottom(any(), eq(true) /* includingParents */); in testMoveRootTaskToBackIncludingParent()
1228 final Task rootTask2 = createTaskForShouldBeVisibleTest(display.getDefaultTaskDisplayArea(), in testFinishCurrentActivity() local
1233 rootTask2.getTopNonFinishingActivity().setVisibleRequested(true); in testFinishCurrentActivity()
1234 final ActivityRecord activity2 = finishTopActivity(rootTask2); in testFinishCurrentActivity()
DTaskTests.java255 final Task rootTask2 = createTask(dc); in testReparent_BetweenDisplays() local
256 final Task task2 = createTaskInRootTask(rootTask2, 0 /* userId */); in testReparent_BetweenDisplays()
259 task.reparent(rootTask2, 0, false /* moveParents */, "testReparent_BetweenDisplays"); in testReparent_BetweenDisplays()
260 assertEquals(rootTask2, task.getParent()); in testReparent_BetweenDisplays()
DDisplayContentTests.java2858 final Task rootTask2 = taskDisplayArea.createRootTask(WINDOWING_MODE_FULLSCREEN, in removeRootTaskTests() local
2865 final Task task2 = new TaskBuilder(mSupervisor).setParentTask(rootTask2).build(); in removeRootTaskTests()
2877 taskDisplayArea.removeRootTask(rootTask2); in removeRootTaskTests()