Searched refs:windowMetrics (Results 1 – 8 of 8) sorted by relevance
139 public static Rect getBoundsExcludingNavigationBarAndCutout(WindowMetrics windowMetrics) { in getBoundsExcludingNavigationBarAndCutout() argument140 WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getBoundsExcludingNavigationBarAndCutout()144 final Rect bounds = windowMetrics.getBounds(); in getBoundsExcludingNavigationBarAndCutout()
198 final WindowMetrics windowMetrics = getWindowManager().getMaximumWindowMetrics(); in calculateWindowBounds() local200 return windowMetrics.getBounds(); in calculateWindowBounds()203 final int width = windowMetrics.getBounds().width(); in calculateWindowBounds()204 final int height = windowMetrics.getBounds().height(); in calculateWindowBounds()
149 final WindowMetrics windowMetrics = mWm.getMaximumWindowMetrics(); in testLayout() local150 final Rect stableBounds = new Rect(windowMetrics.getBounds()); in testLayout()151 stableBounds.inset(windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in testLayout()
141 final WindowMetrics windowMetrics = getWindowManager().getMaximumWindowMetrics(); in addChildWindow() local142 mScreenBounds = windowMetrics.getBounds(); in addChildWindow()
175 final WindowMetrics windowMetrics = mWm.getMaximumWindowMetrics(); in testSplashScreenColor() local176 final Rect stableBounds = new Rect(windowMetrics.getBounds()); in testSplashScreenColor()177 Insets insets = windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in testSplashScreenColor()
144 final WindowMetrics windowMetrics = wm.getCurrentWindowMetrics(); in testMoveWindowAndTap() local145 final WindowInsets windowInsets = windowMetrics.getWindowInsets(); in testMoveWindowAndTap()146 final Rect windowBounds = new Rect(windowMetrics.getBounds()); in testMoveWindowAndTap()
82 Predicate<WindowMetrics> parentWindowMetricsPredicate = windowMetrics -> true; in createWildcardSplitPairRule()
912 WindowMetrics windowMetrics = in performTestAction() local914 WindowInsets metricInsets = windowMetrics.getWindowInsets(); in performTestAction()