/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestUtils.java | 23 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()
|
D | TaskStackContainersTests.java | 102 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()
|
D | WindowProcessControllerTests.java | 21 import static com.android.server.wm.ActivityDisplay.POSITION_TOP; 83 mRootActivityContainer.addChild(testActivityDisplay, POSITION_TOP); in createTestActivityDisplayInContainer()
|
D | TaskStackTests.java | 55 stack.positionChildAt(WindowContainer.POSITION_TOP, task1, false /* includingParents */); in testStackPositionChildAt() 60 stack.positionChildAt(WindowContainer.POSITION_TOP, task2, false /* includingParents */); in testStackPositionChildAt()
|
D | RootActivityContainerTests.java | 37 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()
|
D | ActivityDisplayTests.java | 118 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()
|
D | ActivityStackSupervisorTests.java | 117 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testHandleNonResizableTaskOnSecondaryDisplay()
|
D | TaskRecordTests.java | 32 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()
|
D | WindowContainerTests.java | 34 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()
|
D | ActivityStarterTests.java | 50 import static com.android.server.wm.ActivityDisplay.POSITION_TOP; 773 mRootActivityContainer.addChild(secondaryDisplay, POSITION_TOP); in testBringTaskToFrontOnSecondaryDisplay()
|
D | RecentTasksTest.java | 1127 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()
|
D | LaunchParamsPersisterTests.java | 109 mRootActivityContainer.addChild(mTestDisplay, ActivityDisplay.POSITION_TOP); in setUp()
|
D | DisplayContentTests.java | 54 import static com.android.server.wm.WindowContainer.POSITION_TOP; 385 window1.getParent().positionChildAt(POSITION_TOP, window1, true); in doTestFocusedWindowMultipleDisplays()
|
D | ActivityStackTests.java | 295 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testMoveStackToBackIncludingParent() 991 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testFinishCurrentActivity()
|
D | ActivityRecordTests.java | 491 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
|
D | ActivityTestsBase.java | 497 mRootActivityContainer.addChild(mDefaultDisplay, ActivityDisplay.POSITION_TOP); in createDefaultDisplay()
|
D | TaskLaunchParamsModifierTests.java | 1245 final TestActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in createNewActivityDisplay()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContainer.java | 89 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()
|
D | TaskStack.java | 574 positionChildAt(POSITION_TOP, child, includingParents); in positionChildAtTop() 656 } else if (targetPosition == POSITION_TOP in findPositionForTask() 658 return POSITION_TOP; in findPositionForTask()
|
D | ActivityDisplay.java | 84 static final int POSITION_TOP = Integer.MAX_VALUE; field in ActivityDisplay 207 } else if (position == POSITION_TOP) { in addChild()
|
D | Task.java | 665 positionChildAt(aToken, POSITION_TOP); in positionChildAtTop()
|
D | DisplayContent.java | 4196 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()
|
D | RootActivityContainer.java | 249 addChild(activityDisplay, ActivityDisplay.POSITION_TOP); in setWindowManager() 256 positionChildAt(defaultDisplay, ActivityDisplay.POSITION_TOP); in setWindowManager()
|
D | TaskRecord.java | 86 import static com.android.server.wm.WindowContainer.POSITION_TOP; 464 final int position = onTop ? POSITION_TOP : POSITION_BOTTOM; in createTask()
|
D | ActivityStack.java | 57 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()
|