Searched refs:maxBounds (Results 1 – 5 of 5) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowMetricsTestHelper.java | 91 final Rect maxBounds = windowManager.getMaximumWindowMetrics().getBounds(); in assertMetricsValidity() local 93 assertBoundsMatchDisplay(maxBounds, currentBounds, display); in assertMetricsValidity() 96 if (maxWindowBoundsSandboxed(displayAreaBounds, maxBounds)) { in assertMetricsValidity() 100 currentBounds, maxBounds); in assertMetricsValidity() 105 displayAreaBounds, maxBounds); in assertMetricsValidity() 121 static void assertBoundsMatchDisplay(Rect maxBounds, Rect currentBounds, Display display) { in assertBoundsMatchDisplay() argument 134 realDisplaySize.x, maxBounds.width()); in assertBoundsMatchDisplay() 136 realDisplaySize.y, maxBounds.height()); in assertBoundsMatchDisplay() 152 static boolean maxWindowBoundsSandboxed(Rect displayAreaBounds, Rect maxBounds) { in maxWindowBoundsSandboxed() argument 153 return maxBounds.width() < displayAreaBounds.width() in maxWindowBoundsSandboxed() [all …]
|
D | WindowMetricsActivityTests.java | 322 final Rect maxBounds = windowManager.getMaximumWindowMetrics().getBounds(); in assertMetricsValidityForNonresizableActivity() local 325 assertBoundsMatchDisplay(maxBounds, currentBounds, display); in assertMetricsValidityForNonresizableActivity() 332 if (maxWindowBoundsSandboxed(displayAreaBounds, maxBounds)) { in assertMetricsValidityForNonresizableActivity() 335 + "activity bounds, when sandboxed", activityBounds, maxBounds); in assertMetricsValidityForNonresizableActivity() 340 maxBounds); in assertMetricsValidityForNonresizableActivity()
|
D | WindowContextTests.java | 225 final Rect maxBounds = wm.getMaximumWindowMetrics().getBounds(); in testWindowProviderServiceLifecycle() local 230 waitAndAssertWindowMetricsBoundsMatches(service, currentBounds, maxBounds, in testWindowProviderServiceLifecycle() 238 Rect maxBounds, String message) { in waitAndAssertWindowMetricsBoundsMatches() argument 243 return currentBounds.equals(currentWindowBounds) && maxBounds.equals(maxWindowBounds); in waitAndAssertWindowMetricsBoundsMatches()
|
D | CompatChangeTests.java | 492 final Rect maxBounds = activity.getMaxBounds(); in assertSandboxed() local 498 activityBounds, maxBounds); in assertSandboxed() 502 tda.getBounds(), maxBounds); in assertSandboxed()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ProtoExtractors.java | 57 config.setMaxBounds(extract(proto.maxBounds)); in extract()
|