Home
last modified time | relevance | path

Searched refs:parentAppBounds (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java667 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in resolveOverrideConfiguration() local
671 && parentAppBounds != null && !parentAppBounds.isEmpty()) { in resolveOverrideConfiguration()
673 appBounds.intersect(parentAppBounds); in resolveOverrideConfiguration()
DLetterboxUiController.java1312 final Rect parentAppBounds = parentAppBoundsOverride != null in isHorizontalReachabilityEnabled() local
1323 && parentAppBounds.height() <= opaqueActivityBounds.height() in isHorizontalReachabilityEnabled()
1324 && parentAppBounds.width() > opaqueActivityBounds.width(); in isHorizontalReachabilityEnabled()
1351 final Rect parentAppBounds = parentAppBoundsOverride != null in isVerticalReachabilityEnabled() local
1362 && parentAppBounds.width() <= opaqueActivityBounds.width() in isVerticalReachabilityEnabled()
1363 && parentAppBounds.height() > opaqueActivityBounds.height(); in isVerticalReachabilityEnabled()
DActivityRecord.java8773 final Rect parentAppBounds = mResolveConfigHint.mParentAppBoundsOverride; in updateResolvedBoundsPosition() local
8776 final float parentAppBoundsWidth = parentAppBounds.width(); in updateResolvedBoundsPosition()
8802 - screenResolvedBounds.left + parentAppBounds.left); in updateResolvedBoundsPosition()
8806 final float parentAppBoundsHeight = parentAppBounds.height(); in updateResolvedBoundsPosition()
8823 - screenResolvedBounds.top + parentAppBounds.top); in updateResolvedBoundsPosition()
8838 if (resolvedConfig.windowConfiguration.getAppBounds().top == parentAppBounds.top in updateResolvedBoundsPosition()
9073 final Rect parentAppBounds = mResolveConfigHint.mUseOverrideInsetsForConfig in resolveFixedOrientationConfiguration() local
9078 ? parentAppBounds : stableBounds; in resolveFixedOrientationConfiguration()
9182 final Rect parentAppBounds = mResolveConfigHint.mParentAppBoundsOverride; in resolveAspectRatioRestriction() local
9188 mIsAspectRatioApplied = applyAspectRatio(mTmpBounds, parentAppBounds, parentBounds); in resolveAspectRatioRestriction()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java811 final Rect parentAppBounds = new Rect(0, 0, 250, 480); in testComputeConfigResourceOverrides() local
813 parentConfig.windowConfiguration.setAppBounds(parentAppBounds); in testComputeConfigResourceOverrides()
824 assertEquals(parentAppBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()