Searched refs:stableBounds (Results 1 – 2 of 2) sorted by relevance
181 private static Size calculateExpectedSize(Rect stableBounds, boolean fraction) { in calculateExpectedSize() argument187 expectedWidthPx = (int) (stableBounds.width() * DEFAULT_WIDTH_FRACTION); in calculateExpectedSize()188 expectedHeightPx = (int) (stableBounds.height() * DEFAULT_HEIGHT_FRACTION); in calculateExpectedSize()198 final Rect stableBounds = new Rect(maxWindowMetrics.getBounds()); in getStableBounds() local199 stableBounds.inset(maxWindowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in getStableBounds()201 return stableBounds; in getStableBounds()215 final Rect stableBounds = getStableBounds(mWm.getMaximumWindowMetrics()); in validateGravityInfluencesSize() local216 final Size expectedSize = calculateExpectedSize(stableBounds, fraction); in validateGravityInfluencesSize()231 final Rect stableBounds = getStableBounds(mWm.getMaximumWindowMetrics()); in validateGravityInfluencesPosition() local239 verifyFramePosition(vGravity, hGravity, mWindowState.getParentFrame(), stableBounds); in validateGravityInfluencesPosition()[all …]
214 final Rect stableBounds = new Rect(windowMetrics.getBounds()); in testSplashScreenColor() local215 stableBounds.inset(windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in testSplashScreenColor()243 appBounds.intersect(stableBounds); in testSplashScreenColor()