Home
last modified time | relevance | path

Searched refs:homeStack (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackTests.java315 final TestActivityStack homeStack = createStackForShouldBeVisibleTest(mDefaultDisplay, in testShouldBeVisible_Fullscreen() local
320 assertTrue(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Fullscreen()
328 assertFalse(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Fullscreen()
334 assertTrue(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Fullscreen()
340 final TestActivityStack homeStack = createStackForShouldBeVisibleTest(mDefaultDisplay, in testShouldBeVisible_SplitScreen() local
343 homeStack.setSupportsSplitScreen(false); in testShouldBeVisible_SplitScreen()
354 assertFalse(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_SplitScreen()
357 assertEquals(STACK_VISIBILITY_INVISIBLE, homeStack.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
365 assertTrue(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_SplitScreen()
369 homeStack.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
[all …]
DRecentsAnimationTest.java150 ActivityStack homeStack = display.getHomeStack(); in testSetLaunchTaskBehindOfTargetActivity() local
152 ActivityRecord targetActivity = homeStack.getTopActivity(); in testSetLaunchTaskBehindOfTargetActivity()
157 .setStack(homeStack) in testSetLaunchTaskBehindOfTargetActivity()
270 ActivityStack homeStack = display.getStack(WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME); in testMultipleUserHomeActivity_findUserHomeTask() local
272 .setStack(homeStack) in testMultipleUserHomeActivity_findUserHomeTask()
DActivityDisplayTests.java149 final ActivityStack homeStack = display.createStack( in testNotResumeHomeStackOnRemovingDisplay() local
151 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(homeStack).build(); in testNotResumeHomeStackOnRemovingDisplay()
153 display.removeChild(homeStack); in testNotResumeHomeStackOnRemovingDisplay()
154 final ActivityStack spiedHomeStack = spy(homeStack); in testNotResumeHomeStackOnRemovingDisplay()
DRecentTasksTest.java745 final ActivityStack homeStack = mDisplay.getHomeStack(); in testBackStackTasks_expectNoTrim() local
750 mRecentTasks.add(createTaskBuilder(".HomeTask1").setStack(homeStack).build()); in testBackStackTasks_expectNoTrim()
765 final ActivityStack homeStack = mDisplay.getHomeStack(); in testBehindHomeStackTasks_expectTaskTrimmed() local
774 mRecentTasks.add(createTaskBuilder(".HomeTask1").setStack(homeStack).build()); in testBehindHomeStackTasks_expectTaskTrimmed()
786 final ActivityStack homeStack = mDisplay.getHomeStack(); in testOtherDisplayTasks_expectNoTrim() local
791 mRecentTasks.add(createTaskBuilder(".HomeTask1").setStack(homeStack).build()); in testOtherDisplayTasks_expectNoTrim()
794 mRecentTasks.add(createTaskBuilder(".HomeTask2").setStack(homeStack).build()); in testOtherDisplayTasks_expectNoTrim()
/frameworks/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java261 final TaskStack homeStack = mDisplayContent.getHomeStack(); in isHomeStackResizable() local
262 if (homeStack == null) { in isHomeStackResizable()
265 final Task homeTask = homeStack.findHomeTask(); in isHomeStackResizable()
713 final TaskStack homeStack = mDisplayContent.getHomeStack(); in checkMinimizeChanged() local
714 if (homeStack == null) { in checkMinimizeChanged()
717 final Task homeTask = homeStack.findHomeTask(); in checkMinimizeChanged()
736 homeVisible = homeStack.compareTo(topSecondaryStack) >= 0; in checkMinimizeChanged()
DActivityStartController.java190 final ActivityStack homeStack = display != null ? display.getHomeStack() : null; in startHomeActivity() local
191 if (homeStack != null && homeStack.mInResumeTopActivity) { in startHomeActivity()
DTaskStack.java1841 final TaskStack homeStack = mDisplayContent.getHomeStack(); in shouldDeferStartOnMoveToFullscreen() local
1842 if (homeStack == null) { in shouldDeferStartOnMoveToFullscreen()
1845 final Task homeTask = homeStack.getTopChild(); in shouldDeferStartOnMoveToFullscreen()
DActivityStarter.java1124 final ActivityStack homeStack = in postStartActivityProcessing() local
1126 if (homeStack != null && homeStack.shouldBeVisible(null /* starting */)) { in postStartActivityProcessing()
DDisplayContent.java2917 final TaskStack homeStack = getHomeStack(); in dump() local
2918 if (homeStack != null) { in dump()
2919 pw.println(prefix + "homeStack=" + homeStack.getName()); in dump()