Searched refs:appBounds (Results 1 – 4 of 4) sorted by relevance
169 final Rect appBounds = mWm.computeNewConfiguration( in testAppBounds_RootConfigurationBounds() local176 assertEquals(expectedLeft, appBounds.left); in testAppBounds_RootConfigurationBounds()177 assertEquals(expectedTop, appBounds.top); in testAppBounds_RootConfigurationBounds()180 assertEquals(info.appWidth, appBounds.width()); in testAppBounds_RootConfigurationBounds()181 assertEquals(info.appHeight, appBounds.height()); in testAppBounds_RootConfigurationBounds()
480 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testSizeCompatMode_FixedAspectRatioBoundsWithDecor() local482 assertEquals(appBounds.width(), appBounds.height()); in testSizeCompatMode_FixedAspectRatioBoundsWithDecor()484 assertEquals(mActivity.getBounds().height(), appBounds.height() + decorHeight); in testSizeCompatMode_FixedAspectRatioBoundsWithDecor()489 assertEquals(appBounds.width(), appBounds.height()); in testSizeCompatMode_FixedAspectRatioBoundsWithDecor()491 assertEquals(mActivity.getBounds().width(), appBounds.width() + decorHeight); in testSizeCompatMode_FixedAspectRatioBoundsWithDecor()
603 final Rect appBounds = configuration != null in getMetricsWithSize() local605 width = appBounds != null ? appBounds.width() : width; in getMetricsWithSize()606 height = appBounds != null ? appBounds.height() : height; in getMetricsWithSize()
1809 final Rect appBounds = getWindowConfiguration().getAppBounds(); in calculateCompatBoundsTransformation() local1810 final Rect contentBounds = appBounds != null ? appBounds : getResolvedOverrideBounds(); in calculateCompatBoundsTransformation()