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;
135 mRootActivityContainer.addChild(testActivityDisplay, POSITION_TOP); in createTestActivityDisplayInContainer()
DRootActivityContainerTests.java38 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
362 ActivityDisplay.POSITION_TOP); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()
438 ActivityDisplay.POSITION_TOP); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen()
510 mRootActivityContainer.addChild(secondDisplay, POSITION_TOP); in testStartHomeOnAllDisplays()
579 mRootActivityContainer.addChild(secondDisplay, POSITION_TOP); in testStartSecondaryHomeOnDisplayWithUserKeyLocked()
605 mRootActivityContainer.addChild(secondDisplay, POSITION_TOP); in testStartSecondaryHomeOnDisplayWithoutSysDecorations()
833 mRootActivityContainer.addChild(secondaryDisplay, POSITION_TOP); in testGetLaunchStackWithRealCallerId()
DTaskStackTests.java55 stack.positionChildAt(WindowContainer.POSITION_TOP, task1, false /* includingParents */); in testStackPositionChildAt()
60 stack.positionChildAt(WindowContainer.POSITION_TOP, task2, false /* includingParents */); in testStackPositionChildAt()
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()
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()
DActivityStackSupervisorTests.java117 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testHandleNonResizableTaskOnSecondaryDisplay()
DWindowContainerTests.java34 import static com.android.server.wm.WindowContainer.POSITION_TOP;
266 root.addChild(child2, POSITION_TOP); in testAddChildByIndex()
291 root.positionChildAt(POSITION_TOP, child1, false /* includingParents */); in testPositionChildAt()
320 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.java299 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testMoveStackToBackIncludingParent()
995 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testFinishCurrentActivity()
DActivityRecordTests.java497 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
DActivityTestsBase.java529 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
256 || (index > mChildren.size() && index != POSITION_TOP)) { in addChild()
261 if (index == POSITION_TOP) { in addChild()
425 || (position > mChildren.size() && position != POSITION_TOP)) { in positionChildAt()
431 position = POSITION_TOP; in positionChildAt()
437 case POSITION_TOP: in positionChildAt()
444 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.java4208 positionChildAt(POSITION_TOP, stack, false /* includingParents */); in onStackWindowingModeChanged()
4276 && position != POSITION_TOP) { in positionChildAt()
4297 getParent().positionChildAt(POSITION_TOP, this /* child */, in positionChildAt()
4315 return POSITION_TOP; in findPositionForStack()
4328 int maxPosition = POSITION_TOP; in findPositionForStack()
DRootActivityContainer.java250 addChild(activityDisplay, ActivityDisplay.POSITION_TOP); in setWindowManager()
257 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.java58 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
526 display.addChild(this, onTop ? POSITION_TOP : POSITION_BOTTOM); in ActivityStack()
897 activityDisplay.addChild(this, onTop ? POSITION_TOP : POSITION_BOTTOM); in reparent()

12