Home
last modified time | relevance | path

Searched refs:createMockTaskFragmentInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DTaskFragmentContainerTest.java19 import static androidx.window.extensions.embedding.EmbeddingTestUtils.createMockTaskFragmentInfo;
156 final TaskFragmentInfo info = createMockTaskFragmentInfo(container0, mActivity); in testFinish_notFinishActivityThatIsReparenting()
177 final TaskFragmentInfo info0 = createMockTaskFragmentInfo(container0, mActivity); in testFinish_alwaysFinishPlaceholder()
182 final TaskFragmentInfo info1 = createMockTaskFragmentInfo(container1, placeholderActivity); in testFinish_alwaysFinishPlaceholder()
215 final TaskFragmentInfo info0 = createMockTaskFragmentInfo(pendingActivityContainer, in testSetInfo()
227 final TaskFragmentInfo info1 = createMockTaskFragmentInfo(pendingIntentContainer, in testSetInfo()
595 TaskFragmentInfo info = createMockTaskFragmentInfo(container, mActivity, in testIsVisible()
601 info = createMockTaskFragmentInfo(container, mActivity, false /* isVisible */); in testIsVisible()
DEmbeddingTestUtils.java166 static TaskFragmentInfo createMockTaskFragmentInfo(@NonNull TaskFragmentContainer container, in createMockTaskFragmentInfo() method in EmbeddingTestUtils
168 return createMockTaskFragmentInfo(container, activity, true /* isVisible */); in createMockTaskFragmentInfo()
172 static TaskFragmentInfo createMockTaskFragmentInfo(@NonNull TaskFragmentContainer container, in createMockTaskFragmentInfo() method in EmbeddingTestUtils
DSplitControllerTest.java39 import static androidx.window.extensions.embedding.EmbeddingTestUtils.createMockTaskFragmentInfo;
1367 bottomTf.setInfo(mTransaction, createMockTaskFragmentInfo(bottomTf, mActivity, in testLaunchPlaceholderIfNecessary_embeddedBelowTaskFragment()
1369 topTf.setInfo(mTransaction, createMockTaskFragmentInfo(topTf, createMockActivity())); in testLaunchPlaceholderIfNecessary_embeddedBelowTaskFragment()
1386 bottomTf.setInfo(mTransaction, createMockTaskFragmentInfo(bottomTf, mActivity, in testLaunchPlaceholderIfNecessary_embeddedBelowTransparentTaskFragment()
1388 topTf.setInfo(mTransaction, createMockTaskFragmentInfo(topTf, createMockActivity())); in testLaunchPlaceholderIfNecessary_embeddedBelowTransparentTaskFragment()
1413 tf.setInfo(mTransaction, createMockTaskFragmentInfo(tf, mActivity)); in testFinishActivityStacks_finishSingleActivityStack()
1428 bottomTf.setInfo(mTransaction, createMockTaskFragmentInfo(bottomTf, mActivity)); in testFinishActivityStacks_finishActivityStacksInOrder()
1429 topTf.setInfo(mTransaction, createMockTaskFragmentInfo(topTf, createMockActivity())); in testFinishActivityStacks_finishActivityStacksInOrder()
1696 final TaskFragmentInfo info = createMockTaskFragmentInfo(container, activity); in setupTaskFragmentInfo()
DSplitPresenterTest.java31 import static androidx.window.extensions.embedding.EmbeddingTestUtils.createMockTaskFragmentInfo;
691 primaryTf.setInfo(mTransaction, createMockTaskFragmentInfo(primaryTf, mActivity)); in testExpandSplitContainerIfNeeded()
693 createMockTaskFragmentInfo(secondaryTf, secondaryActivity)); in testExpandSplitContainerIfNeeded()
DOverlayPresentationTest.java28 import static androidx.window.extensions.embedding.EmbeddingTestUtils.createMockTaskFragmentInfo;
765 overlayWithAssociation.setInfo(mTransaction, createMockTaskFragmentInfo( in testFinishSelfWithActivityIfNeeded()
953 final TaskFragmentInfo info = createMockTaskFragmentInfo(container, activity, isVisible); in setupTaskFragmentInfo()