Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowMetricsTestHelper.java47 WindowMetrics maxMetrics, Rect layoutBounds, WindowInsets layoutInsets) { in assertMetricsMatchesLayout() argument
48 assertMetricsMatchesLayout(currentMetrics, maxMetrics, layoutBounds, layoutInsets, in assertMetricsMatchesLayout()
53 WindowMetrics maxMetrics, Rect layoutBounds, WindowInsets layoutInsets, in assertMetricsMatchesLayout() argument
71 assertTrue(maxMetrics.getBounds().width() in assertMetricsMatchesLayout()
73 assertTrue(maxMetrics.getBounds().height() in assertMetricsMatchesLayout()
100 final WindowMetrics maxMetrics = windowManager.getMaximumWindowMetrics(); in assertMetricsValidity() local
101 final Rect maxBounds = maxMetrics.getBounds(); in assertMetricsValidity()
103 assertMetricsMatchDisplay(maxMetrics, currentMetrics, display, isFreeForm); in assertMetricsValidity()
138 WindowMetrics maxMetrics, in assertMetricsMatchDisplay() argument
157 final Rect maxBounds = maxMetrics.getBounds(); in assertMetricsMatchDisplay()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowMetricsActivityTests.java243 final Supplier<WindowMetrics> maxMetrics = in assertMetricsMatchesLayout() local
255 WindowMetricsTestHelper.assertMetricsMatchesLayout(currentMetrics.get(), maxMetrics.get(), in assertMetricsMatchesLayout()
307 final WindowMetrics maxMetrics = windowManager.getMaximumWindowMetrics(); in assertMetricsValidityForNonresizableActivity() local
312 assertMetricsMatchDisplay(maxMetrics, currentMetrics, display, shouldBoundsIncludeInsets); in assertMetricsValidityForNonresizableActivity()
DWindowMetricsWindowContextTests.java106 final WindowMetrics maxMetrics = mWm.getMaximumWindowMetrics(); in assertWindowContextMetricsMatchesLayout() local
108 assertMetricsMatchesLayout(currentMetrics, maxMetrics, in assertWindowContextMetricsMatchesLayout()