Home
last modified time | relevance | path

Searched refs:featureRect (Results 1 – 2 of 2) sorted by relevance

/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/
DSidecarTest.java147 Rect featureRect = displayFeature.getRect(); in testSidecarInterface_getWindowLayoutInfo() local
149 assertHasNonNegativeDimensions(featureRect); in testSidecarInterface_getWindowLayoutInfo()
151 assertNotBothDimensionsZero(featureRect); in testSidecarInterface_getWindowLayoutInfo()
153 assertTrue(getActivityBounds(mActivity).contains(featureRect)); in testSidecarInterface_getWindowLayoutInfo()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/layout/
DExtensionWindowLayoutComponentTest.java290 final Rect featureRect = displayFeature.getBounds(); in testWindowLayoutComponent_providesWindowLayoutFromActivity() local
292 assertHasNonNegativeDimensions(featureRect); in testWindowLayoutComponent_providesWindowLayoutFromActivity()
294 assertNotBothDimensionsZero(featureRect); in testWindowLayoutComponent_providesWindowLayoutFromActivity()
296 assertTrue(getActivityBounds(activity).contains(featureRect)); in testWindowLayoutComponent_providesWindowLayoutFromActivity()
328 final Rect featureRect = displayFeature.getBounds(); in testWindowLayoutComponent_providesWindowLayoutFromWindowContext() local
329 assertHasNonNegativeDimensions(featureRect); in testWindowLayoutComponent_providesWindowLayoutFromWindowContext()
330 assertNotBothDimensionsZero(featureRect); in testWindowLayoutComponent_providesWindowLayoutFromWindowContext()
331 assertTrue(currentMetrics.getBounds().contains(featureRect)); in testWindowLayoutComponent_providesWindowLayoutFromWindowContext()