Home
last modified time | relevance | path

Searched refs:secondaryBounds (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DSplitPresenterTest.java374 final Rect secondaryBounds = getSplitBounds(false /* isPrimary */, in testGetRelBoundsForPosition_splitVertically() local
388 secondaryBounds, in testGetRelBoundsForPosition_splitVertically()
400 secondaryBounds, in testGetRelBoundsForPosition_splitVertically()
419 secondaryBounds, in testGetRelBoundsForPosition_splitVertically()
436 final Rect secondaryBounds = getSplitBounds(false /* isPrimary */, in testGetRelBoundsForPosition_splitVertically_isRelativeToParent() local
454 secondaryBounds, in testGetRelBoundsForPosition_splitVertically_isRelativeToParent()
466 secondaryBounds, in testGetRelBoundsForPosition_splitVertically_isRelativeToParent()
485 secondaryBounds, in testGetRelBoundsForPosition_splitVertically_isRelativeToParent()
501 final Rect secondaryBounds = getSplitBounds(false /* isPrimary */, in testGetRelBoundsForPosition_splitHorizontally() local
515 secondaryBounds, in testGetRelBoundsForPosition_splitHorizontally()
[all …]
DDividerPresenterTest.java493 final Rect secondaryBounds = new Rect(600, 0, 1100, 2000); in testCalculateNewSplitRatio_leftToRight() local
499 createMockTaskFragmentContainer(mSecondaryContainerToken, secondaryBounds); in testCalculateNewSplitRatio_leftToRight()
556 final Rect secondaryBounds = new Rect(0, 0, 2000, 500); in testCalculateNewSplitRatio_bottomToTop() local
562 createMockTaskFragmentContainer(mSecondaryContainerToken, secondaryBounds); in testCalculateNewSplitRatio_bottomToTop()
DSplitControllerTest.java1821 final Rect secondaryBounds = matchParentBounds ? new Rect() in assertSplitPair() local
1825 assertTrue(secondaryContainer.areLastRequestedBoundsEqual(secondaryBounds)); in assertSplitPair()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DDividerPresenter.java364 final Rect secondaryBounds = secondaryContainer.getLastRequestedBounds(); in getInitialDividerPosition() local
366 ? Math.min(primaryBounds.right, secondaryBounds.right) in getInitialDividerPosition()
367 : Math.min(primaryBounds.bottom, secondaryBounds.bottom); in getInitialDividerPosition()
1382 Rect secondaryBounds;
1388 secondaryBounds = mProperties.mIsReversedLayout ? boundsLeft : boundsRight;
1395 secondaryBounds = mProperties.mIsReversedLayout ? boundsTop : boundsBottom;
1403 t.setWindowCrop(mSecondaryVeil, secondaryBounds.width(), secondaryBounds.height());
1404 t.setPosition(mSecondaryVeil, secondaryBounds.left, secondaryBounds.top);
1405 t.setVisibility(mSecondaryVeil, !secondaryBounds.isEmpty());
DSplitPresenter.java829 final Rect secondaryBounds = getSecondaryBounds(taskConfiguration, splitAttributes, in sanitizeSplitAttributes() local
832 || boundsSmallerThanMinDimensions(secondaryBounds, minDimensionsPair.second)) { in sanitizeSplitAttributes()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestsBase.java1852 final Rect secondaryBounds = new Rect(); in TestSplitOrganizer() local
1854 display.getBounds().splitVertically(primaryBounds, secondaryBounds); in TestSplitOrganizer()
1856 display.getBounds().splitHorizontally(primaryBounds, secondaryBounds); in TestSplitOrganizer()
1859 mSecondary.setBounds(secondaryBounds); in TestSplitOrganizer()