Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayLayoutTest.java55 DisplayLayout dl = new DisplayLayout(info, res, false, false); in testInsets()
60 dl = new DisplayLayout(info, res, true, true); in testInsets()
66 dl = new DisplayLayout(info, res, false, false); in testInsets()
71 dl = new DisplayLayout(info, res, true, true); in testInsets()
81 DisplayLayout dl = new DisplayLayout(info, res, true, true); in testRotate()
92 dl = new DisplayLayout(info, res, true, true); in testRotate()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DLegacySplitDisplayLayout.java38 import com.android.wm.shell.common.DisplayLayout;
52 DisplayLayout mDisplayLayout;
66 public LegacySplitDisplayLayout(Context ctx, DisplayLayout dl, in LegacySplitDisplayLayout()
105 case DisplayLayout.NAV_BAR_BOTTOM: in getPrimarySplitSide()
107 case DisplayLayout.NAV_BAR_LEFT: in getPrimarySplitSide()
109 case DisplayLayout.NAV_BAR_RIGHT: in getPrimarySplitSide()
185 private void adjustForIME(DisplayLayout dl, int currImeTop, int hiddenTop, int shownTop, in adjustForIME()
228 static int getSmallestWidthDpForBounds(@NonNull Context context, DisplayLayout dl, in getSmallestWidthDpForBounds()
241 DisplayLayout tmpDL = new DisplayLayout(); in getSmallestWidthDpForBounds()
267 static DividerSnapAlgorithm initSnapAlgorithmForRotation(Context context, DisplayLayout dl, in initSnapAlgorithmForRotation()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sizecompatui/
DSizeCompatUILayoutTest.java43 import com.android.wm.shell.common.DisplayLayout;
67 @Mock private DisplayLayout mDisplayLayout;
178 final DisplayLayout displayLayout1 = new DisplayLayout(displayInfo, in testUpdateDisplayLayout()
187 final DisplayLayout displayLayout2 = new DisplayLayout(displayInfo, in testUpdateDisplayLayout()
DSizeCompatHintPopupTest.java34 import com.android.wm.shell.common.DisplayLayout;
56 @Mock private DisplayLayout mDisplayLayout;
DSizeCompatRestartButtonTest.java34 import com.android.wm.shell.common.DisplayLayout;
58 @Mock private DisplayLayout mDisplayLayout;
DSizeCompatUIControllerTest.java38 import com.android.wm.shell.common.DisplayLayout;
61 private @Mock DisplayLayout mMockDisplayLayout;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java60 public class DisplayLayout { class
89 if (!(o instanceof DisplayLayout)) return false; in equals()
90 final DisplayLayout other = (DisplayLayout) o; in equals()
114 public DisplayLayout() { in DisplayLayout() method in DisplayLayout
122 public DisplayLayout(DisplayInfo info, Resources res, boolean hasNavigationBar, in DisplayLayout() method in DisplayLayout
131 public DisplayLayout(@NonNull Context context, @NonNull Display rawDisplay) { in DisplayLayout() method in DisplayLayout
139 public DisplayLayout(DisplayLayout dl) { in DisplayLayout() method in DisplayLayout
144 public void set(DisplayLayout dl) { in set()
DDisplayController.java80 public @Nullable DisplayLayout getDisplayLayout(int displayId) { in getDisplayLayout()
147 record.mDisplayLayout = new DisplayLayout(record.mContext, display); in onDisplayAdded()
174 dr.mDisplayLayout = new DisplayLayout(dr.mContext, display); in onDisplayConfigurationChanged()
224 DisplayLayout mDisplayLayout;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizer.java40 import com.android.wm.shell.common.DisplayLayout;
62 private DisplayLayout mDisplayLayout = new DisplayLayout();
121 DisplayLayout displayLayout, in OneHandedDisplayAreaOrganizer()
292 public DisplayLayout getDisplayLayout() { in getDisplayLayout()
297 void setDisplayLayout(@NonNull DisplayLayout displayLayout) { in setDisplayLayout()
DOneHandedBackgroundPanelOrganizer.java39 import com.android.wm.shell.common.DisplayLayout;
80 public OneHandedBackgroundPanelOrganizer(Context context, DisplayLayout displayLayout, in OneHandedBackgroundPanelOrganizer()
162 public void onDisplayChanged(DisplayLayout displayLayout) { in onDisplayChanged()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedControllerTest.java49 import com.android.wm.shell.common.DisplayLayout;
65 DisplayLayout mDisplayLayout;
106 mDisplayLayout = new DisplayLayout(mContext, mDisplay); in setUp()
296 final DisplayLayout landscapeDisplayLayout = new DisplayLayout(mDisplayLayout); in testRotation90CanNotStartOneHanded()
309 final DisplayLayout testDisplayLayout = new DisplayLayout(mDisplayLayout); in testRotation180CanStartOneHanded()
323 final DisplayLayout testDisplayLayout = new DisplayLayout(mDisplayLayout); in testRotation270CanNotStartOneHanded()
DOneHandedTutorialHandlerTest.java35 import com.android.wm.shell.common.DisplayLayout;
48 DisplayLayout mDisplayLayout;
66 mDisplayLayout = new DisplayLayout(mContext, mDisplay); in setUp()
DOneHandedBackgroundPanelOrganizerTest.java45 import com.android.wm.shell.common.DisplayLayout;
59 private DisplayLayout mDisplayLayout;
77 mDisplayLayout = new DisplayLayout(mContext, mDisplay); in setUp()
DOneHandedStateTest.java44 import com.android.wm.shell.common.DisplayLayout;
60 DisplayLayout mDisplayLayout;
99 mDisplayLayout = new DisplayLayout(mContext, mDisplay); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizer.java44 import com.android.wm.shell.common.DisplayLayout;
85 DisplayLayout displayLayout =
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/
DPipBoundsState.java36 import com.android.wm.shell.common.DisplayLayout;
77 private final @NonNull DisplayLayout mDisplayLayout = new DisplayLayout();
278 public void setDisplayLayout(@NonNull DisplayLayout displayLayout) { in setDisplayLayout()
284 public DisplayLayout getDisplayLayout() { in getDisplayLayout()
DPipBoundsAlgorithm.java35 import com.android.wm.shell.common.DisplayLayout;
246 final DisplayLayout displayLayout = mPipBoundsState.getDisplayLayout(); in transformBoundsToAspectRatio()
288 final DisplayLayout displayLayout = mPipBoundsState.getDisplayLayout(); in getDefaultBounds()
320 final DisplayLayout displayLayout = mPipBoundsState.getDisplayLayout(); in getInsetBounds()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipTouchHandlerTest.java32 import com.android.wm.shell.common.DisplayLayout;
89 private DisplayLayout mDisplayLayout;
117 mDisplayLayout = new DisplayLayout(mContext, mContext.getDisplay()); in setUp()
DPipControllerTest.java44 import com.android.wm.shell.common.DisplayLayout;
88 @Mock private DisplayLayout mMockDisplayLayout1;
89 @Mock private DisplayLayout mMockDisplayLayout2;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/
DSizeCompatUILayout.java38 import com.android.wm.shell.common.DisplayLayout;
55 private DisplayLayout mDisplayLayout;
76 DisplayLayout displayLayout, boolean hasShownHint) { in SizeCompatUILayout()
183 void updateDisplayLayout(DisplayLayout displayLayout) { in updateDisplayLayout()
DSizeCompatUIController.java32 import com.android.wm.shell.common.DisplayLayout;
129 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(displayId); in onDisplayConfigurationChanged()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicyTest.java67 import com.android.wm.shell.common.DisplayLayout;
98 private DisplayLayout mLandscapeDisplayLayout;
99 private DisplayLayout mPortraitDisplayLayout;
124 mLandscapeDisplayLayout = new DisplayLayout(info, res, false, false); in setUp()
128 mPortraitDisplayLayout = new DisplayLayout(info2, res, false, false); in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicy.java66 import com.android.wm.shell.common.DisplayLayout;
107 void start(DisplayLayout displayLayout, ClipData data) { in start()
250 final DisplayLayout displayLayout;
261 DisplayLayout dispLayout, ClipData data) { in DragSession()
DDragLayout.java43 import com.android.wm.shell.common.DisplayLayout;
101 public void prepare(DisplayLayout displayLayout, ClipData initialData) { in prepare()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DWMShellBaseModule.java47 import com.android.wm.shell.common.DisplayLayout;
112 static DisplayLayout provideDisplayLayout() { in provideDisplayLayout()
113 return new DisplayLayout(); in provideDisplayLayout()
248 DisplayLayout displayLayout, TaskStackListenerImpl taskStackListener, in provideOneHandedController()

12