Home
last modified time | relevance | path

Searched refs:mDisplayController (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayAdapter.java85 private WifiDisplayController mDisplayController; field in WifiDisplayAdapter
133 if (mDisplayController == null) { in dumpLocked()
139 DumpUtils.dumpAsync(getHandler(), mDisplayController, ipw, "", 200); in dumpLocked() local
152 mDisplayController = new WifiDisplayController( in registerLocked()
170 if (mDisplayController != null) { in requestStartScanLocked()
171 mDisplayController.requestStartScan(); in requestStartScanLocked()
185 if (mDisplayController != null) { in requestStopScanLocked()
186 mDisplayController.requestStopScan(); in requestStopScanLocked()
200 if (mDisplayController != null) { in requestConnectLocked()
201 mDisplayController.requestConnect(address); in requestConnectLocked()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizer.java57 private final DisplayController mDisplayController; field in HideDisplayCutoutOrganizer
95 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(DEFAULT_DISPLAY); in onDisplayChanged()
114 mDisplayController = displayController; in HideDisplayCutoutOrganizer()
176 mDisplayController.addDisplayWindowListener(mListener); in enableHideDisplayCutout()
177 final DisplayLayout displayLayout = mDisplayController.getDisplayLayout(DEFAULT_DISPLAY); in enableHideDisplayCutout()
196 mDisplayController.removeDisplayWindowListener(mListener); in disableHideDisplayCutout()
202 final Display display = mDisplayController.getDisplay(DEFAULT_DISPLAY); in getDisplayCutoutInsetsOfNaturalOrientation()
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/windowdecor/
DVeiledResizeTaskPositioner.java51 private DisplayController mDisplayController; field in VeiledResizeTaskPositioner
79 mDisplayController = displayController; in VeiledResizeTaskPositioner()
104 mDisplayController.getDisplayLayout(mDesktopWindowDecoration.mDisplay.getDisplayId()) in onDragPositioningStart()
115 mDisplayController, mDesktopWindowDecoration)) { in onDragPositioningMove()
139 delta, mDisplayController, mDesktopWindowDecoration); in onDragPositioningEnd()
DFluidResizeTaskPositioner.java58 private DisplayController mDisplayController; field in FluidResizeTaskPositioner
85 mDisplayController = displayController; in FluidResizeTaskPositioner()
107 mDisplayController.getDisplayLayout(mWindowDecoration.mDisplay.getDisplayId()) in onDragPositioningStart()
119 mDisplayController, mWindowDecoration)) { in onDragPositioningMove()
149 mTaskBoundsAtDragStart, mStableBounds, delta, mDisplayController, in onDragPositioningEnd()
DHandleMenu.java89 private final DisplayController mDisplayController; field in HandleMenu
108 mDisplayController = displayController; in HandleMenu()
266 final DisplayLayout layout = mDisplayController in updateHandleMenuPillPositions()
458 private DisplayController mDisplayController; field in HandleMenu.Builder
501 mDisplayController = displayController; in setDisplayController()
512 mOnTouchListener, mAppIcon, mName, mDisplayController, mSplitScreenController, in build()
DWindowDecoration.java108 final DisplayController mDisplayController; field in WindowDecoration
122 mDisplayController.removeDisplayWindowListener(this);
171 mDisplayController = displayController; in WindowDecoration()
180 mDisplay = mDisplayController.getDisplay(mTaskInfo.displayId); in WindowDecoration()
491 final InsetsState insetsState = mDisplayController.getInsetsState(displayId); in updateCaptionVisibility()
533 mDisplay = mDisplayController.getDisplay(mTaskInfo.displayId); in obtainDisplayOrRegisterListener()
535 mDisplayController.addDisplayWindowListener(mOnDisplaysChangedListener); in obtainDisplayOrRegisterListener()
576 mDisplayController.removeDisplayWindowListener(mOnDisplaysChangedListener); in close()
DCaptionWindowDecorViewModel.java62 private final DisplayController mDisplayController; field in CaptionWindowDecorViewModel
83 mDisplayController = displayController; in CaptionWindowDecorViewModel()
228 mDisplayController, in createWindowDecoration()
239 mDisplayController); in createWindowDecoration()
DCaptionWindowDecoration.java97 final Context displayContext = mDisplayController.getDisplayContext(mTaskInfo.displayId); in calculateValidDragArea()
114 final DisplayLayout layout = mDisplayController.getDisplayLayout(mTaskInfo.displayId); in calculateValidDragArea()
232 mDisplayController); in relayout()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/tv/
DTvSplitScreenController.java56 private final DisplayController mDisplayController; field in TvSplitScreenController
97 mDisplayController = displayController; in TvSplitScreenController()
117 mTaskOrganizer, mDisplayController, mDisplayImeController, in createStageCoordinator()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/
DSplitLayoutTests.java66 @Mock DisplayController mDisplayController; field in SplitLayoutTests
82 mDisplayController, in setup()
113 verify(mDisplayController, times(5)) // init * 1 + updateConfiguration * 4 in testUpdateConfiguration()
187 verify(mDisplayController, times(2)) // init * 1 + rotateTo * 1 in testRoateTo_checksDisplayLayout()
DDividerViewTest.java55 private @Mock DisplayController mDisplayController; field in DividerViewTest
67 mSplitLayoutHandler, mCallbacks, mDisplayController, mDisplayImeController, in setup()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayInsetsController.java46 private final DisplayController mDisplayController; field in DisplayInsetsController
56 mDisplayController = displayController; in DisplayInsetsController()
65 mDisplayController.addDisplayWindowListener(this); in onInit()
144 mDisplayController.updateDisplayInsets(mDisplayId, insetsState); in insetsChanged()
DTabletopModeController.java80 private final DisplayController mDisplayController; field in TabletopModeController
115 mDisplayController = displayController; in TabletopModeController()
123 mDisplayController.addDisplayWindowListener(this); in onInit()
DSystemWindows.java68 private final DisplayController mDisplayController; field in SystemWindows
92 mDisplayController = displayController; in SystemWindows()
93 mDisplayController.addDisplayWindowListener(mDisplayListener); in SystemWindows()
226 final Display display = mDisplayController.getDisplay(mDisplayId); in addView()
250 Context displayContext = mDisplayController.getDisplayContext(mDisplayId); in addRoot()
DDisplayImeController.java81 private final DisplayController mDisplayController; field in DisplayImeController
94 mDisplayController = displayController; in DisplayImeController()
105 mDisplayController.addDisplayWindowListener(this); in onInit()
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()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeVisualIndicator.java73 private final DisplayController mDisplayController; field in DesktopModeVisualIndicator
91 mDisplayController = displayController; in DesktopModeVisualIndicator()
104 final DisplayLayout layout = mDisplayController.getDisplayLayout(mTaskInfo.displayId); in updateIndicatorType()
238 mDisplayController.getDisplay(mTaskInfo.displayId), windowManager, in createView()
257 mDisplayController.getDisplayLayout(mTaskInfo.displayId)); in fadeInIndicator()
268 mDisplayController.getDisplayLayout(mTaskInfo.displayId)); in fadeOutIndicator()
287 mView, mDisplayController.getDisplayLayout(mTaskInfo.displayId), mCurrentType, in transitionIndicator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipController.java79 private final DisplayController mDisplayController; field in PipController
132 mDisplayController = displayController; in PipController()
185 mDisplayController.addDisplayWindowListener(this); in onInit()
190 onDisplayChanged(mDisplayController in onInit()
258 onDisplayChanged(mDisplayController.getDisplayLayout(displayId)); in onDisplayAdded()
266 onDisplayChanged(mDisplayController.getDisplayLayout(displayId)); in onDisplayConfigurationChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DCompatUIController.java148 private final DisplayController mDisplayController; field in CompatUIController
211 mDisplayController = displayController; in CompatUIController()
228 mDisplayController.addDisplayWindowListener(this); in onInit()
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/
DSplitScreenControllerTests.java103 @Mock DisplayController mDisplayController; field in SplitScreenControllerTests
129 mRootTDAOrganizer, mDisplayController, mDisplayImeController, in setup()
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/freeform/
DFreeformTaskTransitionHandler.java59 private final DisplayController mDisplayController; field in FreeformTaskTransitionHandler
78 mDisplayController = displayController; in FreeformTaskTransitionHandler()
226 int screenHeight = mDisplayController in startCloseTransition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedController.java95 private final DisplayController mDisplayController; field in OneHandedController
189 if (mDisplayAreaOrganizer == null || mDisplayController == null in isInitialized()
251 mDisplayController = displayController; in OneHandedController()
285 mDisplayController.addDisplayWindowListener(mDisplaysChangedListener); in onInit()
286 mDisplayController.addDisplayChangingController(this); in onInit()
470 final DisplayLayout newDisplayLayout = mDisplayController.getDisplayLayout(displayId); in updateDisplayLayout()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropController.java95 private final DisplayController mDisplayController; field in DragAndDropController
145 mDisplayController = displayController; in DragAndDropController()
162 mDisplayController.addDisplayWindowListener(this); in onInit()
223 final Context context = mDisplayController.getDisplayContext(displayId) in onDisplayAdded()
318 mDisplayController.getDisplayLayout(displayId), event.getClipData(), in onDrag()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java128 private DisplayController mDisplayController; field in PipController
318 onDisplayChanged(mDisplayController.getDisplayLayout(displayId),
327 onDisplayChanged(mDisplayController.getDisplayLayout(displayId),
457 mDisplayController = displayController; in PipController()
493 onDisplayChanged(mDisplayController.getDisplayLayout(displayId), in onInit()
527 mDisplayController.addDisplayChangingController(mRotationController); in onInit()
528 mDisplayController.addDisplayWindowListener(mDisplaysChangedListener); in onInit()
640 DisplayLayout pendingLayout = mDisplayController in onInit()
650 onDisplayChangedUncheck(mDisplayController in onInit()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/
DDragAndDropControllerTest.java79 private DisplayController mDisplayController; field in DragAndDropControllerTest
99 mShellCommandHandler, mDisplayController, mUiEventLogger, mIconProvider, in setUp()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayInsetsControllerTest.java67 private DisplayController mDisplayController; field in DisplayInsetsControllerTest
84 mController = new DisplayInsetsController(mWm, mShellInit, mDisplayController, mExecutor); in setUp()

12