/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipDisplayLayoutState.java | 31 import com.android.wm.shell.common.DisplayLayout; 47 @NonNull private DisplayLayout mDisplayLayout; 54 mDisplayLayout = new DisplayLayout(); in PipDisplayLayoutState() 94 public void setDisplayLayout(@NonNull DisplayLayout displayLayout) { in setDisplayLayout() 100 public DisplayLayout getDisplayLayout() { in getDisplayLayout() 101 return new DisplayLayout(mDisplayLayout); in getDisplayLayout()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | DisplayLayoutTest.java | 81 DisplayLayout dl = new DisplayLayout(info, res, false, false); in testInsets() 88 dl = new DisplayLayout(info, res, true, true); in testInsets() 95 dl = new DisplayLayout(info, res, false, false); in testInsets() 101 dl = new DisplayLayout(info, res, true, true); in testInsets() 112 DisplayLayout dl = new DisplayLayout(info, res, true, true); in testRotate() 126 dl = new DisplayLayout(info, res, true, true); in testRotate()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 59 public class DisplayLayout { class 94 public boolean isSameGeometry(@NonNull DisplayLayout other) { in isSameGeometry() 105 if (!(o instanceof DisplayLayout)) return false; in equals() 106 final DisplayLayout other = (DisplayLayout) o; in equals() 136 public DisplayLayout() { in DisplayLayout() method in DisplayLayout 144 public DisplayLayout(DisplayInfo info, Resources res, boolean hasNavigationBar, in DisplayLayout() method in DisplayLayout 153 public DisplayLayout(@NonNull Context context, @NonNull Display rawDisplay) { in DisplayLayout() method in DisplayLayout 161 public DisplayLayout(DisplayLayout dl) { in DisplayLayout() method in DisplayLayout 166 public void set(DisplayLayout dl) { in set()
|
D | DisplayController.java | 100 public @Nullable DisplayLayout getDisplayLayout(int displayId) { in getDisplayLayout() 186 record.setDisplayLayout(context, new DisplayLayout(context, display)); in onDisplayAdded() 232 dr.setDisplayLayout(context, new DisplayLayout(context, display)); in onDisplayConfigurationChanged() 297 private DisplayLayout mDisplayLayout; 304 private void setDisplayLayout(Context context, DisplayLayout displayLayout) { in setDisplayLayout()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
D | DragSession.java | 33 import com.android.wm.shell.common.DisplayLayout; 45 final DisplayLayout displayLayout; 66 DisplayLayout dispLayout, ClipData data, int dragFlags) { in DragSession()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeVisualIndicator.java | 52 import com.android.wm.shell.common.DisplayLayout; 104 final DisplayLayout layout = mDisplayController.getDisplayLayout(mTaskInfo.displayId); in updateIndicatorType() 138 Region calculateFullscreenRegion(DisplayLayout layout, in calculateFullscreenRegion() 166 Region calculateToDesktopRegion(DisplayLayout layout, in calculateToDesktopRegion() 182 Region calculateSplitLeftRegion(DisplayLayout layout, in calculateSplitLeftRegion() 196 Region calculateSplitRightRegion(DisplayLayout layout, in calculateSplitRightRegion() 342 @NonNull View view, IndicatorType type, @NonNull DisplayLayout displayLayout) { in fadeBoundsIn() 354 @NonNull View view, IndicatorType type, @NonNull DisplayLayout displayLayout) { in fadeBoundsOut() 376 @NonNull DisplayLayout displayLayout, IndicatorType origType, in animateIndicatorType() 387 private static Rect getIndicatorBounds(DisplayLayout layout, IndicatorType type) { in getIndicatorBounds()
|
D | DesktopModeUtils.kt | 29 import com.android.wm.shell.common.DisplayLayout 44 displayLayout: DisplayLayout, in calculateInitialBounds()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | UserAspectRatioSettingsWindowManagerTest.java | 57 import com.android.wm.shell.common.DisplayLayout; 121 final DisplayLayout displayLayout = new DisplayLayout(displayInfo, in setUp() 317 final DisplayLayout displayLayout1 = new DisplayLayout(displayInfo, in testUpdateDisplayLayout() 325 final DisplayLayout displayLayout2 = new DisplayLayout(displayInfo, in testUpdateDisplayLayout() 336 final DisplayLayout displayLayout = new DisplayLayout(displayInfo, in testUpdateDisplayLayoutInsets()
|
D | CompatUIWindowManagerTest.java | 60 import com.android.wm.shell.common.DisplayLayout; 102 private DisplayLayout mDisplayLayout; 113 mDisplayLayout = new DisplayLayout(displayInfo, in setUp() 354 final DisplayLayout displayLayout1 = new DisplayLayout(displayInfo, in testUpdateDisplayLayout() 362 final DisplayLayout displayLayout2 = new DisplayLayout(displayInfo, in testUpdateDisplayLayout() 373 final DisplayLayout displayLayout = new DisplayLayout(displayInfo, in testUpdateDisplayLayoutInsets()
|
D | RestartDialogWindowManagerTest.java | 29 import com.android.wm.shell.common.DisplayLayout; 74 mTaskListener, new DisplayLayout(), mTransitions, mOnRestartCallback, in setUp()
|
D | ReachabilityEduWindowManagerTest.java | 32 import com.android.wm.shell.common.DisplayLayout; 61 private DisplayLayout mDisplayLayout;
|
D | UserAspectRatioSettingsLayoutTest.java | 44 import com.android.wm.shell.common.DisplayLayout; 94 mSyncTransactionQueue, mTaskListener, new DisplayLayout(), in setUp()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | BackgroundWindowManagerTest.java | 28 import com.android.wm.shell.common.DisplayLayout; 43 private DisplayLayout mMockDisplayLayout;
|
D | OneHandedTutorialHandlerTest.java | 35 import com.android.wm.shell.common.DisplayLayout; 48 DisplayLayout mDisplayLayout; 68 mDisplayLayout = new DisplayLayout(getTestContext().getApplicationContext(), mDisplay); in setUp()
|
D | OneHandedStateTest.java | 41 import com.android.wm.shell.common.DisplayLayout; 59 DisplayLayout mDisplayLayout; 98 mDisplayLayout = new DisplayLayout(mContext, mDisplay); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizer.java | 43 import com.android.wm.shell.common.DisplayLayout; 66 private DisplayLayout mDisplayLayout = new DisplayLayout(); 134 DisplayLayout displayLayout, in OneHandedDisplayAreaOrganizer() 303 public DisplayLayout getDisplayLayout() { in getDisplayLayout() 308 void setDisplayLayout(@NonNull DisplayLayout displayLayout) { in setDisplayLayout()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/ |
D | HideDisplayCutoutOrganizer.java | 44 import com.android.wm.shell.common.DisplayLayout; 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/src/com/android/wm/shell/compatui/ |
D | CompatUIWindowManagerAbstract.java | 48 import com.android.wm.shell.common.DisplayLayout; 66 private DisplayLayout mDisplayLayout; 88 DisplayLayout displayLayout) { in CompatUIWindowManagerAbstract() 275 public void updateDisplayLayout(DisplayLayout displayLayout) { in updateDisplayLayout()
|
D | RestartDialogWindowManager.java | 37 import com.android.wm.shell.common.DisplayLayout; 75 DisplayLayout displayLayout, Transitions transitions, in RestartDialogWindowManager() 88 DisplayLayout displayLayout, Transitions transitions, in RestartDialogWindowManager()
|
D | LetterboxEduWindowManager.java | 37 import com.android.wm.shell.common.DisplayLayout; 81 DisplayLayout displayLayout, Transitions transitions, in LetterboxEduWindowManager() 93 DisplayLayout displayLayout, Transitions transitions, in LetterboxEduWindowManager()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
D | PipTouchHandlerTest.java | 32 import com.android.wm.shell.common.DisplayLayout; 101 private DisplayLayout mDisplayLayout; 134 mDisplayLayout = new DisplayLayout(mContext, mContext.getDisplay()); in setUp()
|
D | PhoneSizeSpecSourceTest.java | 29 import com.android.wm.shell.common.DisplayLayout; 183 DisplayLayout displayLayout = new DisplayLayout(displayInfo, getContext().getResources(), in setupSizeSpecWithDisplayDimension()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipController.java | 45 import com.android.wm.shell.common.DisplayLayout; 182 DisplayLayout layout = new DisplayLayout(mContext, mContext.getDisplay()); in onInit() 246 onDisplayChanged(new DisplayLayout(mContext, mContext.getDisplay())); in onThemeChanged() 269 private void onDisplayChanged(DisplayLayout layout) { in onDisplayChanged()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/ |
D | SplitScreenControllerTests.java | 64 import com.android.wm.shell.common.DisplayLayout; 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/tests/unittest/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicyTest.java | 76 import com.android.wm.shell.common.DisplayLayout; 113 private DisplayLayout mLandscapeDisplayLayout; 114 private DisplayLayout mPortraitDisplayLayout; 147 mLandscapeDisplayLayout = new DisplayLayout(info, res, false, false); in setUp() 151 mPortraitDisplayLayout = new DisplayLayout(info2, res, false, false); in setUp()
|