Searched refs:displayBounds (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskLaunchParamsModifier.java | 586 Rect displayBounds = display.getBounds(); in getDefaultFreeformSize() local 587 final int portraitHeight = Math.min(displayBounds.width(), displayBounds.height()); in getDefaultFreeformSize() 588 final int otherDimension = Math.max(displayBounds.width(), displayBounds.height()); in getDefaultFreeformSize() 632 final Rect displayBounds = display.getBounds(); in adjustBoundsToFitInDisplay() local 634 if (displayBounds.width() < inOutBounds.width() in adjustBoundsToFitInDisplay() 635 || displayBounds.height() < inOutBounds.height()) { in adjustBoundsToFitInDisplay() 641 ? displayBounds.width() - inOutBounds.width() in adjustBoundsToFitInDisplay() 648 if (inOutBounds.right > displayBounds.right) { in adjustBoundsToFitInDisplay() 650 dx = displayBounds.right - inOutBounds.right; in adjustBoundsToFitInDisplay() 651 } else if (inOutBounds.left < displayBounds.left) { in adjustBoundsToFitInDisplay() [all …]
|
D | ActivityRecord.java | 2942 final Rect displayBounds = mTmpBounds; in resolveSizeCompatModeConfiguration() local 2947 mCompatDisplayInsets.getDisplayBoundsByOrientation(displayBounds, orientation); in resolveSizeCompatModeConfiguration() 2955 mCompatDisplayInsets.getDisplayBoundsByOrientation(displayBounds, baseOrientation); in resolveSizeCompatModeConfiguration() 2956 task.computeFullscreenBounds(containingAppBounds, this, displayBounds, baseOrientation); in resolveSizeCompatModeConfiguration() 2964 containingAppBounds.set(displayBounds); in resolveSizeCompatModeConfiguration() 2968 TaskRecord.intersectWithInsetsIfFits(containingAppBounds, displayBounds, in resolveSizeCompatModeConfiguration() 2975 resolvedBounds.set(useParentOverrideBounds ? containingAppBounds : displayBounds); in resolveSizeCompatModeConfiguration()
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | ResizeSplitScreenTest.java | 95 Rect displayBounds = getDisplayBounds(); in checkPosition_appsStartingBounds() local 109 displayBounds.right, in checkPosition_appsStartingBounds() 110 displayBounds.bottom - getNavigationBarHeight()); in checkPosition_appsStartingBounds() 124 Rect displayBounds = getDisplayBounds(); in checkPosition_appsEndingBounds() local 139 displayBounds.right, in checkPosition_appsEndingBounds() 140 displayBounds.bottom - getNavigationBarHeight()); in checkPosition_appsEndingBounds()
|
D | NonRotationTestBase.java | 60 Rect displayBounds = getDisplayBounds(mBeginRotation); in checkCoveredRegion_noUncoveredRegions() local 62 displayBounds).forAllEntries()); in checkCoveredRegion_noUncoveredRegions()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 911 final Rect displayBounds = freeformDisplay.getBounds(); in testDefaultFreeformSizeCenteredToDisplay() local 913 mResult.mBounds.left - displayBounds.left, in testDefaultFreeformSizeCenteredToDisplay() 914 displayBounds.right - mResult.mBounds.right); in testDefaultFreeformSizeCenteredToDisplay() 916 mResult.mBounds.top - displayBounds.top, in testDefaultFreeformSizeCenteredToDisplay() 917 displayBounds.bottom - mResult.mBounds.bottom); in testDefaultFreeformSizeCenteredToDisplay() 936 final Rect displayBounds = freeformDisplay.getBounds(); in testCascadesToSourceSizeForFreeform() local 941 mResult.mBounds.centerX() < displayBounds.centerX()); in testCascadesToSourceSizeForFreeform() 944 mResult.mBounds.centerY() < displayBounds.centerY()); in testCascadesToSourceSizeForFreeform() 963 final Rect displayBounds = freeformDisplay.getBounds(); in testAdjustBoundsToFitDisplay_TopLeftOutOfDisplay() local 965 + displayBounds + " result: " + mResult.mBounds, in testAdjustBoundsToFitDisplay_TopLeftOutOfDisplay() [all …]
|
D | ActivityRecordTests.java | 634 final Rect displayBounds = mStack.getDisplay().getBounds(); in setupDisplayContentForCompatDisplayInsets() local 636 displayBounds.width(), displayBounds.height()); in setupDisplayContentForCompatDisplayInsets()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 209 const Rect& displayBounds = getCompositionDisplay()->getState().bounds; in setProjection() local 210 const int w = displayBounds.width(); in setProjection() 211 const int h = displayBounds.height(); in setProjection() 272 scissor = displayBounds; in setProjection()
|
/frameworks/base/tests/FlickerTests/ |
D | README.md | 55 Rect displayBounds = getDisplayBounds(); 58 assertThat(result).coversRegion(displayBounds).forAllEntries(); 61 assertThat(result).coversRegion(displayBounds).forRange(startTime, endTime); 64 assertThat(result).coversRegion(displayBounds).inTheBeginning(); 67 assertThat(result).coversRegion(displayBounds).atTheEnd();
|