Home
last modified time | relevance | path

Searched refs:displayAreaBounds (Results 1 – 2 of 2) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowMetricsTestHelper.java81 public static void assertMetricsValidity(Context context, Rect displayAreaBounds) { in assertMetricsValidity() argument
96 if (maxWindowBoundsSandboxed(displayAreaBounds, maxBounds)) { in assertMetricsValidity()
105 displayAreaBounds, maxBounds); in assertMetricsValidity()
152 static boolean maxWindowBoundsSandboxed(Rect displayAreaBounds, Rect maxBounds) { in maxWindowBoundsSandboxed() argument
153 return maxBounds.width() < displayAreaBounds.width() in maxWindowBoundsSandboxed()
154 || maxBounds.height() < displayAreaBounds.height(); in maxWindowBoundsSandboxed()
DWindowMetricsActivityTests.java328 final Rect displayAreaBounds = getTaskDisplayAreaBounds(activityName); in assertMetricsValidityForNonresizableActivity() local
331 if (maxWindowBoundsSandboxed(displayAreaBounds, maxBounds)) { in assertMetricsValidityForNonresizableActivity()
338 assertEquals("Display area bounds must match max window size", displayAreaBounds, in assertMetricsValidityForNonresizableActivity()