Home
last modified time | relevance | path

Searched refs:getAppBounds (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java86 winConfig3.setAppBounds(winConfig1.getAppBounds()); in testDiff()
88 winConfig5.setAppBounds(winConfig1.getAppBounds()); in testDiff()
152 winConfig2.setAppBounds(winConfig1.getAppBounds()); in testConfigurationCompareTo()
193 mDisplayContent.getDisplayId()).windowConfiguration.getAppBounds(); in testAppBounds_RootConfigurationBounds()
DSizeCompatTests.java434 final Rect appBounds = activity.getWindowConfiguration().getAppBounds(); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
683 final Rect currentAppBounds = mActivity.getWindowConfiguration().getAppBounds(); in testMoveToDifferentOrientationDisplay()
715 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testMoveToDifferentOrientationDisplay()
736 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testFixedOrientationRotateCutoutDisplay()
775 final Rect originalAppBounds = new Rect(mActivity.getWindowConfiguration().getAppBounds()); in testFixedAspectRatioOrientationChangeOrientation()
797 mActivity.getWindowConfiguration().getAppBounds().height()); in testFixedAspectRatioOrientationChangeOrientation()
799 mActivity.getWindowConfiguration().getAppBounds().width()); in testFixedAspectRatioOrientationChangeOrientation()
1352 final Rect appBounds = activity.getWindowConfiguration().getAppBounds(); in testOverrideMinAspectRatioLowerThanManifest()
3852 final Rect appBounds = activity.getWindowConfiguration().getAppBounds();
4266 Rect appBounds = new Rect(mActivity.getWindowConfiguration().getAppBounds());
[all …]
DDisplayAreaTest.java439 assertEquals(displayAppBounds, da.getConfiguration().windowConfiguration.getAppBounds()); in testRestrictAppBoundsToOverrideBounds()
446 assertEquals(expectedDaAppBounds, da.getConfiguration().windowConfiguration.getAppBounds()); in testRestrictAppBoundsToOverrideBounds()
DTaskTests.java824 assertEquals(parentAppBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()
838 assertEquals(largerPortraitBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()
865 assertEquals(largerLandscapeBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()
2042 task.getResolvedOverrideConfiguration().windowConfiguration.getAppBounds()); in testRootTaskBoundsConfiguration()
DActivityRecordTests.java3114 assertTrue(activity.getConfiguration().windowConfiguration.getAppBounds().width() in testCloseToSquareFixedOrientation()
3115 <= activity.getConfiguration().windowConfiguration.getAppBounds().height()); in testCloseToSquareFixedOrientation()
3123 assertTrue(activity.getConfiguration().windowConfiguration.getAppBounds().width() in testCloseToSquareFixedOrientation()
3124 > activity.getConfiguration().windowConfiguration.getAppBounds().height()); in testCloseToSquareFixedOrientation()
/frameworks/base/services/core/java/com/android/server/wm/
DConfigurationContainer.java253 Rect outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in applySizeOverrideIfNeeded()
257 outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in applySizeOverrideIfNeeded()
DLetterboxUiController.java1079 final Rect bounds = new Rect(displayArea.getWindowConfiguration().getAppBounds()); in getSplitScreenAspectRatio()
1184 final Rect bounds = new Rect(displayArea.getWindowConfiguration().getAppBounds()); in getDisplaySizeMinAspectRatio()
1313 ? parentAppBoundsOverride : parentConfiguration.windowConfiguration.getAppBounds(); in isHorizontalReachabilityEnabled()
1352 ? parentAppBoundsOverride : parentConfiguration.windowConfiguration.getAppBounds(); in isVerticalReachabilityEnabled()
DTaskFragment.java2250 mParentAppBoundsOverride = new Rect(parentConfig.windowConfiguration.getAppBounds()); in resolveTmpOverrides()
2292 final Rect appBounds = inOutConfig.windowConfiguration.getAppBounds(); in invalidateAppBoundsConfig()
2356 Rect outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides()
2360 outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides()
2367 : parentConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides()
2374 ? displayArea.getWindowConfiguration().getAppBounds() : null; in computeConfigResourceOverrides()
DDisplayArea.java666 final Rect overrideAppBounds = resolvedConfig.windowConfiguration.getAppBounds(); in resolveOverrideConfiguration()
667 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in resolveOverrideConfiguration()
DActivityRecord.java8351 final Rect appBounds = getConfiguration().windowConfiguration.getAppBounds(); in inSizeCompatMode()
8838 if (resolvedConfig.windowConfiguration.getAppBounds().top == parentAppBounds.top in updateResolvedBoundsPosition()
9074 ? outNonDecorBounds : newParentConfig.windowConfiguration.getAppBounds(); in resolveFixedOrientationConfiguration()
9222 ? new Rect(resolvedConfig.windowConfiguration.getAppBounds()) in resolveSizeCompatModeConfiguration()
9300 final Rect resolvedAppBounds = resolvedConfig.windowConfiguration.getAppBounds(); in resolveSizeCompatModeConfiguration()
9417 inOutConfig.windowConfiguration.getAppBounds().offset(offsetX, offsetY); in offsetBounds()
DDisplayContent.java2434 final Rect appBounds = outConfig.windowConfiguration.getAppBounds(); in computeScreenConfiguration()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java305 final Rect expectedAppBounds = expectedConfig.windowConfiguration.getAppBounds(); in assertScreenScale()
316 assertEquals(expectedAppBounds, currentConfig.windowConfiguration.getAppBounds()); in assertScreenScale()
681 final Rect newBounds = new Rect(newAppConfig.windowConfiguration.getAppBounds()); in testHandleConfigurationChanged_DoesntOverrideActivityConfig()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java289 assertEquals(deviceBounds, configuration.windowConfiguration.getAppBounds()); in testWindowMetrics()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java364 public Rect getAppBounds() { in getAppBounds() method in WindowConfiguration
DResourcesManager.java1017 && key.mOverrideConfiguration.windowConfiguration.getAppBounds() == null) { in rebaseKeyForActivity()
1382 && activityResource.overrideConfig.windowConfiguration.getAppBounds() == null) { in rebaseActivityOverrideConfig()
/frameworks/base/core/java/android/view/
DDisplayInfo.java823 ? configuration.windowConfiguration.getAppBounds() : null; in getMetricsWithSize()
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java1305 sb.append("appbounds:" + mConfiguration.windowConfiguration.getAppBounds() + ","); in toString()
/frameworks/base/core/api/
Dtest-current.txt540 method @Nullable public android.graphics.Rect getAppBounds();
/frameworks/base/boot/
Dboot-image-profile.txt2865 HSPLandroid/app/WindowConfiguration;->getAppBounds()Landroid/graphics/Rect;
/frameworks/base/config/
Dboot-image-profile.txt2865 HSPLandroid/app/WindowConfiguration;->getAppBounds()Landroid/graphics/Rect;