Searched refs:featureRect (Results 1 – 2 of 2) sorted by relevance
147 Rect featureRect = displayFeature.getRect(); in testSidecarInterface_getWindowLayoutInfo() local149 assertHasNonNegativeDimensions(featureRect); in testSidecarInterface_getWindowLayoutInfo()151 assertNotBothDimensionsZero(featureRect); in testSidecarInterface_getWindowLayoutInfo()153 assertTrue(getActivityBounds(mActivity).contains(featureRect)); in testSidecarInterface_getWindowLayoutInfo()
290 final Rect featureRect = displayFeature.getBounds(); in testWindowLayoutComponent_providesWindowLayoutFromActivity() local292 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() local329 assertHasNonNegativeDimensions(featureRect); in testWindowLayoutComponent_providesWindowLayoutFromWindowContext()330 assertNotBothDimensionsZero(featureRect); in testWindowLayoutComponent_providesWindowLayoutFromWindowContext()331 assertTrue(currentMetrics.getBounds().contains(featureRect)); in testWindowLayoutComponent_providesWindowLayoutFromWindowContext()