Home
last modified time | relevance | path

Searched refs:POSITION_TOP (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestUtils.java23 import static com.android.server.wm.WindowContainer.POSITION_TOP;
45 stack.addTask(newTask, POSITION_TOP); in createTaskInStack()
53 task.addChild(newToken, POSITION_TOP); in createAppWindowTokenInTask()
141 stack.addTask(this, POSITION_TOP); in TestTask()
DTaskStackContainersTests.java102 taskStackContainer.positionChildAt(WindowContainer.POSITION_TOP, stack1, false); in testStackPositionBelowPinnedStack()
118 mWm.mRoot.positionChildAt(WindowContainer.POSITION_TOP, createNewDisplay(), in testDisplayPositionWithPinnedStack()
122 stack.positionChildAt(WindowContainer.POSITION_TOP, task, true /* includingParents */); in testDisplayPositionWithPinnedStack()
DWindowProcessControllerTests.java21 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
83 mRootActivityContainer.addChild(testActivityDisplay, POSITION_TOP); in createTestActivityDisplayInContainer()
DTaskStackTests.java55 stack.positionChildAt(WindowContainer.POSITION_TOP, task1, false /* includingParents */); in testStackPositionChildAt()
60 stack.positionChildAt(WindowContainer.POSITION_TOP, task2, false /* includingParents */); in testStackPositionChildAt()
DRootActivityContainerTests.java37 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
360 ActivityDisplay.POSITION_TOP); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()
436 ActivityDisplay.POSITION_TOP); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen()
508 mRootActivityContainer.addChild(secondDisplay, POSITION_TOP); in testStartHomeOnAllDisplays()
577 mRootActivityContainer.addChild(secondDisplay, POSITION_TOP); in testStartSecondaryHomeOnDisplayWithUserKeyLocked()
603 mRootActivityContainer.addChild(secondDisplay, POSITION_TOP); in testStartSecondaryHomeOnDisplayWithoutSysDecorations()
DActivityDisplayTests.java118 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving()
146 mRootActivityContainer.addChild(display, ActivityDisplay.POSITION_TOP); in testNotResumeHomeStackOnRemovingDisplay()
155 display.addChild(spiedHomeStack, ActivityDisplay.POSITION_TOP); in testNotResumeHomeStackOnRemovingDisplay()
DActivityStackSupervisorTests.java117 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testHandleNonResizableTaskOnSecondaryDisplay()
DTaskRecordTests.java32 import static com.android.server.wm.WindowContainer.POSITION_TOP;
266 ActivityDisplay display = addNewActivityDisplayAt(info, POSITION_TOP); in testFullscreenBoundsForcedOrientation()
333 ActivityDisplay display = addNewActivityDisplayAt(info, POSITION_TOP); in testIgnoresForcedOrientationWhenParentHandles()
DWindowContainerTests.java34 import static com.android.server.wm.WindowContainer.POSITION_TOP;
270 root.addChild(child2, POSITION_TOP); in testAddChildByIndex()
295 root.positionChildAt(POSITION_TOP, child1, false /* includingParents */); in testPositionChildAt()
324 child1.positionChildAt(POSITION_TOP, child11, true /* includingParents */); in testPositionChildAtIncludeParents()
DActivityStarterTests.java50 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
773 mRootActivityContainer.addChild(secondaryDisplay, POSITION_TOP); in testBringTaskToFrontOnSecondaryDisplay()
DRecentTasksTest.java1127 mRootActivityContainer.addChild(mOtherDisplay, ActivityDisplay.POSITION_TOP); in createDefaultDisplay()
1128 mRootActivityContainer.addChild(mDisplay, ActivityDisplay.POSITION_TOP); in createDefaultDisplay()
1129 mRootActivityContainer.addChild(mSingleTaskDisplay, ActivityDisplay.POSITION_TOP); in createDefaultDisplay()
DLaunchParamsPersisterTests.java109 mRootActivityContainer.addChild(mTestDisplay, ActivityDisplay.POSITION_TOP); in setUp()
DDisplayContentTests.java54 import static com.android.server.wm.WindowContainer.POSITION_TOP;
385 window1.getParent().positionChildAt(POSITION_TOP, window1, true); in doTestFocusedWindowMultipleDisplays()
DActivityStackTests.java295 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testMoveStackToBackIncludingParent()
991 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testFinishCurrentActivity()
DActivityRecordTests.java491 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
DActivityTestsBase.java497 mRootActivityContainer.addChild(mDefaultDisplay, ActivityDisplay.POSITION_TOP); in createDefaultDisplay()
DTaskLaunchParamsModifierTests.java1245 final TestActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in createNewActivityDisplay()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java89 static final int POSITION_TOP = Integer.MAX_VALUE; field in WindowContainer
254 || (index > mChildren.size() && index != POSITION_TOP)) { in addChild()
259 if (index == POSITION_TOP) { in addChild()
423 || (position > mChildren.size() && position != POSITION_TOP)) { in positionChildAt()
429 position = POSITION_TOP; in positionChildAt()
435 case POSITION_TOP: in positionChildAt()
442 getParent().positionChildAt(POSITION_TOP, this /* child */, in positionChildAt()
DTaskStack.java574 positionChildAt(POSITION_TOP, child, includingParents); in positionChildAtTop()
656 } else if (targetPosition == POSITION_TOP in findPositionForTask()
658 return POSITION_TOP; in findPositionForTask()
DActivityDisplay.java84 static final int POSITION_TOP = Integer.MAX_VALUE; field in ActivityDisplay
207 } else if (position == POSITION_TOP) { in addChild()
DTask.java665 positionChildAt(aToken, POSITION_TOP); in positionChildAtTop()
DDisplayContent.java4196 positionChildAt(POSITION_TOP, stack, false /* includingParents */); in onStackWindowingModeChanged()
4264 && position != POSITION_TOP) { in positionChildAt()
4285 getParent().positionChildAt(POSITION_TOP, this /* child */, in positionChildAt()
4303 return POSITION_TOP; in findPositionForStack()
4316 int maxPosition = POSITION_TOP; in findPositionForStack()
DRootActivityContainer.java249 addChild(activityDisplay, ActivityDisplay.POSITION_TOP); in setWindowManager()
256 positionChildAt(defaultDisplay, ActivityDisplay.POSITION_TOP); in setWindowManager()
DTaskRecord.java86 import static com.android.server.wm.WindowContainer.POSITION_TOP;
464 final int position = onTop ? POSITION_TOP : POSITION_BOTTOM; in createTask()
DActivityStack.java57 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
523 display.addChild(this, onTop ? POSITION_TOP : POSITION_BOTTOM); in ActivityStack()
894 activityDisplay.addChild(this, onTop ? POSITION_TOP : POSITION_BOTTOM); in reparent()

12