Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java87 winConfig3.setAppBounds(winConfig1.getAppBounds()); in testDiff()
89 winConfig5.setAppBounds(winConfig1.getAppBounds()); in testDiff()
153 winConfig2.setAppBounds(winConfig1.getAppBounds()); in testConfigurationCompareTo()
194 mDisplayContent.getDisplayId()).windowConfiguration.getAppBounds(); in testAppBounds_RootConfigurationBounds()
DSizeCompatTests.java611 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testFixedAspectRatioBoundsWithDecorInSquareDisplay()
827 final Rect currentAppBounds = mActivity.getWindowConfiguration().getAppBounds(); in testMoveToDifferentOrientationDisplay()
859 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testMoveToDifferentOrientationDisplay()
879 final Rect appBounds = mActivity.getWindowConfiguration().getAppBounds(); in testFixedOrientationRotateCutoutDisplay()
918 final Rect originalAppBounds = new Rect(mActivity.getWindowConfiguration().getAppBounds()); in testFixedAspectRatioOrientationChangeOrientation()
931 mActivity.getWindowConfiguration().getAppBounds().height()); in testFixedAspectRatioOrientationChangeOrientation()
933 mActivity.getWindowConfiguration().getAppBounds().width()); in testFixedAspectRatioOrientationChangeOrientation()
1451 final Rect appBounds = activity.getWindowConfiguration().getAppBounds(); in testOverrideMinAspectRatioLowerThanManifest()
1455 mTask.getWindowConfiguration().getAppBounds().height(), appBounds.height()); in testOverrideMinAspectRatioLowerThanManifest()
3917 Rect appBounds = new Rect(mActivity.getWindowConfiguration().getAppBounds());
[all …]
DTaskTests.java677 assertEquals(parentAppBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()
691 assertEquals(largerPortraitBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()
715 assertEquals(largerLandscapeBounds, inOutConfig.windowConfiguration.getAppBounds()); in testComputeConfigResourceOverrides()
1520 task.getResolvedOverrideConfiguration().windowConfiguration.getAppBounds()); in testRootTaskBoundsConfiguration()
DDisplayAreaTest.java438 assertEquals(displayAppBounds, da.getConfiguration().windowConfiguration.getAppBounds()); in testRestrictAppBoundsToOverrideBounds()
445 assertEquals(expectedDaAppBounds, da.getConfiguration().windowConfiguration.getAppBounds()); in testRestrictAppBoundsToOverrideBounds()
DActivityRecordTests.java3132 assertTrue(activity.getConfiguration().windowConfiguration.getAppBounds().width() in testCloseToSquareFixedOrientation()
3133 <= activity.getConfiguration().windowConfiguration.getAppBounds().height()); in testCloseToSquareFixedOrientation()
3141 assertTrue(activity.getConfiguration().windowConfiguration.getAppBounds().width() in testCloseToSquareFixedOrientation()
3142 > activity.getConfiguration().windowConfiguration.getAppBounds().height()); in testCloseToSquareFixedOrientation()
DTaskFragmentOrganizerControllerTest.java1371 final Rect taskAppBounds = new Rect(task.getWindowConfiguration().getAppBounds()); in testUntrustedEmbedding_configChange()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java564 final Rect overrideAppBounds = resolvedConfig.windowConfiguration.getAppBounds(); in resolveOverrideConfiguration()
565 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in resolveOverrideConfiguration()
DWindowOrganizerController.java1877 if (requestedWindowConfig.getAppBounds() != null in enforceTaskFragmentConfigChangeAllowed()
1878 && !requestedWindowConfig.getAppBounds().isEmpty() in enforceTaskFragmentConfigChangeAllowed()
1879 && parentWindowConfig.getAppBounds() != null in enforceTaskFragmentConfigChangeAllowed()
1880 && !parentWindowConfig.getAppBounds().contains( in enforceTaskFragmentConfigChangeAllowed()
1881 requestedWindowConfig.getAppBounds())) { in enforceTaskFragmentConfigChangeAllowed()
DTaskFragment.java2105 final Rect appBounds = inOutConfig.windowConfiguration.getAppBounds(); in invalidateAppBoundsConfig()
2153 Rect outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides()
2157 outAppBounds = inOutConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides()
2162 containingAppBounds = parentConfig.windowConfiguration.getAppBounds(); in computeConfigResourceOverrides()
2169 ? displayArea.getWindowConfiguration().getAppBounds() : null; in computeConfigResourceOverrides()
DLetterboxUiController.java998 final Rect bounds = new Rect(displayContent.getWindowConfiguration().getAppBounds()); in getSplitScreenAspectRatio()
1137 && parentConfiguration.windowConfiguration.getAppBounds().height() in isHorizontalReachabilityEnabled()
DActivityRecord.java7986 final Rect appBounds = getConfiguration().windowConfiguration.getAppBounds(); in inSizeCompatMode()
8331 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in updateResolvedBoundsPosition()
8377 if (resolvedConfig.windowConfiguration.getAppBounds().top == parentAppBounds.top) { in updateResolvedBoundsPosition()
8569 ? newParentConfig.windowConfiguration.getAppBounds() : stableBounds; in resolveFixedOrientationConfiguration()
8641 final Rect parentAppBounds = newParentConfiguration.windowConfiguration.getAppBounds(); in resolveAspectRatioRestriction()
8678 ? new Rect(getResolvedOverrideConfiguration().windowConfiguration.getAppBounds()) in resolveSizeCompatModeConfiguration()
8679 : newParentConfiguration.windowConfiguration.getAppBounds(); in resolveSizeCompatModeConfiguration()
8753 final Rect resolvedAppBounds = resolvedConfig.windowConfiguration.getAppBounds(); in resolveSizeCompatModeConfiguration()
8870 inOutConfig.windowConfiguration.getAppBounds().offset(offsetX, offsetY); in offsetBounds()
DDisplayContent.java2301 final Rect appBounds = outConfig.windowConfiguration.getAppBounds(); in computeScreenConfiguration()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java359 public Rect getAppBounds() { in getAppBounds() method in WindowConfiguration
DResourcesManager.java912 && key.mOverrideConfiguration.windowConfiguration.getAppBounds() == null) { in rebaseKeyForActivity()
1277 && activityResource.overrideConfig.windowConfiguration.getAppBounds() == null) { in rebaseActivityOverrideConfig()
/frameworks/base/core/java/android/view/
DDisplayInfo.java719 ? configuration.windowConfiguration.getAppBounds() : null; in getMetricsWithSize()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java543 final Rect newBounds = new Rect(newAppConfig.windowConfiguration.getAppBounds()); in testHandleConfigurationChanged_DoesntOverrideActivityConfig()
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java1203 sb.append("appbounds:" + mConfiguration.windowConfiguration.getAppBounds() + ","); in toString()
/frameworks/base/core/api/
Dtest-lint-baseline.txt226 MissingNullability: android.app.WindowConfiguration#getAppBounds():
227 Missing nullability on method `getAppBounds` return
Dtest-current.txt468 method public android.graphics.Rect getAppBounds();
/frameworks/base/boot/
Dboot-image-profile.txt2856 HSPLandroid/app/WindowConfiguration;->getAppBounds()Landroid/graphics/Rect;
/frameworks/base/config/
Dboot-image-profile.txt2856 HSPLandroid/app/WindowConfiguration;->getAppBounds()Landroid/graphics/Rect;