Home
last modified time | relevance | path

Searched refs:appBounds (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java169 final Rect appBounds = mWm.computeNewConfiguration( in testAppBounds_RootConfigurationBounds() local
176 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()
DActivityRecordTests.java480 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testSizeCompatMode_FixedAspectRatioBoundsWithDecor() local
482 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()
/frameworks/base/core/java/android/view/
DDisplayInfo.java603 final Rect appBounds = configuration != null in getMetricsWithSize() local
605 width = appBounds != null ? appBounds.width() : width; in getMetricsWithSize()
606 height = appBounds != null ? appBounds.height() : height; in getMetricsWithSize()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowToken.java1809 final Rect appBounds = getWindowConfiguration().getAppBounds(); in calculateCompatBoundsTransformation() local
1810 final Rect contentBounds = appBounds != null ? appBounds : getResolvedOverrideBounds(); in calculateCompatBoundsTransformation()