/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipController.java | 120 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()
|
D | PipMotionHelper.java | 424 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/ |
D | PipControllerTest.java | 187 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/ |
D | HideDisplayCutoutOrganizer.java | 86 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/ |
D | PipBoundsAlgorithm.java | 246 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()
|
D | PipBoundsState.java | 284 public DisplayLayout getDisplayLayout() { in getDisplayLayout() method in PipBoundsState
|
D | PipTaskOrganizer.java | 1327 mPipBoundsState.getDisplayLayout().rotateTo(mContext.getResources(), mNextRotation); in computeRotatedBounds()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/ |
D | SizeCompatUIController.java | 129 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/ |
D | OneHandedControllerTest.java | 126 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()
|
D | OneHandedStateTest.java | 117 when(mMockDisplayAreaOrganizer.getDisplayLayout()).thenReturn(mDisplayLayout); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayImeController.java | 93 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()
|
D | DisplayController.java | 80 public @Nullable DisplayLayout getDisplayLayout(int displayId) { in getDisplayLayout() method in DisplayController
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
D | LegacySplitScreenController.java | 144 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/ |
D | SizeCompatUIControllerTest.java | 71 doReturn(mMockDisplayLayout).when(mMockDisplayController).getDisplayLayout(anyInt()); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedController.java | 381 final int currentRotation = mDisplayAreaOrganizer.getDisplayLayout().rotation(); in startOneHanded() 389 mDisplayAreaOrganizer.getDisplayLayout().height() * mOffSetFraction); in startOneHanded() 472 final DisplayLayout newDisplayLayout = mDisplayController.getDisplayLayout(displayId); in updateDisplayLayout()
|
D | OneHandedDisplayAreaOrganizer.java | 292 public DisplayLayout getDisplayLayout() { in getDisplayLayout() method in OneHandedDisplayAreaOrganizer
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropController.java | 179 pd.dragLayout.prepare(mDisplayController.getDisplayLayout(displayId), in onDrag()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/ |
D | HideDisplayCutoutOrganizerTest.java | 101 when(mMockDisplayController.getDisplayLayout(anyInt())).thenReturn(mDisplayLayout); in setUp()
|