Searched refs:stableBounds (Results 1 – 2 of 2) sorted by relevance
150 final Rect stableBounds = new Rect(windowMetrics.getBounds()); in testLayout() local151 stableBounds.inset(windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in testLayout()158 expectedWidthPx = (int) (stableBounds.width() * DEFAULT_WIDTH_FRACTION); in testLayout()159 expectedHeightPx = (int) (stableBounds.height() * DEFAULT_HEIGHT_FRACTION); in testLayout()167 containingRect, stableBounds); in testLayout()
176 final Rect stableBounds = new Rect(windowMetrics.getBounds()); in testSplashScreenColor() local179 stableBounds.inset(insets); in testSplashScreenColor()207 appBounds.intersect(stableBounds); in testSplashScreenColor()