Home
last modified time | relevance | path

Searched refs:getDisplayLayout (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java120 if (mPipBoundsState.getDisplayLayout().rotation() == toRotation) {
190 onDisplayChanged(mDisplayController.getDisplayLayout(displayId),
199 onDisplayChanged(mDisplayController.getDisplayLayout(displayId),
316 onDisplayChanged(mDisplayController.getDisplayLayout(displayId), in init()
444 if (Objects.equals(layout, mPipBoundsState.getDisplayLayout())) { in onDisplayChanged()
473 mPipBoundsState.getDisplayLayout().stableInsets()); in onDisplayChanged()
618 final int rotation = mPipBoundsState.getDisplayLayout().rotation(); in updateMovementBounds()
642 mPipBoundsState.getDisplayLayout().rotateTo(context.getResources(), toRotation); in onDisplayRotationChangedNotInPip()
678 mPipBoundsState.getDisplayLayout().rotateTo(context.getResources(), toRotation); in onDisplayRotationChanged()
687 mPipBoundsState.getDisplayLayout().stableInsets()); in onDisplayRotationChanged()
DPipMotionHelper.java424 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); in movetoTarget()
505 mPipBoundsState.getDisplayLayout().stableInsets());
519 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets();
573 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets();
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipControllerTest.java187 when(mMockPipBoundsState.getDisplayLayout()).thenReturn(mMockDisplayLayout1); in onDisplayConfigurationChanged_inPip_movePip()
188 when(mMockDisplayController.getDisplayLayout(displayId)).thenReturn(mMockDisplayLayout2); in onDisplayConfigurationChanged_inPip_movePip()
203 when(mMockPipBoundsState.getDisplayLayout()).thenReturn(mMockDisplayLayout1); in onDisplayConfigurationChanged_notInPip_doesNotMovePip()
204 when(mMockDisplayController.getDisplayLayout(displayId)).thenReturn(mMockDisplayLayout2); in onDisplayConfigurationChanged_notInPip_doesNotMovePip()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizer.java86 mDisplayController.getDisplayLayout(DEFAULT_DISPLAY);
167 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(DEFAULT_DISPLAY); in enableHideDisplayCutout()
205 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(DEFAULT_DISPLAY); in getDisplayBoundsOfNaturalOrientation()
222 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(DEFAULT_DISPLAY); in isDisplayBoundsChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipBoundsAlgorithm.java246 final DisplayLayout displayLayout = mPipBoundsState.getDisplayLayout(); in transformBoundsToAspectRatio()
288 final DisplayLayout displayLayout = mPipBoundsState.getDisplayLayout(); in getDefaultBounds()
320 final DisplayLayout displayLayout = mPipBoundsState.getDisplayLayout(); in getInsetBounds()
321 Rect insets = mPipBoundsState.getDisplayLayout().stableInsets(); in getInsetBounds()
DPipBoundsState.java284 public DisplayLayout getDisplayLayout() { in getDisplayLayout() method in PipBoundsState
DPipTaskOrganizer.java1327 mPipBoundsState.getDisplayLayout().rotateTo(mContext.getResources(), mNextRotation); in computeRotatedBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/
DSizeCompatUIController.java129 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(displayId); in onDisplayConfigurationChanged()
167 taskConfig, taskId, taskListener, mDisplayController.getDisplayLayout(displayId), in createLayout()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedControllerTest.java126 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(mDisplayLayout); in setUp()
299 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(landscapeDisplayLayout); in testRotation90CanNotStartOneHanded()
313 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(testDisplayLayout); in testRotation180CanStartOneHanded()
326 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(testDisplayLayout); in testRotation270CanNotStartOneHanded()
DOneHandedStateTest.java117 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(mDisplayLayout); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayImeController.java93 mDisplayController.getDisplayLayout(displayId).rotation()); in onDisplayAdded()
104 if (mDisplayController.getDisplayLayout(displayId).rotation() in onDisplayConfigurationChanged()
350 return frame.height() <= mDisplayController.getDisplayLayout(mDisplayId) in calcIsFloating()
365 final int floatingInset = (int) (mDisplayController.getDisplayLayout(mDisplayId) in startAnimation()
DDisplayController.java80 public @Nullable DisplayLayout getDisplayLayout(int displayId) { in getDisplayLayout() method in DisplayController
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DLegacySplitScreenController.java144 new DisplayLayout(mDisplayController.getDisplayLayout(display)); in LegacySplitScreenController()
239 mDisplayController.getDisplayLayout(displayId), mSplits); in onDisplayAdded()
261 mDisplayController.getDisplayLayout(displayId), mSplits); in onDisplayConfigurationChanged()
310 DisplayLayout displayLayout = mDisplayController.getDisplayLayout(mContext.getDisplayId()); in addDivider()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sizecompatui/
DSizeCompatUIControllerTest.java71 doReturn(mMockDisplayLayout).when(mMockDisplayController).getDisplayLayout(anyInt()); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedController.java381 final int currentRotation = mDisplayAreaOrganizer.getDisplayLayout().rotation(); in startOneHanded()
389 mDisplayAreaOrganizer.getDisplayLayout().height() * mOffSetFraction); in startOneHanded()
472 final DisplayLayout newDisplayLayout = mDisplayController.getDisplayLayout(displayId); in updateDisplayLayout()
DOneHandedDisplayAreaOrganizer.java292 public DisplayLayout getDisplayLayout() { in getDisplayLayout() method in OneHandedDisplayAreaOrganizer
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropController.java179 pd.dragLayout.prepare(mDisplayController.getDisplayLayout(displayId), in onDrag()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizerTest.java101 when(mMockDisplayController.getDisplayLayout(anyInt())).thenReturn(mDisplayLayout); in setUp()