Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackTests.java199 final TestActivityStack homeStack = createStackForShouldBeVisibleTest(mDefaultDisplay, in testShouldBeVisible_Fullscreen() local
204 assertTrue(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Fullscreen()
212 assertFalse(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Fullscreen()
218 assertTrue(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Fullscreen()
224 final TestActivityStack homeStack = createStackForShouldBeVisibleTest(mDefaultDisplay, in testShouldBeVisible_SplitScreen() local
227 homeStack.setSupportsSplitScreen(false); in testShouldBeVisible_SplitScreen()
236 assertFalse(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_SplitScreen()
242 assertTrue(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_SplitScreen()
290 final TestActivityStack homeStack = createStackForShouldBeVisibleTest(mDefaultDisplay, in testShouldBeVisible_Finishing() local
297 assertTrue(homeStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Finishing()
[all …]
DRecentTasksTest.java602 final ActivityStack homeStack = new MyTestActivityStack(mDisplay, supervisor); in testBackStackTasks_expectNoTrim() local
604 supervisor.setHomeStack(homeStack); in testBackStackTasks_expectNoTrim()
608 mRecentTasks.add(createTaskBuilder(".HomeTask1").setStack(homeStack).build()); in testBackStackTasks_expectNoTrim()
623 final ActivityStack homeStack = new MyTestActivityStack(mDisplay, supervisor); in testBehindHomeStackTasks_expectTaskTrimmed() local
625 supervisor.setHomeStack(homeStack); in testBehindHomeStackTasks_expectTaskTrimmed()
633 mRecentTasks.add(createTaskBuilder(".HomeTask1").setStack(homeStack).build()); in testBehindHomeStackTasks_expectTaskTrimmed()
645 final ActivityStack homeStack = new MyTestActivityStack(mDisplay, supervisor); in testOtherDisplayTasks_expectNoTrim() local
647 supervisor.setHomeStack(homeStack); in testOtherDisplayTasks_expectNoTrim()
651 mRecentTasks.add(createTaskBuilder(".HomeTask1").setStack(homeStack).build()); in testOtherDisplayTasks_expectNoTrim()
654 mRecentTasks.add(createTaskBuilder(".HomeTask2").setStack(homeStack).build()); in testOtherDisplayTasks_expectNoTrim()
/frameworks/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java257 final TaskStack homeStack = mDisplayContent.getHomeStack(); in isHomeStackResizable() local
258 if (homeStack == null) { in isHomeStackResizable()
261 final Task homeTask = homeStack.findHomeTask(); in isHomeStackResizable()
684 final TaskStack homeStack = mDisplayContent.getHomeStack(); in checkMinimizeChanged() local
685 if (homeStack == null) { in checkMinimizeChanged()
688 final Task homeTask = homeStack.findHomeTask(); in checkMinimizeChanged()
707 homeVisible = homeStack.compareTo(topSecondaryStack) >= 0; in checkMinimizeChanged()
DTaskStack.java1725 final TaskStack homeStack = mDisplayContent.getHomeStack(); in shouldDeferStartOnMoveToFullscreen() local
1726 if (homeStack == null) { in shouldDeferStartOnMoveToFullscreen()
1729 final Task homeTask = homeStack.getTopChild(); in shouldDeferStartOnMoveToFullscreen()
DDisplayContent.java2297 final TaskStack homeStack = getHomeStack(); in dump() local
2298 if (homeStack != null) { in dump()
2299 pw.println(prefix + "homeStack=" + homeStack.getName()); in dump()
/frameworks/base/services/core/java/com/android/server/am/
DRecentTasks.java1208 final ActivityStack homeStack = mService.mStackSupervisor.mHomeStack; in isTrimmable() local
1216 if (stack.getDisplay() != homeStack.getDisplay()) { in isTrimmable()
1222 return display.getIndexOf(stack) < display.getIndexOf(homeStack); in isTrimmable()
DActivityStarter.java936 final ActivityStack homeStack = mSupervisor.mHomeStack; in postStartActivityProcessing() local
937 if (homeStack != null && homeStack.shouldBeVisible(null /* starting */)) { in postStartActivityProcessing()