Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipDisplayLayoutState.java85 Rect insets = getDisplayLayout().stableInsets(); in getInsetBounds()
88 getDisplayLayout().width() - insets.right - getScreenEdgeInsets().x, in getInsetBounds()
89 getDisplayLayout().height() - insets.bottom - getScreenEdgeInsets().y); in getInsetBounds()
100 public DisplayLayout getDisplayLayout() { in getDisplayLayout() method in PipDisplayLayoutState
DPipBoundsState.java350 public DisplayLayout getDisplayLayout() { in getDisplayLayout() method in PipBoundsState
351 return mPipDisplayLayoutState.getDisplayLayout(); in getDisplayLayout()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java245 if (mPipBoundsState.getDisplayLayout().rotation() == toRotation) {
318 onDisplayChanged(mDisplayController.getDisplayLayout(displayId),
327 onDisplayChanged(mDisplayController.getDisplayLayout(displayId),
493 onDisplayChanged(mDisplayController.getDisplayLayout(displayId), in onInit()
641 .getDisplayLayout(mPipDisplayLayoutState.getDisplayId()); in onInit()
645 != mPipBoundsState.getDisplayLayout().rotation()) { in onInit()
651 .getDisplayLayout(mPipDisplayLayoutState.getDisplayId()), in onInit()
757 if (!mPipDisplayLayoutState.getDisplayLayout().isSameGeometry(layout)) { in onDisplayChanged()
779 && mPipDisplayLayoutState.getDisplayLayout().rotation() != layout.rotation(); in onDisplayChangedUncheck()
822 mPipDisplayLayoutState.getDisplayLayout().stableInsets()); in onDisplayChangedUncheck()
[all …]
DPipMotionHelper.java425 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); in movetoTarget()
506 mPipBoundsState.getDisplayLayout().stableInsets());
520 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets();
576 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets();
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizer.java95 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(DEFAULT_DISPLAY); in onDisplayChanged()
177 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(DEFAULT_DISPLAY); in enableHideDisplayCutout()
215 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(DEFAULT_DISPLAY); in getDisplayBoundsOfNaturalOrientation()
232 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(DEFAULT_DISPLAY); in isDisplayBoundsChanged()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipControllerTest.java278 when(mMockPipDisplayLayoutState.getDisplayLayout()).thenReturn(mMockDisplayLayout1); in onDisplayConfigurationChanged_inPip_movePip()
279 when(mMockDisplayController.getDisplayLayout(displayId)).thenReturn(mMockDisplayLayout2); in onDisplayConfigurationChanged_inPip_movePip()
294 when(mMockPipDisplayLayoutState.getDisplayLayout()).thenReturn(mMockDisplayLayout1); in onDisplayConfigurationChanged_notInPip_doesNotMovePip()
295 when(mMockDisplayController.getDisplayLayout(displayId)).thenReturn(mMockDisplayLayout2); in onDisplayConfigurationChanged_notInPip_doesNotMovePip()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DCompatUIController.java361 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(displayId); in updateDisplayLayout()
470 mDisplayController.getDisplayLayout(taskInfo.displayId), mCompatUIHintsState, in createCompatUiWindowManager()
526 mSyncQueue, taskListener, mDisplayController.getDisplayLayout(taskInfo.displayId), in createLetterboxEduWindowManager()
570 mDisplayController.getDisplayLayout(taskInfo.displayId), mTransitionsLazy.get(), in createRestartDialogWindowManager()
628 taskListener, mDisplayController.getDisplayLayout(taskInfo.displayId), in createReachabilityEduWindowManager()
676 taskListener, mDisplayController.getDisplayLayout(taskInfo.displayId), in createUserAspectRatioSettingsWindowManager()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitScreenControllerTests.java145 when(mDisplayController.getDisplayLayout(anyInt())).thenReturn(new DisplayLayout()); in instantiateController_registerDumpCallback()
154 when(mDisplayController.getDisplayLayout(anyInt())).thenReturn(new DisplayLayout()); in instantiateController_registerCommandCallback()
163 when(mDisplayController.getDisplayLayout(anyInt())).thenReturn(new DisplayLayout()); in testControllerRegistersKeyguardChangeListener()
172 when(mDisplayController.getDisplayLayout(anyInt())).thenReturn(new DisplayLayout()); in instantiateController_addExternalInterface()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeVisualIndicator.java104 final DisplayLayout layout = mDisplayController.getDisplayLayout(mTaskInfo.displayId); in updateIndicatorType()
257 mDisplayController.getDisplayLayout(mTaskInfo.displayId)); in fadeInIndicator()
268 mDisplayController.getDisplayLayout(mTaskInfo.displayId)); in fadeOutIndicator()
287 mView, mDisplayController.getDisplayLayout(mTaskInfo.displayId), mCurrentType, in transitionIndicator()
DDesktopTasksController.kt639 val displayLayout = displayController.getDisplayLayout(taskInfo.displayId) ?: return in <lambda>()
708 val displayLayout = displayController.getDisplayLayout(taskInfo.displayId) ?: return Rect() in <lambda>()
1044 val displayLayout = displayController.getDisplayLayout(taskInfo.displayId) ?: return in <lambda>()
1304 val displayLayout = displayController.getDisplayLayout(taskInfo.displayId) ?: return in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/
DSplitLayoutTests.java114 .getDisplayLayout(anyInt()); in testUpdateConfiguration()
188 .getDisplayLayout(anyInt()); in testRoateTo_checksDisplayLayout()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipController.java191 .getDisplayLayout(mPipDisplayLayoutState.getDisplayId())); in onInit()
258 onDisplayChanged(mDisplayController.getDisplayLayout(displayId)); in onDisplayAdded()
266 onDisplayChanged(mDisplayController.getDisplayLayout(displayId)); in onDisplayConfigurationChanged()
DPipMotionHelper.java417 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets(); in movetoTarget()
498 mPipBoundsState.getDisplayLayout().stableInsets());
512 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets();
570 final Rect insetBounds = mPipBoundsState.getDisplayLayout().stableInsets();
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayImeController.java113 mDisplayController.getDisplayLayout(displayId).rotation()); in onDisplayAdded()
124 if (mDisplayController.getDisplayLayout(displayId).rotation() in onDisplayConfigurationChanged()
435 return frame.height() <= mDisplayController.getDisplayLayout(mDisplayId) in calcIsFloating()
471 final int floatingInset = (int) (mDisplayController.getDisplayLayout(mDisplayId) in startAnimation()
DDisplayController.java100 public @Nullable DisplayLayout getDisplayLayout(int displayId) { in getDisplayLayout() method in DisplayController
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedController.java375 if (mDisplayAreaOrganizer.getDisplayLayout().isLandscape()) { in startOneHanded()
382 mDisplayAreaOrganizer.getDisplayLayout().height() * mOffSetFraction); in startOneHanded()
470 final DisplayLayout newDisplayLayout = mDisplayController.getDisplayLayout(displayId); in updateDisplayLayout()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DVeiledResizeTaskPositioner.java104 mDisplayController.getDisplayLayout(mDesktopWindowDecoration.mDisplay.getDisplayId()) in onDragPositioningStart()
DDragPositioningCallbackUtility.java213 float density = displayController.getDisplayLayout(windowDecoration.mTaskInfo.displayId) in getDefaultMinSize()
DFluidResizeTaskPositioner.java107 mDisplayController.getDisplayLayout(mWindowDecoration.mDisplay.getDisplayId()) in onDragPositioningStart()
DCaptionWindowDecoration.java114 final DisplayLayout layout = mDisplayController.getDisplayLayout(mTaskInfo.displayId); in calculateValidDragArea()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedStateTest.java115 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(mDisplayLayout); in setUp()
DOneHandedControllerTest.java114 when(mMockDisplayController.getDisplayLayout(anyInt())).thenReturn(null); in setUp()
129 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(mMockDisplayLayout); in setUp()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DHandleMenuTest.kt109 whenever(displayController.getDisplayLayout(anyInt())).thenReturn(displayLayout) in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/
DFreeformTaskTransitionHandler.java227 .getDisplayLayout(change.getTaskInfo().displayId).height(); in startCloseTransition()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizerTest.java99 when(mMockDisplayController.getDisplayLayout(anyInt())).thenReturn(mDisplayLayout); in setUp()

12