Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskDisplayAreaTests.java112 final ActivityStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testStackPositionChildAt() local
115 final WindowContainer taskStackContainer = stack1.getParent(); in testStackPositionChildAt()
117 final int stack1Pos = taskStackContainer.mChildren.indexOf(stack1); in testStackPositionChildAt()
124 assertEquals(taskStackContainer.mChildren.get(stack1Pos), stack1); in testStackPositionChildAt() local
129 assertEquals(taskStackContainer.mChildren.get(stack1Pos), stack1); in testStackPositionChildAt() local
137 final ActivityStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testStackPositionBelowPinnedStack() local
139 final WindowContainer taskStackContainer = stack1.getParent(); in testStackPositionBelowPinnedStack()
141 final int stackPos = taskStackContainer.mChildren.indexOf(stack1); in testStackPositionBelowPinnedStack()
145 taskStackContainer.positionChildAt(WindowContainer.POSITION_TOP, stack1, false); in testStackPositionBelowPinnedStack()
146 assertEquals(taskStackContainer.mChildren.get(stackPos), stack1); in testStackPositionBelowPinnedStack() local
[all …]
DAppTransitionControllerTest.java128 final ActivityStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testGetAnimationTargets_noHierarchicalAnimations() local
129 final ActivityRecord activity1 = WindowTestUtils.createTestActivityRecord(stack1); in testGetAnimationTargets_noHierarchicalAnimations()
156 final ActivityStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testGetAnimationTargets_visibilityAlreadyUpdated() local
157 final ActivityRecord activity1 = WindowTestUtils.createTestActivityRecord(stack1); in testGetAnimationTargets_visibilityAlreadyUpdated()
223 final ActivityStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testGetAnimationTargets_windowsAreBeingReplaced() local
224 final ActivityRecord activity1 = WindowTestUtils.createTestActivityRecord(stack1); in testGetAnimationTargets_windowsAreBeingReplaced()
261 new ArraySet<>(new WindowContainer[]{stack1}), in testGetAnimationTargets_windowsAreBeingReplaced()
279 final ActivityStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testGetAnimationTargets_openingClosingInDifferentTask() local
280 final Task task1 = createTaskInStack(stack1, 0 /* userId */); in testGetAnimationTargets_openingClosingInDifferentTask()
307 new ArraySet<>(new WindowContainer[]{stack1}), in testGetAnimationTargets_openingClosingInDifferentTask()
[all …]
DTaskStackTests.java175 final ActivityStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testReparent() local
176 final Task task1 = createTaskInStack(stack1, 0 /* userId */); in testReparent()
184 stack1.reparent(dc.getDefaultTaskDisplayArea(), true /* onTop */); in testReparent()
185 assertEquals(dc, stack1.getDisplayContent()); in testReparent()
186 final int stack1PositionInParent = stack1.getParent().mChildren.indexOf(stack1); in testReparent()
187 final int stack2PositionInParent = stack1.getParent().mChildren.indexOf(stack2); in testReparent()
DTaskTests.java123 final ActivityStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testReparent_BetweenDisplays() local
124 final Task task = createTaskInStack(stack1, 0 /* userId */); in testReparent_BetweenDisplays()
125 assertEquals(mDisplayContent, stack1.getDisplayContent()); in testReparent_BetweenDisplays()
142 final ActivityStack stack1 = createTaskStackOnDisplay(mDisplayContent); in testBounds() local
143 final Task task = createTaskInStack(stack1, 0 /* userId */); in testBounds()
DActivityDisplayTests.java117 final ActivityStack stack1 = createFullscreenStackWithSimpleActivityAt(display); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving() local
121 stack1.moveToFront("moveStack1ToFront"); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving()
127 assertTrue(stack1.isFocusedStackOnDisplay()); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving()
130 stack1.getDisplayArea().removeStack(stack1); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving()
313 final ActivityStack stack1 = taskDisplayArea.createStack(WINDOWING_MODE_FULLSCREEN, in removeStackTests() local
321 final Task task1 = new TaskBuilder(mService.mStackSupervisor).setStack(stack1).build(); in removeStackTests()
DAppTransitionTests.java153 final ActivityStack stack1 = createTaskStackOnDisplay(dc1); in testCleanAppTransitionWhenTaskStackReparent() local
154 final Task task1 = createTaskInStack(stack1, 0 /* userId */); in testCleanAppTransitionWhenTaskStackReparent()
172 stack1.reparent(dc2.getDefaultTaskDisplayArea(), true); in testCleanAppTransitionWhenTaskStackReparent()
DActivityStackTests.java357 final ActivityStack stack1 = createStackForShouldBeVisibleTest(taskDisplayArea, in testMoveStackToBackIncludingParent() local
367 taskDisplayArea.removeStack(stack1); in testMoveStackToBackIncludingParent()
1175 final ActivityStack stack1 = createStackForShouldBeVisibleTest( in testFinishCurrentActivity() local
1191 final ActivityRecord activity1 = finishTopActivity(stack1); in testFinishCurrentActivity()
DDisplayContentTests.java401 final ActivityStack stack1 = createTaskStackOnDisplay(dc1); in testInputEventBringsCorrectDisplayInFocus() local
402 final Task task1 = createTaskInStack(stack1, 0 /* userId */); in testInputEventBringsCorrectDisplayInFocus()
DActivityRecordTests.java751 final ActivityStack stack1 = new StackBuilder(mRootWindowContainer).build(); in testFinishActivityIfPossible_adjustStackOrder() local
767 assertTrue(stack1.isTopStackInDisplayArea()); in testFinishActivityIfPossible_adjustStackOrder()