Searched refs:maxWindowMetrics (Results 1 – 3 of 3) sorted by relevance
176 final WindowMetrics maxWindowMetrics = in testDisplayCapture() local185 mVirtualDisplay = createVirtualDisplay(maxWindowMetrics.getBounds(), "testDisplayCapture"); in testDisplayCapture()208 final WindowMetrics maxWindowMetrics = in testDisplayCapture_rotation() local218 mVirtualDisplay = createVirtualDisplay(maxWindowMetrics.getBounds(), in testDisplayCapture_rotation()245 final WindowMetrics maxWindowMetrics = in testSingleAppCapture() local254 mVirtualDisplay = createVirtualDisplay(maxWindowMetrics.getBounds(), in testSingleAppCapture()
218 Rect maxWindowMetrics = mActivity.getSystemService( in testCallbackOnCapturedContentResize() local221 new Point(maxWindowMetrics.width(), maxWindowMetrics.height())); in testCallbackOnCapturedContentResize()
197 private static @NonNull Rect getStableBounds(@NonNull WindowMetrics maxWindowMetrics) { in getStableBounds() argument198 final Rect stableBounds = new Rect(maxWindowMetrics.getBounds()); in getStableBounds()199 stableBounds.inset(maxWindowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in getStableBounds()