Home
last modified time | relevance | path

Searched refs:setActivityType (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDesktopModeLaunchParamsModifierTests.java123 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsSkipIfTaskNotUsingActivityTypeStandardOrUndefined()
133 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsContinueIfTaskUsingActivityTypeStandard()
143 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsContinueIfTaskUsingActivityTypeUndefined()
153 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testReturnsSkipIfCurrentParamsHasBounds()
165 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testUsesDesiredBoundsIfEmptyLayoutAndActivityOptionsBounds()
183 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testNonEmptyActivityOptionsBounds()
199 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testNonEmptyLayoutBounds_CenterToDisplay()
214 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testNonEmptyLayoutBounds_LeftGravity()
229 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testNonEmptyLayoutBounds_TopGravity()
244 final Task task = new TaskBuilder(mSupervisor).setActivityType( in testNonEmptyLayoutBounds_TopLeftGravity()
[all …]
DWindowConfigurationTests.java177 config.setActivityType(ACTIVITY_TYPE_HOME); in testSetActivityType()
181 config.setActivityType(ACTIVITY_TYPE_STANDARD); in testSetActivityType()
DConfigurationContainerTests.java244 root.setActivityType(ACTIVITY_TYPE_UNDEFINED); in testSetActivityType()
246 child.setActivityType(ACTIVITY_TYPE_STANDARD); in testSetActivityType()
253 child.setActivityType(ACTIVITY_TYPE_HOME); in testSetActivityType()
DRecentTasksTest.java355 .setActivityType(ACTIVITY_TYPE_UNDEFINED) in testAddTaskCompatibleActivityType_expectRemove()
360 task1.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_UNDEFINED); in testAddTaskCompatibleActivityType_expectRemove()
379 .setActivityType(ACTIVITY_TYPE_UNDEFINED) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
385 task1.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_UNDEFINED); in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
DTransparentPolicyTest.java401 mTopActivityWindowConfiguration.setActivityType(ACTIVITY_TYPE_STANDARD); in forceChangeInTopActivityConfiguration()
DWindowProcessControllerTests.java289 config.windowConfiguration.setActivityType(ACTIVITY_TYPE_HOME); in testProcessLevelConfiguration()
DWindowTestsBase.java774 .setActivityType(activityType) in createTask()
1670 TaskBuilder setActivityType(int activityType) { in setActivityType() method in WindowTestsBase.TaskBuilder
1753 task = builder.setActivityType(mActivityType) in build()
DRootTaskTests.java1040 .setActivityType(activityType) in createTaskForShouldBeVisibleTest()
1050 .setActivityType(activityType) in createTaskForShouldBeVisibleTest()
DTaskDisplayAreaTests.java390 .setActivityType(ACTIVITY_TYPE_STANDARD) in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange()
DTaskTests.java435 leafTask1.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_HOME); in testHandlesOrientationChangeFromDescendant()
436 leafTask2.getWindowConfiguration().setActivityType(ACTIVITY_TYPE_STANDARD); in testHandlesOrientationChangeFromDescendant()
DRootWindowContainerTests.java724 .setActivityType(ACTIVITY_TYPE_RECENTS) in testFindTaskToMoveToFrontWhenRecentsOnTop()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTestHelpers.kt42 .setActivityType(ACTIVITY_TYPE_STANDARD) in createFreeformTask()
56 .setActivityType(ACTIVITY_TYPE_STANDARD) in createFullscreenTask()
69 .setActivityType(ACTIVITY_TYPE_STANDARD) in createSplitScreenTask()
82 .setActivityType(ACTIVITY_TYPE_HOME) in createHomeTask()
DDragToDesktopTransitionHandlerTest.kt327 .setActivityType(if (isHome) ACTIVITY_TYPE_HOME else ACTIVITY_TYPE_STANDARD) in createTask()
342 TestRunningTaskInfoBuilder().setActivityType(ACTIVITY_TYPE_HOME).build() in createTransitionInfo()
DDesktopTasksControllerTest.kt1126 .setActivityType(ACTIVITY_TYPE_STANDARD) in <lambda>()
1143 val task = TestRunningTaskInfoBuilder().setActivityType(ACTIVITY_TYPE_HOME).build() in <lambda>()
1153 .setActivityType(ACTIVITY_TYPE_STANDARD) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestRunningTaskInfoBuilder.java83 public TestRunningTaskInfoBuilder setActivityType( in setActivityType() method in TestRunningTaskInfoBuilder
128 info.configuration.windowConfiguration.setActivityType(mActivityType); in build()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java405 public void setActivityType(@ActivityType int activityType) { in setActivityType() method in WindowConfiguration
433 setActivityType(other.mActivityType); in setTo()
451 setActivityType(ACTIVITY_TYPE_UNDEFINED); in setToDefaults()
513 setActivityType(delta.mActivityType); in updateFrom()
550 setActivityType(delta.mActivityType); in setTo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModelTests.kt196 task.setActivityType(ACTIVITY_TYPE_UNDEFINED) in testDeleteCaptionOnChangeTransitionWhenNecessary()
236 task.setActivityType(ACTIVITY_TYPE_STANDARD) in testCreateCaptionOnChangeTransitionWhenNecessary()
550 .setActivityType(activityType) in createTask()
589 private fun RunningTaskInfo.setActivityType(type: Int) { in setActivityType() method in com.android.wm.shell.windowdecor.DesktopModeWindowDecorViewModelTests
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/policy/
DNewRootTaskInfo.kt95 setActivityType(activityType.toInt()) in newRootTaskInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/
DRemoteTransitionTest.java170 taskInfo.configuration.windowConfiguration.setActivityType(activityType);
/frameworks/base/services/core/java/com/android/server/wm/
DConfigurationContainer.java611 public void setActivityType(/*@WindowConfiguration.ActivityType*/ int activityType) { in setActivityType() method in ConfigurationContainer
621 mRequestsTmpConfig.windowConfiguration.setActivityType(activityType); in setActivityType()
DTaskDisplayArea.java932 .setActivityType(activityType)
995 .setActivityType(activityType)
DTask.java1496 r.getRequestedOverrideConfiguration().windowConfiguration.setActivityType( in onDescendantActivityAdded()
1499 setActivityType(activityOverrideType); in onDescendantActivityAdded()
1509 r.setActivityType(activityType); in onDescendantActivityAdded()
3416 info.configuration.windowConfiguration.setActivityType(getActivityType());
6521 Builder setActivityType(int activityType) {
6775 task.setActivityType(mActivityType);
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitTransitionTests.java302 .setActivityType(ACTIVITY_TYPE_HOME) in testEnterRecentsAndCommit()
362 .setActivityType(ACTIVITY_TYPE_HOME) in testEnterRecentsAndRestore()
DSplitScreenControllerTests.java310 info.configuration.windowConfiguration.setActivityType(actType); in createTaskInfo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicyTest.java222 info.configuration.windowConfiguration.setActivityType(actType); in createTaskInfo()

12