Home
last modified time | relevance | path

Searched refs:shouldSplitHorizontally (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
H A DEmbeddingTestUtils.java72 static Rect getSplitBounds(boolean isPrimary, boolean shouldSplitHorizontally) { in getSplitBounds() argument
74 (shouldSplitHorizontally ? TASK_BOUNDS.height() : TASK_BOUNDS.width()) in getSplitBounds()
76 if (shouldSplitHorizontally) { in getSplitBounds()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DSplitPresenter.java905 final int startPoint = shouldSplitHorizontally(splitAttributes) in computeBoundaryBetweenContainers()
908 final int dimen = shouldSplitHorizontally(splitAttributes) in computeBoundaryBetweenContainers()
977 private static boolean shouldSplitHorizontally(SplitAttributes splitAttributes) { in shouldSplitHorizontally() method in SplitPresenter
1049 return shouldSplitHorizontally(splitAttributes) == isFoldingAreaHorizontal(foldingFeature); in shouldSplitByHinge()