Searched refs:currentBounds (Results 1 – 3 of 3) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowMetricsTestHelper.java | 87 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()
|
D | WindowContextTests.java | 224 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()
|
D | WindowMetricsActivityTests.java | 320 final Rect currentBounds = boundsShouldIncludeInsets ? currentMetrics.getBounds() in assertMetricsValidityForNonresizableActivity() local 325 assertBoundsMatchDisplay(maxBounds, currentBounds, display); in assertMetricsValidityForNonresizableActivity()
|