Searched refs:secondaryBounds (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | SplitPresenterTest.java | 374 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 …]
|
D | DividerPresenterTest.java | 493 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()
|
D | SplitControllerTest.java | 1821 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/ |
D | DividerPresenter.java | 364 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());
|
D | SplitPresenter.java | 829 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/ |
D | WindowTestsBase.java | 1852 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()
|