Home
last modified time | relevance | path

Searched refs:mPinnedStack (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackContainersTests.java46 private TaskStack mPinnedStack; field in TaskStackContainersTests
50 mPinnedStack = createTaskStackOnDisplay( in setUp()
53 final Task pinnedTask = createTaskInStack(mPinnedStack, 0 /* userId */); in setUp()
54 assertFalse(mPinnedStack.isVisible()); in setUp()
58 assertTrue(mPinnedStack.isVisible()); in setUp()
63 mPinnedStack.removeImmediately(); in tearDown()
76 final int pinnedStackPos = taskStackContainer.mChildren.indexOf(mPinnedStack); in testStackPositionChildAt()
80 taskStackContainer.positionChildAt(WindowContainer.POSITION_BOTTOM, mPinnedStack, false); in testStackPositionChildAt()
83 assertEquals(taskStackContainer.mChildren.get(pinnedStackPos), mPinnedStack); in testStackPositionChildAt() local
85 taskStackContainer.positionChildAt(1, mPinnedStack, false); in testStackPositionChildAt()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityDisplay.java153 private ActivityStack mPinnedStack = null; field in ActivityDisplay
346 return (T) mPinnedStack; in getStack()
711 if (mPinnedStack != null && mPinnedStack != stack) { in addStackReferenceIfNeeded()
713 + mPinnedStack + " already exist on display=" + this in addStackReferenceIfNeeded()
716 mPinnedStack = stack; in addStackReferenceIfNeeded()
733 } else if (stack == mPinnedStack) { in removeStackReferenceIfNeeded()
734 mPinnedStack = null; in removeStackReferenceIfNeeded()
1073 return mPinnedStack; in getPinnedStack()
1077 return mPinnedStack != null; in hasPinnedStack()
1460 if (mPinnedStack != null) { in dump()
[all …]
DDisplayContent.java4116 private TaskStack mPinnedStack = null; field in DisplayContent.TaskStackContainers
4132 return mPinnedStack; in getStack()
4165 return mPinnedStack; in getPinnedStack()
4194 if (stack == mPinnedStack && getTopStack() != stack) { in onStackWindowingModeChanged()
4211 if (mPinnedStack != null) { in addStackReferenceIfNeeded()
4213 + mPinnedStack + " already exist on display=" + this in addStackReferenceIfNeeded()
4216 mPinnedStack = stack; in addStackReferenceIfNeeded()
4231 } else if (stack == mPinnedStack) { in removeStackReferenceIfNeeded()
4232 mPinnedStack = null; in removeStackReferenceIfNeeded()
4323 maxPosition = getStacks().indexOf(mPinnedStack) - 1; in findPositionForStack()