/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; 135 mRootActivityContainer.addChild(testActivityDisplay, POSITION_TOP); in createTestActivityDisplayInContainer()
|
D | RootActivityContainerTests.java | 38 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()
|
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 | 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 | 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 | ActivityStackSupervisorTests.java | 117 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testHandleNonResizableTaskOnSecondaryDisplay()
|
D | WindowContainerTests.java | 34 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()
|
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 | 299 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testMoveStackToBackIncludingParent() 995 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testFinishCurrentActivity()
|
D | ActivityRecordTests.java | 497 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
|
D | ActivityTestsBase.java | 529 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 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()
|
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 | 4208 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()
|
D | RootActivityContainer.java | 250 addChild(activityDisplay, ActivityDisplay.POSITION_TOP); in setWindowManager() 257 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 | 58 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()
|