Home
last modified time | relevance | path

Searched refs:windowMetrics (Results 1 – 8 of 8) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowMetricsTestHelper.java139 public static Rect getBoundsExcludingNavigationBarAndCutout(WindowMetrics windowMetrics) { in getBoundsExcludingNavigationBarAndCutout() argument
140 WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getBoundsExcludingNavigationBarAndCutout()
144 final Rect bounds = windowMetrics.getBounds(); in getBoundsExcludingNavigationBarAndCutout()
DRoundedCornerTests.java198 final WindowMetrics windowMetrics = getWindowManager().getMaximumWindowMetrics(); in calculateWindowBounds() local
200 return windowMetrics.getBounds(); in calculateWindowBounds()
203 final int width = windowMetrics.getBounds().width(); in calculateWindowBounds()
204 final int height = windowMetrics.getBounds().height(); in calculateWindowBounds()
DManifestLayoutTests.java149 final WindowMetrics windowMetrics = mWm.getMaximumWindowMetrics(); in testLayout() local
150 final Rect stableBounds = new Rect(windowMetrics.getBounds()); in testLayout()
151 stableBounds.inset(windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in testLayout()
DPrivacyIndicatorBoundsTests.java141 final WindowMetrics windowMetrics = getWindowManager().getMaximumWindowMetrics(); in addChildWindow() local
142 mScreenBounds = windowMetrics.getBounds(); in addChildWindow()
DSplashscreenTests.java175 final WindowMetrics windowMetrics = mWm.getMaximumWindowMetrics(); in testSplashScreenColor() local
176 final Rect stableBounds = new Rect(windowMetrics.getBounds()); in testSplashScreenColor()
177 Insets insets = windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in testSplashScreenColor()
DWindowInputTests.java144 final WindowMetrics windowMetrics = wm.getCurrentWindowMetrics(); in testMoveWindowAndTap() local
145 final WindowInsets windowInsets = windowMetrics.getWindowInsets(); in testMoveWindowAndTap()
146 final Rect windowBounds = new Rect(windowMetrics.getBounds()); in testMoveWindowAndTap()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DActivityEmbeddingUtil.java82 Predicate<WindowMetrics> parentWindowMetricsPredicate = windowMetrics -> true; in createWildcardSplitPairRule()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubblesVerifierActivity.java912 WindowMetrics windowMetrics = in performTestAction() local
914 WindowInsets metricInsets = windowMetrics.getWindowInsets(); in performTestAction()