Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitScreenUtilsTests.java44 portraitTablet.windowConfiguration.setMaxBounds(new Rect(0, 0, 500, 1000)); in testIsLeftRightSplit()
47 landscapeTablet.windowConfiguration.setMaxBounds(new Rect(0, 0, 1000, 500)); in testIsLeftRightSplit()
50 portraitPhone.windowConfiguration.setMaxBounds(new Rect(0, 0, 500, 1000)); in testIsLeftRightSplit()
53 landscapePhone.windowConfiguration.setMaxBounds(new Rect(0, 0, 1000, 500)); in testIsLeftRightSplit()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java111 winConfig1.setMaxBounds(1, 1, 1, 1); in testDiff()
112 winConfig5.setMaxBounds(2, 2, 2, 2); in testDiff()
128 winConfig1.setMaxBounds(1, 2, 3, 4); in testConfigurationCompareTo()
165 winConfig2.setMaxBounds(0, 2, 3, 4); in testConfigurationCompareTo()
168 winConfig2.setMaxBounds(winConfig1.getMaxBounds()); in testConfigurationCompareTo()
252 config0.windowConfiguration.setMaxBounds(bounds0); in testAreConfigurationsEqualForDisplay()
253 config1.windowConfiguration.setMaxBounds(bounds1); in testAreConfigurationsEqualForDisplay()
257 config0.windowConfiguration.setMaxBounds(null); in testAreConfigurationsEqualForDisplay()
258 config1.windowConfiguration.setMaxBounds(null); in testAreConfigurationsEqualForDisplay()
DInputMethodDialogWindowContextTest.java161 maxBoundsVerifier.setMaxBounds(firstDaGroup.getMaxBounds()); in testGetSettingsContextOnDualDisplayContent()
181 maxBoundsVerifier.setMaxBounds(secondDaGroup.getMaxBounds()); in testGetSettingsContextOnDualDisplayContent()
218 private void setMaxBounds(@NonNull Rect maxBounds) { in setMaxBounds() method in InputMethodDialogWindowContextTest.MaxBoundsVerifier
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImplTest.kt180 config.windowConfiguration.setMaxBounds(0, 0, 200, 200) in maxBoundsChange_newConfigObject_listenerNotified()
187 newConfig.windowConfiguration.setMaxBounds(0, 0, 100, 100) in maxBoundsChange_newConfigObject_listenerNotified()
198 config.windowConfiguration.setMaxBounds(0, 0, 200, 200) in maxBoundsChange_sameObject_listenerNotified()
204 config.windowConfiguration.setMaxBounds(0, 0, 100, 100) in maxBoundsChange_sameObject_listenerNotified()
297 config.windowConfiguration.setMaxBounds(0, 0, 2, 2) in multipleUpdates_listenerNotifiedOfAll()
305 config.windowConfiguration.setMaxBounds(0, 0, 3, 3) in multipleUpdates_listenerNotifiedOfAll()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java304 public void setMaxBounds(@Nullable Rect rect) { in setMaxBounds() method in WindowConfiguration
316 public void setMaxBounds(int left, int top, int right, int bottom) { in setMaxBounds() method in WindowConfiguration
430 setMaxBounds(other.mMaxBounds); in setTo()
448 setMaxBounds(null); in setToDefaults()
503 setMaxBounds(delta.mMaxBounds); in updateFrom()
544 setMaxBounds(delta.mMaxBounds); in setTo()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DClientTransactionListenerControllerTest.java148 mConfiguration.windowConfiguration.setMaxBounds(new Rect(0, 0, 100, 200)); in testOnContextConfigurationChanged()
163 mConfiguration.windowConfiguration.setMaxBounds(new Rect(0, 0, 100, 200)); in testOnContextConfigurationChanged_duringClientTransaction()
233 mConfiguration.windowConfiguration.setMaxBounds(new Rect(0, 0, 100, 200)); in testDisplayListenerHandlerClosed()
/frameworks/base/core/tests/mockingcoretests/src/android/window/
DConfigurationHelperTest.java103 config.windowConfiguration.setMaxBounds(new Rect(0, 0, 20, 20)); in testShouldUpdateResources_DifferentBounds_ReturnsTrue()
107 newConfig.windowConfiguration.setMaxBounds(new Rect(0, 0, 20, 20)); in testShouldUpdateResources_DifferentBounds_ReturnsTrue()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProviderTest.kt979 configuration.windowConfiguration.setMaxBounds(Rect(0, 0, 1080, 2160)) in testDisplayChanged_returnsUpdatedInsets()
982 configuration.windowConfiguration.setMaxBounds(Rect(0, 0, 800, 600)) in testDisplayChanged_returnsUpdatedInsets()
1004 configuration.windowConfiguration.setMaxBounds(Rect(0, 0, 1080, 2160)) in testDisplayChangedAndReturnedBack_returnsTheSameInsets()
1007 configuration.windowConfiguration.setMaxBounds(Rect(0, 0, 800, 600)) in testDisplayChangedAndReturnedBack_returnsTheSameInsets()
1010 configuration.windowConfiguration.setMaxBounds(Rect(0, 0, 1080, 2160)) in testDisplayChangedAndReturnedBack_returnsTheSameInsets()
1024 configuration.windowConfiguration.setMaxBounds(0, 0, 100, 100) in onMaxBoundsChanged_listenerNotified()
1045 configuration.windowConfiguration.setMaxBounds(0, 0, 456, 789) in onMaxBoundsChanged_listenerNotified()
/frameworks/base/core/tests/mockingcoretests/src/android/view/
DDisplayTest.java101 mApplicationContext.getResources().getConfiguration().windowConfiguration.setMaxBounds( in setupTests()
523 resources.getConfiguration().windowConfiguration.setMaxBounds(bounds); in setMaxBoundsSandboxed()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java445 config.windowConfiguration.setMaxBounds(bounds); in getConfiguration()
/frameworks/base/services/core/java/com/android/server/wm/
DConfigurationContainer.java330 mRequestedOverrideConfiguration.windowConfiguration.setMaxBounds(newBounds); in updateRequestedOverrideConfiguration()
DDisplayContent.java2426 outConfig.windowConfiguration.setMaxBounds(0, 0, dw, dh); in computeScreenConfiguration()
2479 config.windowConfiguration.setMaxBounds(mTmpRect); in computeScreenConfiguration()
DActivityRecord.java8665 resolvedConfig.windowConfiguration.setMaxBounds(mTmpBounds); in resolveOverrideConfiguration()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ambient/touch/
DTouchMonitorTest.java224 configuration.windowConfiguration.setMaxBounds(testRect); in testConfigurationListenerUpdatesBounds()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DSplitPresenterTest.java814 activityConfig.windowConfiguration.setMaxBounds(TASK_BOUNDS); in createMockActivity()
DOverlayPresentationTest.java157 activityConfig.windowConfiguration.setMaxBounds(TASK_BOUNDS); in setUp()
DSplitControllerTest.java193 activityConfig.windowConfiguration.setMaxBounds(TASK_BOUNDS); in setUp()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java90 resources.getConfiguration().windowConfiguration.setMaxBounds(0, 0, metrics.widthPixels, in initSystem()
/frameworks/base/core/api/
Dtest-current.txt550 method public void setMaxBounds(@Nullable android.graphics.Rect);
/frameworks/base/boot/
Dboot-image-profile.txt2881 HSPLandroid/app/WindowConfiguration;->setMaxBounds(Landroid/graphics/Rect;)V
/frameworks/base/config/
Dboot-image-profile.txt2881 HSPLandroid/app/WindowConfiguration;->setMaxBounds(Landroid/graphics/Rect;)V