Home
last modified time | relevance | path

Searched refs:bounds2 (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
H A DDragLayout.java259 private void updateDropZoneSizes(Rect bounds1, Rect bounds2) { in updateDropZoneSizes() argument
271 dropZoneView2.height = bounds2 != null ? bounds2.height() + halfDivider : MATCH_PARENT; in updateDropZoneSizes()
274 dropZoneView2.width = bounds2 != null ? bounds2.width() + halfDivider : MATCH_PARENT; in updateDropZoneSizes()
279 dropZoneView2.weight = bounds2 != null ? 0 : 1; in updateDropZoneSizes()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
H A DSplitTestUtils.java50 final Rect bounds2 = new Rect(60, 0, 100, 100); in createMockSplitLayout() local
57 doReturn(bounds2).when(out).getBounds2(); in createMockSplitLayout()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowContextListenerControllerTests.java135 final Rect bounds2 = new Rect(0, 0, 20, 20); in testRegisterWindowContextListenerClientConfigPropagation() local
136 config2.windowConfiguration.setBounds(bounds2); in testRegisterWindowContextListenerClientConfigPropagation()
143 assertEquals(bounds2, clientToken.mConfiguration.windowConfiguration.getBounds()); in testRegisterWindowContextListenerClientConfigPropagation()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DSplitLayout.java365 private void updateBounds(int position, Rect bounds1, Rect bounds2, Rect dividerBounds, in updateBounds() argument
369 bounds2.set(mRootBounds); in updateBounds()
376 bounds2.left = bounds1.right + mDividerSize; in updateBounds()
382 bounds2.top = bounds1.bottom + mDividerSize; in updateBounds()
385 DockedDividerUtils.sanitizeStackBounds(bounds2, false /** topLeft */); in updateBounds()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
H A DRecentTasksControllerTest.java177 SplitBounds bounds2 = new SplitBounds(new Rect(0, 0, 50, 50), in testAddSameSplitBoundsInfoSkipNotifyChange() local
179 mRecentTasksController.addSplitPair(t1.taskId, t2.taskId, bounds2); in testAddSameSplitBoundsInfoSkipNotifyChange()