Searched refs:parentAppBounds (Results 1 – 3 of 3) sorted by relevance
565 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in resolveOverrideConfiguration() local569 && parentAppBounds != null && !parentAppBounds.isEmpty()) { in resolveOverrideConfiguration()571 appBounds.intersect(parentAppBounds); in resolveOverrideConfiguration()
8331 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in updateResolvedBoundsPosition() local8339 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() local8647 mIsAspectRatioApplied = applyAspectRatio(mTmpBounds, parentAppBounds, parentBounds); in resolveAspectRatioRestriction()
664 final Rect parentAppBounds = new Rect(0, 0, 250, 480); in testComputeConfigResourceOverrides() local666 parentConfig.windowConfiguration.setAppBounds(parentAppBounds); in testComputeConfigResourceOverrides()677 assertEquals(parentAppBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()