Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
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()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DSplitPresenter.java1085 final int startPoint = shouldSplitHorizontally(splitAttributes) in computeBoundaryBetweenContainers()
1088 final int dimen = shouldSplitHorizontally(splitAttributes) in computeBoundaryBetweenContainers()
1157 private static boolean shouldSplitHorizontally(SplitAttributes splitAttributes) { in shouldSplitHorizontally() method in SplitPresenter
1218 return shouldSplitHorizontally(splitAttributes) == isFoldingAreaHorizontal(foldingFeature); in shouldSplitByHinge()