/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipDisplayLayoutState.java | 85 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
|
D | PipBoundsState.java | 350 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/ |
D | PipController.java | 245 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 …]
|
D | PipMotionHelper.java | 425 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/ |
D | HideDisplayCutoutOrganizer.java | 95 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/ |
D | PipControllerTest.java | 278 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/ |
D | CompatUIController.java | 361 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/ |
D | SplitScreenControllerTests.java | 145 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/ |
D | DesktopModeVisualIndicator.java | 104 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()
|
D | DesktopTasksController.kt | 639 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/ |
D | SplitLayoutTests.java | 114 .getDisplayLayout(anyInt()); in testUpdateConfiguration() 188 .getDisplayLayout(anyInt()); in testRoateTo_checksDisplayLayout()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipController.java | 191 .getDisplayLayout(mPipDisplayLayoutState.getDisplayId())); in onInit() 258 onDisplayChanged(mDisplayController.getDisplayLayout(displayId)); in onDisplayAdded() 266 onDisplayChanged(mDisplayController.getDisplayLayout(displayId)); in onDisplayConfigurationChanged()
|
D | PipMotionHelper.java | 417 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/ |
D | DisplayImeController.java | 113 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()
|
D | DisplayController.java | 100 public @Nullable DisplayLayout getDisplayLayout(int displayId) { in getDisplayLayout() method in DisplayController
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedController.java | 375 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/ |
D | VeiledResizeTaskPositioner.java | 104 mDisplayController.getDisplayLayout(mDesktopWindowDecoration.mDisplay.getDisplayId()) in onDragPositioningStart()
|
D | DragPositioningCallbackUtility.java | 213 float density = displayController.getDisplayLayout(windowDecoration.mTaskInfo.displayId) in getDefaultMinSize()
|
D | FluidResizeTaskPositioner.java | 107 mDisplayController.getDisplayLayout(mWindowDecoration.mDisplay.getDisplayId()) in onDragPositioningStart()
|
D | CaptionWindowDecoration.java | 114 final DisplayLayout layout = mDisplayController.getDisplayLayout(mTaskInfo.displayId); in calculateValidDragArea()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedStateTest.java | 115 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(mDisplayLayout); in setUp()
|
D | OneHandedControllerTest.java | 114 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/ |
D | HandleMenuTest.kt | 109 whenever(displayController.getDisplayLayout(anyInt())).thenReturn(displayLayout) in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | FreeformTaskTransitionHandler.java | 227 .getDisplayLayout(change.getTaskInfo().displayId).height(); in startCloseTransition()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/ |
D | HideDisplayCutoutOrganizerTest.java | 99 when(mMockDisplayController.getDisplayLayout(anyInt())).thenReturn(mDisplayLayout); in setUp()
|