Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowConfigurationTests.java193 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()
H A DSizeCompatTests.java716 assertEquals(offsetX, appBounds.left); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
717 assertEquals(appBounds.height(), displayBounds.height() - notchHeight); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
719 assertEquals(appBounds.height(), appBounds.width() * aspectRatio, 0.5f /* delta */); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
734 assertEquals(appBounds.width(), appBounds.height() * aspectRatio, 0.5f /* delta */); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
957 assertEquals(currentBounds.width(), appBounds.width()); in testMoveToDifferentOrientationDisplay()
958 assertEquals(currentBounds.height() - notchHeight, appBounds.height()); in testMoveToDifferentOrientationDisplay()
978 final Rect origAppBounds = new Rect(appBounds); in testFixedOrientationRotateCutoutDisplay()
991 assertEquals(origAppBounds.width(), appBounds.width()); in testFixedOrientationRotateCutoutDisplay()
992 assertEquals(origAppBounds.height(), appBounds.height()); in testFixedOrientationRotateCutoutDisplay()
1550 (float) appBounds.height() / appBounds.width(), 0.0001f /* delta */); in testOverrideMinAspectRatioLowerThanManifest()
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipContentOverlay.java188 public PipAppIconOverlay(Context context, Rect appBounds, in PipAppIconOverlay() argument
194 mAppBounds = new Rect(appBounds); in PipAppIconOverlay()
195 mBitmap = Bitmap.createBitmap(appBounds.width(), appBounds.height(), in PipAppIconOverlay()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTask.java244 public Rect appBounds; field in Task
282 appBounds = other.appBounds; in Task()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplayInfo.java793 final Rect appBounds = configuration != null in getMetricsWithSize() local
795 width = appBounds != null ? appBounds.width() : width; in getMetricsWithSize()
796 height = appBounds != null ? appBounds.height() : height; in getMetricsWithSize()
802 final boolean applyToSize = configuration != null && appBounds == null; in getMetricsWithSize()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayArea.java621 final Rect appBounds = new Rect(overrideBounds); in resolveOverrideConfiguration() local
622 appBounds.intersect(parentAppBounds); in resolveOverrideConfiguration()
623 resolvedConfig.windowConfiguration.setAppBounds(appBounds); in resolveOverrideConfiguration()
H A DTaskFragment.java2126 final Rect appBounds = inOutConfig.windowConfiguration.getAppBounds(); in invalidateAppBoundsConfig() local
2127 if (appBounds != null) { in invalidateAppBoundsConfig()
2128 appBounds.setEmpty(); in invalidateAppBoundsConfig()
H A DActivityRecord.java8118 final Rect appBounds = getConfiguration().windowConfiguration.getAppBounds(); in inSizeCompatMode() local
8119 if (appBounds == null) { in inSizeCompatMode()
9021 private boolean isInSizeCompatModeForBounds(final Rect appBounds, final Rect containerBounds) { in isInSizeCompatModeForBounds() argument
9027 final int appWidth = appBounds.width(); in isInSizeCompatModeForBounds()
9028 final int appHeight = appBounds.height(); in isInSizeCompatModeForBounds()
H A DDisplayContent.java2389 final Rect appBounds = outConfig.windowConfiguration.getAppBounds(); in computeScreenConfiguration() local
2390 displayInfo.appWidth = appBounds.width(); in computeScreenConfiguration()
2391 displayInfo.appHeight = appBounds.height(); in computeScreenConfiguration()
/aosp14/frameworks/base/core/java/android/window/
H A DWindowContainerTransaction.java110 @NonNull WindowContainerToken container,@NonNull Rect appBounds) { in setAppBounds() argument
112 chg.mConfiguration.windowConfiguration.setAppBounds(appBounds); in setAppBounds()