Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowMetricsTestHelper.java87 final Rect currentBounds = in assertMetricsValidity() local
93 assertBoundsMatchDisplay(maxBounds, currentBounds, display); in assertMetricsValidity()
100 currentBounds, maxBounds); in assertMetricsValidity()
121 static void assertBoundsMatchDisplay(Rect maxBounds, Rect currentBounds, Display display) { in assertBoundsMatchDisplay() argument
126 displaySize.x, currentBounds.width()); in assertBoundsMatchDisplay()
128 displaySize.y, currentBounds.height()); in assertBoundsMatchDisplay()
DWindowContextTests.java224 final Rect currentBounds = wm.getCurrentWindowMetrics().getBounds(); in testWindowProviderServiceLifecycle() local
230 waitAndAssertWindowMetricsBoundsMatches(service, currentBounds, maxBounds, in testWindowProviderServiceLifecycle()
237 private void waitAndAssertWindowMetricsBoundsMatches(Context context, Rect currentBounds, in waitAndAssertWindowMetricsBoundsMatches() argument
243 return currentBounds.equals(currentWindowBounds) && maxBounds.equals(maxWindowBounds); in waitAndAssertWindowMetricsBoundsMatches()
DWindowMetricsActivityTests.java320 final Rect currentBounds = boundsShouldIncludeInsets ? currentMetrics.getBounds() in assertMetricsValidityForNonresizableActivity() local
325 assertBoundsMatchDisplay(maxBounds, currentBounds, display); in assertMetricsValidityForNonresizableActivity()