Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DDisplayCutoutTests.java304 final Rect appBounds = getAppBounds(a); in testDisplayCutout_shortEdges()
308 if (appBounds.height() > appBounds.width()) { in testDisplayCutout_shortEdges()
311 } else if (appBounds.height() < appBounds.width()) { in testDisplayCutout_shortEdges()
452 final Rect appBounds = getAppBounds(activity); in assertCutoutsAreConsistentWithInsets() local
453 assertCutoutIsConsistentWithInset(TOP, cutout, cutout.getSafeInsetTop(), appBounds); in assertCutoutsAreConsistentWithInsets()
454 assertCutoutIsConsistentWithInset(BOTTOM, cutout, cutout.getSafeInsetBottom(), appBounds); in assertCutoutsAreConsistentWithInsets()
455 assertCutoutIsConsistentWithInset(LEFT, cutout, cutout.getSafeInsetLeft(), appBounds); in assertCutoutsAreConsistentWithInsets()
456 assertCutoutIsConsistentWithInset(RIGHT, cutout, cutout.getSafeInsetRight(), appBounds); in assertCutoutsAreConsistentWithInsets()
499 final Rect appBounds = getAppBounds(activity); in assertOnlyShortEdgeHasInsets() local
500 if (appBounds.height() > appBounds.width()) { in assertOnlyShortEdgeHasInsets()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DSplashscreenTests.java221 final Rect appBounds; in testSplashScreenColor() local
223 appBounds = new Rect(startingWindowBounds); in testSplashScreenColor()
225 appBounds = new Rect(startingWindow.getFrame()); in testSplashScreenColor()
229 insetsSource -> (insetsSource.is(WindowInsets.Type.captionBar())), appBounds); in testSplashScreenColor()
232 appBounds.isEmpty()); in testSplashScreenColor()
240 ignoreRect.offsetTo(appBounds.centerX() - ignoreRect.width() / 2, in testSplashScreenColor()
241 appBounds.centerY() - ignoreRect.height() / 2); in testSplashScreenColor()
243 appBounds.intersect(stableBounds); in testSplashScreenColor()
244 assertColors(image, appBounds, primaryColor, 0.99f, secondaryColor, 0.02f, ignoreRect); in testSplashScreenColor()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DProtoExtractors.java55 config.setAppBounds(extract(proto.appBounds)); in extract()