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.java133 ActivityStack pinnedStack = display.getPinnedStack(); in testReplacingTaskInPinnedStack() local
135 ensureStackPlacement(pinnedStack, firstTask); in testReplacingTaskInPinnedStack()
143 pinnedStack = display.getPinnedStack(); in testReplacingTaskInPinnedStack()
146 ensureStackPlacement(pinnedStack, secondTask); in testReplacingTaskInPinnedStack()
256 final ActivityStack pinnedStack = mRootActivityContainer.getDefaultDisplay().createStack( in testFocusability() local
259 .setStack(pinnedStack).build(); in testFocusability()
262 assertFalse(pinnedStack.isFocusable()); in testFocusability()
269 assertTrue(pinnedStack.isFocusable()); in testFocusability()
273 pinnedStack.removeTask(pinnedActivity.getTaskRecord(), "testFocusability", in testFocusability()
275 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.java1705 final TaskStack pinnedStack = mDisplayContent.getPinnedStack(); in onConfigurationChanged() local
1706 if (pinnedStack != null) { in onConfigurationChanged()
1708 if (pinnedStack.lastAnimatingBoundsWasToFullscreen()) { in onConfigurationChanged()
1711 stackBounds = pinnedStack.mPreAnimationBounds; in onConfigurationChanged()
1717 pinnedStack.getBounds(stackBounds); in onConfigurationChanged()
1931 final TaskStack pinnedStack = mDisplayContent.getPinnedStack(); in updateAllDrawn() local
1932 if (pinnedStack != null) { in updateAllDrawn()
1933 pinnedStack.onAllWindowsDrawn(); in updateAllDrawn()
DDisplayContent.java2931 final TaskStack pinnedStack = getPinnedStack(); in dump() local
2932 if (pinnedStack != null) { in dump()
2933 pw.println(prefix + "pinnedStack=" + pinnedStack.getName()); in dump()