Home
last modified time | relevance | path

Searched refs:DisplayLayout (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipDisplayLayoutState.java31 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/
DDisplayLayoutTest.java81 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/
DDisplayLayout.java59 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()
DDisplayController.java100 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/
DDragSession.java33 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/
DDesktopModeVisualIndicator.java52 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()
DDesktopModeUtils.kt29 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/
DUserAspectRatioSettingsWindowManagerTest.java57 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()
DCompatUIWindowManagerTest.java60 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()
DRestartDialogWindowManagerTest.java29 import com.android.wm.shell.common.DisplayLayout;
74 mTaskListener, new DisplayLayout(), mTransitions, mOnRestartCallback, in setUp()
DReachabilityEduWindowManagerTest.java32 import com.android.wm.shell.common.DisplayLayout;
61 private DisplayLayout mDisplayLayout;
DUserAspectRatioSettingsLayoutTest.java44 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/
DBackgroundWindowManagerTest.java28 import com.android.wm.shell.common.DisplayLayout;
43 private DisplayLayout mMockDisplayLayout;
DOneHandedTutorialHandlerTest.java35 import com.android.wm.shell.common.DisplayLayout;
48 DisplayLayout mDisplayLayout;
68 mDisplayLayout = new DisplayLayout(getTestContext().getApplicationContext(), mDisplay); in setUp()
DOneHandedStateTest.java41 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/
DOneHandedDisplayAreaOrganizer.java43 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/
DHideDisplayCutoutOrganizer.java44 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/
DCompatUIWindowManagerAbstract.java48 import com.android.wm.shell.common.DisplayLayout;
66 private DisplayLayout mDisplayLayout;
88 DisplayLayout displayLayout) { in CompatUIWindowManagerAbstract()
275 public void updateDisplayLayout(DisplayLayout displayLayout) { in updateDisplayLayout()
DRestartDialogWindowManager.java37 import com.android.wm.shell.common.DisplayLayout;
75 DisplayLayout displayLayout, Transitions transitions, in RestartDialogWindowManager()
88 DisplayLayout displayLayout, Transitions transitions, in RestartDialogWindowManager()
DLetterboxEduWindowManager.java37 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/
DPipTouchHandlerTest.java32 import com.android.wm.shell.common.DisplayLayout;
101 private DisplayLayout mDisplayLayout;
134 mDisplayLayout = new DisplayLayout(mContext, mContext.getDisplay()); in setUp()
DPhoneSizeSpecSourceTest.java29 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/
DPipController.java45 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/
DSplitScreenControllerTests.java64 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/
DDragAndDropPolicyTest.java76 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()

123