Home
last modified time | relevance | path

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

/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioController.java54 private final DisplayController mDisplayController; field in RadioController
62 mDisplayController = new DisplayController(activity, this); in RadioController()
70 mDisplayController.setBackwardSeekButtonListener(this::onBackwardSeekClick); in RadioController()
71 mDisplayController.setForwardSeekButtonListener(this::onForwardSeekClick); in RadioController()
72 mDisplayController.setPlayButtonCallback(this::onSwitchToPlayState); in RadioController()
73 mDisplayController.setFavoriteToggleListener(this::onFavoriteToggled); in RadioController()
77 mDisplayController.setState(state); in onConnectionStateChanged()
161 mDisplayController.setCurrentIsFavorite(isFav); in onFavoritesChanged()
171 mDisplayController.setChannel(sel); in onCurrentProgramChanged()
173 mDisplayController.setStationName( in onCurrentProgramChanged()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRotationTouchHelper.java57 private DisplayController mDisplayController; field in RotationTouchHelper
147 mDisplayController = DisplayController.INSTANCE.get(mContext); in init()
155 mDisplayController.addChangeListener(this); in init()
156 DisplayController.Info info = mDisplayController.getInfo(); in init()
158 runOnDestroy(() -> mDisplayController.removeChangeListener(this)); in init()
228 mOrientationTouchTransformer.createOrAddTouchRegion(mDisplayController.getInfo()); in updateGestureTouchRegions()
281 mOrientationTouchTransformer.setNavigationMode(newMode, mDisplayController.getInfo(), in onDisplayInfoChangedInternal()
303 newGesturalHeight, mDisplayController.getInfo(), mContext.getResources()); in setGesturalHeight()
319 mOrientationTouchTransformer.enableMultipleRegions(enable, mDisplayController.getInfo()); in enableMultipleRegions()
382 mOrientationTouchTransformer.setSingleActiveRegion(mDisplayController.getInfo()); in toggleSecondaryNavBarsForRotation()
DRecentsAnimationDeviceState.java90 private final DisplayController mDisplayController; field in RecentsAnimationDeviceState
136 mDisplayController = DisplayController.INSTANCE.get(context); in RecentsAnimationDeviceState()
171 mDisplayController.addChangeListener(this); in RecentsAnimationDeviceState()
172 onDisplayInfoChanged(context, mDisplayController.getInfo(), CHANGE_ALL); in RecentsAnimationDeviceState()
173 runOnDestroy(() -> mDisplayController.removeChangeListener(this)); in RecentsAnimationDeviceState()
248 mDisplayController.addChangeListener(listener); in addNavigationModeChangedCallback()
250 runOnDestroy(() -> mDisplayController.removeChangeListener(listener)); in addNavigationModeChangedCallback()
549 final Info displayInfo = mDisplayController.getInfo(); in canTriggerOneHandedAction()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/wm/
DDisplaySystemBarsControllerTest.java56 private DisplayController mDisplayController; field in DisplaySystemBarsControllerTest
68 when(mDisplayController.getDisplayLayout(anyInt())).thenReturn(mDisplayLayout); in setUp()
73 mDisplayController, in setUp()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarManager.java86 private final DisplayController mDisplayController; field in TaskbarManager
138 mDisplayController = DisplayController.INSTANCE.get(service); in TaskbarManager()
218 + mDisplayController.getChangeFlagsString(flags)); in TaskbarManager()
220 mNavMode = mDisplayController.getInfo().navigationMode; in TaskbarManager()
221 mDisplayController.addChangeListener(mDispInfoChangeListener); in TaskbarManager()
474 mDisplayController.removeChangeListener(mDispInfoChangeListener); in destroy()