Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
H A DEmbeddingTestUtils.java67 static Rect getSplitBounds(boolean isPrimary) { in getSplitBounds() method in EmbeddingTestUtils
68 return getSplitBounds(isPrimary, false /* shouldSplitHorizontally */); in getSplitBounds()
72 static Rect getSplitBounds(boolean isPrimary, boolean shouldSplitHorizontally) { in getSplitBounds() method in EmbeddingTestUtils
190 final Rect primaryBounds = getSplitBounds(true /* isPrimary */); in createActivityInfoWithMinDimensions()
H A DSplitPresenterTest.java34 import static androidx.window.extensions.embedding.EmbeddingTestUtils.getSplitBounds;
330 final Rect primaryBounds = getSplitBounds(true /* isPrimary */, in testGetRelBoundsForPosition_splitVertically()
332 final Rect secondaryBounds = getSplitBounds(false /* isPrimary */, in testGetRelBoundsForPosition_splitVertically()
392 final Rect primaryBounds = getSplitBounds(true /* isPrimary */, in testGetRelBoundsForPosition_splitVertically_isRelativeToParent()
394 final Rect secondaryBounds = getSplitBounds(false /* isPrimary */, in testGetRelBoundsForPosition_splitVertically_isRelativeToParent()
457 final Rect primaryBounds = getSplitBounds(true /* isPrimary */, in testGetRelBoundsForPosition_splitHorizontally()
459 final Rect secondaryBounds = getSplitBounds(false /* isPrimary */, in testGetRelBoundsForPosition_splitHorizontally()
499 final Rect primaryBounds = getSplitBounds(true /* isPrimary */, in testGetRelBoundsForPosition_useHingeFallback()
501 final Rect secondaryBounds = getSplitBounds(false /* isPrimary */, in testGetRelBoundsForPosition_useHingeFallback()
H A DSplitControllerTest.java44 import static androidx.window.extensions.embedding.EmbeddingTestUtils.getSplitBounds;
1661 primaryContainer.setLastRequestedBounds(getSplitBounds(true /* isPrimary */)); in registerSplitPair()
1662 secondaryContainer.setLastRequestedBounds(getSplitBounds(false /* isPrimary */)); in registerSplitPair()
1692 : getSplitBounds(true /* isPrimary */); in assertSplitPair()
1700 : getSplitBounds(false /* isPrimary */); in assertSplitPair()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
H A DRecentTasksControllerTest.java420 assertNotNull(pair.getSplitBounds()); in assertGroupedTasksListEquals()
421 int leftTopTaskId = pair.getSplitBounds().leftTopTaskId; in assertGroupedTasksListEquals()
422 int bottomRightTaskId = pair.getSplitBounds().rightBottomTaskId; in assertGroupedTasksListEquals()
429 assertNull(pair.getSplitBounds()); in assertGroupedTasksListEquals()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/
H A DGroupedRecentTaskInfo.java126 public SplitBounds getSplitBounds() { in getSplitBounds() method in GroupedRecentTaskInfo