Searched refs:appBounds (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowConfigurationTests.java | 193 final Rect appBounds = mWm.computeNewConfiguration( in testAppBounds_RootConfigurationBounds() local 200 assertEquals(expectedLeft, appBounds.left); in testAppBounds_RootConfigurationBounds() 201 assertEquals(expectedTop, appBounds.top); in testAppBounds_RootConfigurationBounds() 204 assertEquals(info.appWidth, appBounds.width()); in testAppBounds_RootConfigurationBounds() 205 assertEquals(info.appHeight, appBounds.height()); in testAppBounds_RootConfigurationBounds()
|
D | SizeCompatTests.java | 193 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testFixedAspectRatioBoundsWithDecorInSquareDisplay() local 199 final int offsetX = (int) ((1f + displayBounds.width() - appBounds.width()) / 2); in testFixedAspectRatioBoundsWithDecorInSquareDisplay() 201 assertEquals(offsetX, appBounds.left); in testFixedAspectRatioBoundsWithDecorInSquareDisplay() 202 assertEquals(appBounds.height(), displayBounds.height() - notchHeight); in testFixedAspectRatioBoundsWithDecorInSquareDisplay() 204 assertEquals(appBounds.height(), appBounds.width() * aspectRatio, 0.5f /* delta */); in testFixedAspectRatioBoundsWithDecorInSquareDisplay() 206 assertEquals(mActivity.getBounds().height(), appBounds.height() + notchHeight); in testFixedAspectRatioBoundsWithDecorInSquareDisplay() 219 assertEquals(appBounds.width(), appBounds.height() * aspectRatio, 0.5f /* delta */); in testFixedAspectRatioBoundsWithDecorInSquareDisplay() 221 assertEquals(appBounds, mActivity.getBounds()); in testFixedAspectRatioBoundsWithDecorInSquareDisplay() 437 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testMoveToDifferentOrientationDisplay() local 438 assertEquals(currentBounds.width(), appBounds.width()); in testMoveToDifferentOrientationDisplay() [all …]
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 698 final Rect appBounds = configuration != null in getMetricsWithSize() local 700 width = appBounds != null ? appBounds.width() : width; in getMetricsWithSize() 701 height = appBounds != null ? appBounds.height() : height; in getMetricsWithSize()
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 553 final Rect appBounds = inoutConfig.windowConfiguration.getAppBounds(); in applyToConfiguration() local 554 if (appBounds != null) { in applyToConfiguration() 555 appBounds.scale(invertedRatio); in applyToConfiguration()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayArea.java | 485 final Rect appBounds = new Rect(overrideBounds); in resolveOverrideConfiguration() local 486 appBounds.intersect(parentAppBounds); in resolveOverrideConfiguration() 487 resolvedConfig.windowConfiguration.setAppBounds(appBounds); in resolveOverrideConfiguration()
|
D | ActivityRecord.java | 7020 final Rect appBounds = getConfiguration().windowConfiguration.getAppBounds(); in inSizeCompatMode() local 7021 if (appBounds == null) { in inSizeCompatMode() 7588 private boolean isInSizeCompatModeForBounds(final Rect appBounds, final Rect containerBounds) { in isInSizeCompatModeForBounds() argument 7589 final int appWidth = appBounds.width(); in isInSizeCompatModeForBounds() 7590 final int appHeight = appBounds.height(); in isInSizeCompatModeForBounds()
|
D | DisplayContent.java | 2091 final Rect appBounds = outConfig.windowConfiguration.getAppBounds(); in computeScreenConfiguration() local 2092 displayInfo.appWidth = appBounds.width(); in computeScreenConfiguration() 2093 displayInfo.appHeight = appBounds.height(); in computeScreenConfiguration()
|
D | Task.java | 2633 final Rect appBounds = inOutConfig.windowConfiguration.getAppBounds(); in invalidateAppBoundsConfig() local 2634 if (appBounds != null) { in invalidateAppBoundsConfig() 2635 appBounds.setEmpty(); in invalidateAppBoundsConfig()
|
/frameworks/base/core/java/android/window/ |
D | WindowContainerTransaction.java | 87 @NonNull WindowContainerToken container,@NonNull Rect appBounds) { in setAppBounds() argument 89 chg.mConfiguration.windowConfiguration.setAppBounds(appBounds); in setAppBounds()
|