Home
last modified time | relevance | path

Searched refs:pinnedStack (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityDisplayTests.java91 final ActivityStack pinnedStack = mRootActivityContainer.getDefaultDisplay().createStack( in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists() local
94 .setStack(pinnedStack).build(); in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()
97 pinnedStack.moveToFront("movePinnedStackToFront"); in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()
100 assertTrue(pinnedStack.isFocusedStackOnDisplay()); in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()
245 final ActivityStack pinnedStack = display.createStack( in testAlwaysOnTopStackLocation() local
247 assertEquals(pinnedStack, display.getPinnedStack()); in testAlwaysOnTopStackLocation()
248 assertEquals(pinnedStack, display.getTopStack()); in testAlwaysOnTopStackLocation()
DRootActivityContainerTests.java131 ActivityStack pinnedStack = display.getPinnedStack(); in testReplacingTaskInPinnedStack() local
133 ensureStackPlacement(pinnedStack, firstTask); in testReplacingTaskInPinnedStack()
141 pinnedStack = display.getPinnedStack(); in testReplacingTaskInPinnedStack()
144 ensureStackPlacement(pinnedStack, secondTask); in testReplacingTaskInPinnedStack()
254 final ActivityStack pinnedStack = mRootActivityContainer.getDefaultDisplay().createStack( in testFocusability() local
257 .setStack(pinnedStack).build(); in testFocusability()
260 assertFalse(pinnedStack.isFocusable()); in testFocusability()
267 assertTrue(pinnedStack.isFocusable()); in testFocusability()
271 pinnedStack.removeTask(pinnedActivity.getTaskRecord(), "testFocusability", in testFocusability()
273 assertFalse(pinnedStack.isFocusable()); in testFocusability()
DActivityStackTests.java321 final ActivityStack pinnedStack = createStackForShouldBeVisibleTest(mDefaultDisplay, in testShouldBeVisible_Fullscreen() local
325 assertTrue(pinnedStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Fullscreen()
333 assertTrue(pinnedStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Fullscreen()
339 assertTrue(pinnedStack.shouldBeVisible(null /* starting */)); in testShouldBeVisible_Fullscreen()
543 final ActivityStack pinnedStack = createStackForShouldBeVisibleTest(mDefaultDisplay, in testGetVisibility_FullscreenBehindTranslucentAndPip() local
550 assertEquals(STACK_VISIBILITY_VISIBLE, pinnedStack.getVisibility(null /* starting */)); in testGetVisibility_FullscreenBehindTranslucentAndPip()
648 final ActivityStack pinnedStack = createStackForShouldBeVisibleTest(mDefaultDisplay, in testMoveHomeStackBehindBottomMostVisibleStack_MoveHomeBehindFullscreen() local
743 final ActivityStack pinnedStack = createStackForShouldBeVisibleTest(mDefaultDisplay, in testSetAlwaysOnTop() local
745 assertEquals(pinnedStack, mDefaultDisplay.getStackAbove(homeStack)); in testSetAlwaysOnTop()
753 assertEquals(pinnedStack, mDefaultDisplay.getStackAbove(alwaysOnTopStack)); in testSetAlwaysOnTop()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedStackController.java508 final TaskStack pinnedStack = mDisplayContent.getPinnedStack(); in notifyMovementBoundsChanged() local
509 if (pinnedStack != null) { in notifyMovementBoundsChanged()
510 pinnedStack.getAnimationOrCurrentBounds(animatingBounds); in notifyMovementBoundsChanged()
DAppWindowToken.java1689 final TaskStack pinnedStack = mDisplayContent.getPinnedStack(); in onConfigurationChanged() local
1690 if (pinnedStack != null) { in onConfigurationChanged()
1692 if (pinnedStack.lastAnimatingBoundsWasToFullscreen()) { in onConfigurationChanged()
1695 stackBounds = pinnedStack.mPreAnimationBounds; in onConfigurationChanged()
1701 pinnedStack.getBounds(stackBounds); in onConfigurationChanged()
1915 final TaskStack pinnedStack = mDisplayContent.getPinnedStack(); in updateAllDrawn() local
1916 if (pinnedStack != null) { in updateAllDrawn()
1917 pinnedStack.onAllWindowsDrawn(); in updateAllDrawn()
DDisplayContent.java2921 final TaskStack pinnedStack = getPinnedStack(); in dump() local
2922 if (pinnedStack != null) { in dump()
2923 pw.println(prefix + "pinnedStack=" + pinnedStack.getName()); in dump()