Searched refs:rootTask1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskDisplayAreaTests.java | 217 final Task rootTask1 = createTask(mDisplayContent); in testRootTaskPositionChildAt() local 220 final WindowContainer taskContainer = rootTask1.getParent(); in testRootTaskPositionChildAt() 222 final int rootTask1Pos = taskContainer.mChildren.indexOf(rootTask1); in testRootTaskPositionChildAt() 229 assertEquals(taskContainer.mChildren.get(rootTask1Pos), rootTask1); in testRootTaskPositionChildAt() local 234 assertEquals(taskContainer.mChildren.get(rootTask1Pos), rootTask1); in testRootTaskPositionChildAt() local 250 final Task rootTask1 = createTask(mDisplayContent); in testRootTaskPositionBelowPinnedRootTask() local 252 final WindowContainer taskContainer = rootTask1.getParent(); in testRootTaskPositionBelowPinnedRootTask() 254 final int rootTaskPos = taskContainer.mChildren.indexOf(rootTask1); in testRootTaskPositionBelowPinnedRootTask() 258 taskContainer.positionChildAt(WindowContainer.POSITION_TOP, rootTask1, false); in testRootTaskPositionBelowPinnedRootTask() 259 assertEquals(taskContainer.mChildren.get(rootTaskPos), rootTask1); in testRootTaskPositionBelowPinnedRootTask() local [all …]
|
D | RootTaskTests.java | 212 final Task rootTask1 = createTask(mDisplayContent); in testReparent() local 213 final Task task1 = createTaskInRootTask(rootTask1, 0 /* userId */); in testReparent() 221 rootTask1.reparent(dc.getDefaultTaskDisplayArea(), true /* onTop */); in testReparent() 222 assertEquals(dc, rootTask1.getDisplayContent()); in testReparent() 223 final int stack1PositionInParent = rootTask1.getParent().mChildren.indexOf(rootTask1); in testReparent() 224 final int stack2PositionInParent = rootTask1.getParent().mChildren.indexOf(rootTask2); in testReparent() 453 final Task rootTask1 = createTaskForShouldBeVisibleTest(taskDisplayArea, in testMoveRootTaskToBackIncludingParent() local 465 taskDisplayArea.removeRootTask(rootTask1); in testMoveRootTaskToBackIncludingParent() 1226 final Task rootTask1 = createTaskForShouldBeVisibleTest(display.getDefaultTaskDisplayArea(), in testFinishCurrentActivity() local 1240 .requestCloseTransitionIfNeeded(rootTask1); in testFinishCurrentActivity() [all …]
|
D | AppTransitionTests.java | 314 final Task rootTask1 = createTask(dc1); in testCleanAppTransitionWhenRootTaskReparent() local 315 final Task task1 = createTaskInRootTask(rootTask1, 0 /* userId */); in testCleanAppTransitionWhenRootTaskReparent() 331 rootTask1.reparent(dc2.getDefaultTaskDisplayArea(), true); in testCleanAppTransitionWhenRootTaskReparent()
|
D | TaskTests.java | 249 final Task rootTask1 = createTask(mDisplayContent); in testReparent_BetweenDisplays() local 250 final Task task = createTaskInRootTask(rootTask1, 0 /* userId */); in testReparent_BetweenDisplays() 251 assertEquals(mDisplayContent, rootTask1.getDisplayContent()); in testReparent_BetweenDisplays() 268 final Task rootTask1 = createTask(mDisplayContent); in testBounds() local 269 final Task task = createTaskInRootTask(rootTask1, 0 /* userId */); in testBounds()
|
D | DisplayContentTests.java | 1004 final Task rootTask1 = newDisplay.getTopRootTask(); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() local 1005 final ActivityRecord activity1 = rootTask1.topRunningActivity(); in testInputMethodTargetUpdateWhenSwitchingOnDisplays() 2856 final Task rootTask1 = taskDisplayArea.createRootTask(WINDOWING_MODE_FULLSCREEN, in removeRootTaskTests() local 2864 final Task task1 = new TaskBuilder(mSupervisor).setParentTask(rootTask1).build(); in removeRootTaskTests()
|