Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java565 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in resolveOverrideConfiguration() local
569 && parentAppBounds != null && !parentAppBounds.isEmpty()) { in resolveOverrideConfiguration()
571 appBounds.intersect(parentAppBounds); in resolveOverrideConfiguration()
DActivityRecord.java8331 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in updateResolvedBoundsPosition() local
8339 if (screenResolvedBounds.width() <= parentAppBounds.width()) { in updateResolvedBoundsPosition()
8342 offsetX = Math.max(0, (int) Math.ceil((parentAppBounds.width() in updateResolvedBoundsPosition()
8347 - screenResolvedBounds.left + parentAppBounds.left); in updateResolvedBoundsPosition()
8354 if (screenResolvedBounds.height() <= parentAppBounds.height()) { in updateResolvedBoundsPosition()
8357 offsetY = Math.max(0, (int) Math.ceil((parentAppBounds.height() in updateResolvedBoundsPosition()
8362 - screenResolvedBounds.top + parentAppBounds.top); in updateResolvedBoundsPosition()
8377 if (resolvedConfig.windowConfiguration.getAppBounds().top == parentAppBounds.top) { in updateResolvedBoundsPosition()
8641 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in resolveAspectRatioRestriction() local
8647 mIsAspectRatioApplied = applyAspectRatio(mTmpBounds, parentAppBounds, parentBounds); in resolveAspectRatioRestriction()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java664 final Rect parentAppBounds = new Rect(0, 0, 250, 480); in testComputeConfigResourceOverrides() local
666 parentConfig.windowConfiguration.setAppBounds(parentAppBounds); in testComputeConfigResourceOverrides()
677 assertEquals(parentAppBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()