Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DSplitPresenter.java376 boolean isStacked = !shouldShowSplit(splitAttributes); in setAdjacentTaskFragments()
587 if (!shouldShowSplit(splitAttributes)) { in expandSplitContainerIfNeeded()
608 static boolean shouldShowSplit(@NonNull SplitContainer splitContainer) { in shouldShowSplit() method in SplitPresenter
609 return shouldShowSplit(splitContainer.getCurrentSplitAttributes()); in shouldShowSplit()
612 static boolean shouldShowSplit(@NonNull SplitAttributes splitAttributes) { in shouldShowSplit() method in SplitPresenter
732 if (!shouldShowSplit(splitAttributes)) { in getRelBoundsForPosition()
758 if (!shouldShowSplit(computedSplitAttributes)) { in getPrimaryBounds()
798 if (!shouldShowSplit(computedSplitAttributes)) { in getSecondaryBounds()
H A DSplitController.java46 import static androidx.window.extensions.embedding.SplitPresenter.shouldShowSplit;
251 if (!SplitPresenter.shouldShowSplit(calculatedSplitAttributes)) { in pinTopActivityStack()
1854 if (!SplitPresenter.shouldShowSplit(splitAttributes)) { in launchPlaceholderIfNecessary()
1937 if (SplitPresenter.shouldShowSplit(splitAttributes)) { in dismissPlaceholderIfNecessary()
2188 if (shouldShowSplit(splitContainer)) { in shouldRetainAssociatedContainer()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
H A DSplitPresenterTest.java278 assertTrue(SplitPresenter.shouldShowSplit(SPLIT_ATTRIBUTES)); in testShouldShowSideBySide()
284 assertFalse(SplitPresenter.shouldShowSplit(expandContainers)); in testShouldShowSideBySide()