Home
last modified time | relevance | path

Searched refs:stack1 (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackContainersTests.java69 final TaskStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testStackPositionChildAt() local
72 final WindowContainer taskStackContainer = stack1.getParent(); in testStackPositionChildAt()
74 final int stack1Pos = taskStackContainer.mChildren.indexOf(stack1); in testStackPositionChildAt()
81 assertEquals(taskStackContainer.mChildren.get(stack1Pos), stack1); in testStackPositionChildAt() local
86 assertEquals(taskStackContainer.mChildren.get(stack1Pos), stack1); in testStackPositionChildAt() local
94 final TaskStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testStackPositionBelowPinnedStack() local
96 final WindowContainer taskStackContainer = stack1.getParent(); in testStackPositionBelowPinnedStack()
98 final int stackPos = taskStackContainer.mChildren.indexOf(stack1); in testStackPositionBelowPinnedStack()
102 taskStackContainer.positionChildAt(WindowContainer.POSITION_TOP, stack1, false); in testStackPositionBelowPinnedStack()
103 assertEquals(taskStackContainer.mChildren.get(stackPos), stack1); in testStackPositionBelowPinnedStack() local
[all …]
DTaskStackTests.java158 final TaskStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testReparent() local
159 final WindowTestUtils.TestTask task1 = WindowTestUtils.createTestTask(stack1); in testReparent()
167 stack1.reparent(dc.getDisplayId(), new Rect(), true /* onTop */); in testReparent()
168 assertEquals(dc, stack1.getDisplayContent()); in testReparent()
169 final int stack1PositionInParent = stack1.getParent().mChildren.indexOf(stack1); in testReparent()
170 final int stack2PositionInParent = stack1.getParent().mChildren.indexOf(stack2); in testReparent()
DTaskTests.java112 final TaskStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testReparent_BetweenDisplays() local
113 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stack1); in testReparent_BetweenDisplays()
115 assertEquals(mDisplayContent, stack1.getDisplayContent()); in testReparent_BetweenDisplays()
131 final TaskStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testBounds() local
132 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stack1); in testBounds()
DActivityDisplayTests.java119 final ActivityStack stack1 = createFullscreenStackWithSimpleActivityAt(display); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving() local
123 stack1.moveToFront("moveStack1ToFront"); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving()
129 assertTrue(stack1.isFocusedStackOnDisplay()); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving()
132 display.removeChild(stack1); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving()
299 final ActivityStack stack1 = display.createStack(WINDOWING_MODE_FULLSCREEN, in removeStackTests() local
308 stack1).setTaskId(1).build(); in removeStackTests()
DAppTransitionTests.java161 final TaskStack stack1 = createTaskStackOnDisplay(dc1); in testCleanAppTransitionWhenTaskStackReparent() local
162 final Task task1 = createTaskInStack(stack1, 0 /* userId */); in testCleanAppTransitionWhenTaskStackReparent()
180 stack1.reparent(dc2.getDisplayId(), new Rect(), true); in testCleanAppTransitionWhenTaskStackReparent()
DActivityStackTests.java300 final ActivityStack stack1 = createStackForShouldBeVisibleTest(display, in testMoveStackToBackIncludingParent() local
311 display.removeChild(stack1); in testMoveStackToBackIncludingParent()
996 final ActivityStack stack1 = createStackForShouldBeVisibleTest(display, in testFinishCurrentActivity() local
1010 final ActivityRecord activity1 = finishCurrentActivity(stack1); in testFinishCurrentActivity()
DDisplayContentTests.java322 final TaskStack stack1 = createTaskStackOnDisplay(dc1); in testInputEventBringsCorrectDisplayInFocus() local
323 final Task task1 = createTaskInStack(stack1, 0 /* userId */); in testInputEventBringsCorrectDisplayInFocus()