Searched refs:minDimensions (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskFragmentContainer.java | 977 final Size minDimensions = SplitPresenter.getMinDimensions(activity); in getMinDimensions() local 978 if (minDimensions == null) { in getMinDimensions() 981 maxMinWidth = Math.max(maxMinWidth, minDimensions.getWidth()); in getMinDimensions() 982 maxMinHeight = Math.max(maxMinHeight, minDimensions.getHeight()); in getMinDimensions() 985 final Size minDimensions = SplitPresenter.getMinDimensions(mPendingAppearedIntent); in getMinDimensions() local 986 if (minDimensions != null) { in getMinDimensions() 987 maxMinWidth = Math.max(maxMinWidth, minDimensions.getWidth()); in getMinDimensions() 988 maxMinHeight = Math.max(maxMinHeight, minDimensions.getHeight()); in getMinDimensions()
|
D | SplitPresenter.java | 634 @Nullable Size minDimensions) { in applyActivityStackAttributes() argument 635 final Rect relativeBounds = sanitizeBounds(attributes.getRelativeBounds(), minDimensions, in applyActivityStackAttributes() 887 @Nullable Size minDimensions) { in boundsSmallerThanMinDimensions() argument 888 if (minDimensions == null) { in boundsSmallerThanMinDimensions() 895 return bounds.width() < minDimensions.getWidth() in boundsSmallerThanMinDimensions() 896 || bounds.height() < minDimensions.getHeight(); in boundsSmallerThanMinDimensions()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskFragment.java | 748 final Point minDimensions = activity.getMinDimensions(); in smallerThanMinDimension() local 749 if (minDimensions == null) { in smallerThanMinDimension() 752 final int minWidth = minDimensions.x; in smallerThanMinDimension() 753 final int minHeight = minDimensions.y; in smallerThanMinDimension() 2856 final Point minDimensions = a.getMinDimensions(); in calculateMinDimension() 2857 if (minDimensions == null) { in calculateMinDimension() 2860 maxMinWidth[0] = Math.max(maxMinWidth[0], minDimensions.x); in calculateMinDimension() 2861 maxMinHeight[0] = Math.max(maxMinHeight[0], minDimensions.y); in calculateMinDimension()
|
D | WindowOrganizerController.java | 1003 final Point minDimensions = taskFragment.calculateMinDimension(); in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded() local 1004 if (inOutRelativeBounds.width() < minDimensions.x in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded() 1005 || inOutRelativeBounds.height() < minDimensions.y) { in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded() 1009 + minDimensions); in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStarterTests.java | 1450 final Size minDimensions = new Size(1000, 1000); in testCanEmbedActivity() local 1452 minDimensions.getWidth(), minDimensions.getHeight()); in testCanEmbedActivity() 1494 taskFragment.setBounds(0, 0, minDimensions.getWidth() - 1, minDimensions.getHeight() - 1); in testCanEmbedActivity()
|