Home
last modified time | relevance | path

Searched refs:mDisplayTracker (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardDisplayManagerTest.java65 private FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in KeyguardDisplayManagerTest
78 mKeyguardStatusViewComponentFactory, mDisplayTracker, mMainExecutor, in setUp()
98 mDisplayTracker.setAllDisplays(new Display[]{mDefaultDisplay}); in testShow_defaultDisplayOnly()
105 mDisplayTracker.setAllDisplays(new Display[]{mDefaultDisplay, mSecondaryDisplay}); in testShow_includeSecondaryDisplay()
112 mDisplayTracker.setAllDisplays(new Display[]{mDefaultDisplay, mAlwaysUnlockedDisplay}); in testShow_includeAlwaysUnlockedDisplay()
120 mDisplayTracker.setAllDisplays( in testShow_includeSecondaryAndAlwaysUnlockedDisplays()
DKeyguardSliceViewControllerTest.java56 private FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in KeyguardSliceViewControllerTest
68 mTunerService, mDumpManager, mDisplayTracker); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/model/
DSysUiState.java41 private final DisplayTracker mDisplayTracker; field in SysUiState
48 mDisplayTracker = displayTracker; in SysUiState()
88 if (displayId != mDisplayTracker.getDefaultDisplayId()) { in updateFlags()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarController.java90 private final DisplayTracker mDisplayTracker; field in NavigationBarController
131 mDisplayTracker = displayTracker; in NavigationBarController()
310 Display[] displays = mDisplayTracker.getAllDisplays(); in createNavigationBars()
313 || display.getDisplayId() != mDisplayTracker.getDefaultDisplayId()) { in createNavigationBars()
332 final boolean isOnDefaultDisplay = displayId == mDisplayTracker.getDefaultDisplayId(); in createNavigationBar()
427 return getNavigationBarView(mDisplayTracker.getDefaultDisplayId()); in getDefaultNavigationBarView()
448 } else if (displayId == mDisplayTracker.getDefaultDisplayId() in showPinningEnterExitToast()
458 } else if (displayId == mDisplayTracker.getDefaultDisplayId() in showPinningEscapeToast()
476 return mNavigationBars.get(mDisplayTracker.getDefaultDisplayId()); in getDefaultNavigationBar()
DNavigationBarTransitions.java62 private final DisplayTracker mDisplayTracker; field in NavigationBarTransitions
81 mDisplayTracker = displayTracker; in NavigationBarTransitions()
118 if (autoDim && isGesturalModeOnDefaultDisplay(mView.getContext(), mDisplayTracker, in setAutoDim()
205 if (isGesturalModeOnDefaultDisplay(mView.getContext(), mDisplayTracker, mNavBarMode)) { in getTintAnimationDuration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DWMShell.java126 private final DisplayTracker mDisplayTracker; field in WMShell
207 mDisplayTracker = displayTracker; in WMShell()
273 true).commitUpdate(mDisplayTracker.getDefaultDisplayId()); in initOneHanded()
281 true).commitUpdate(mDisplayTracker.getDefaultDisplayId()); in initOneHanded()
289 false).commitUpdate(mDisplayTracker.getDefaultDisplayId()); in initOneHanded()
338 if (displayId == mDisplayTracker.getDefaultDisplayId() in initOneHanded()
352 .commitUpdate(mDisplayTracker.getDefaultDisplayId()); in initDesktopMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessController.java82 private final DisplayTracker mDisplayTracker; field in BrightnessController
142 mDisplayTracker.addBrightnessChangeCallback(mBrightnessListener, in startObserving()
149 mDisplayTracker.removeCallback(mBrightnessListener); in stopObserving()
300 mDisplayTracker = displayTracker; in BrightnessController()
451 private final DisplayTracker mDisplayTracker; field in BrightnessController.Factory
464 mDisplayTracker = displayTracker; in Factory()
475 mDisplayTracker, in create()
DBrightnessDialog.java53 private final DisplayTracker mDisplayTracker; field in BrightnessDialog
65 mDisplayTracker = displayTracker; in BrightnessDialog()
113 this, controller, mUserTracker, mDisplayTracker, mMainExecutor, mBackgroundHandler); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardDisplayManager.java56 private final DisplayTracker mDisplayTracker; field in KeyguardDisplayManager
101 mDisplayTracker = displayTracker; in KeyguardDisplayManager()
102 mDisplayTracker.addDisplayChangeCallback(mDisplayCallback, mainExecutor); in KeyguardDisplayManager()
110 if (display.getDisplayId() == mDisplayTracker.getDefaultDisplayId()) { in isKeyguardShowable()
225 final Display[] displays = mDisplayTracker.getAllDisplays(); in updateDisplays()
248 if (displayId == mDisplayTracker.getDefaultDisplayId()) return; in updateNavigationBarVisibility()
DKeyguardSliceViewController.java67 private final DisplayTracker mDisplayTracker; field in KeyguardSliceViewController
119 mDisplayTracker = displayTracker; in KeyguardSliceViewController()
130 if (mDisplayId == mDisplayTracker.getDefaultDisplayId() && mLiveData != null) { in onViewAttached()
143 if (mDisplayId == mDisplayTracker.getDefaultDisplayId()) { in onViewDetached()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionProxyReceiver.java54 private final DisplayTracker mDisplayTracker; field in ActionProxyReceiver
64 mDisplayTracker = displayTracker; in ActionProxyReceiver()
84 mDisplayTracker.getDefaultDisplayId()); in onReceive()
DScreenshotController.java277 private final DisplayTracker mDisplayTracker; field in ScreenshotController
363 mDisplayTracker = displayTracker; in ScreenshotController()
408 mImageCapture.captureDisplay(mDisplayTracker.getDefaultDisplayId(), bounds)); in handleScreenshot()
678 mScreenshotView.setDefaultDisplay(mDisplayTracker.getDefaultDisplayId()); in reloadAssets()
712 Bitmap screenshot = mImageCapture.captureDisplay(mDisplayTracker.getDefaultDisplayId(), in takeScreenshotInternal()
870 mScrollCaptureClient.request(mDisplayTracker.getDefaultDisplayId()); in requestScrollCapture()
902 mDisplayTracker.getDefaultDisplayId(), in onScrollCaptureResponseReady()
967 mDisplayTracker.getDefaultDisplayId()); in runBatchScrollCapture()
1311 return mDisplayManager.getDisplay(mDisplayTracker.getDefaultDisplayId());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java93 private final DisplayTracker mDisplayTracker; field in CustomTile
140 mDisplayTracker = displayTracker; in CustomTile()
316 mWindowManager.removeWindowToken(mToken, mDisplayTracker.getDefaultDisplayId()); in onDialogHidden()
342 mDisplayTracker.getDefaultDisplayId()); in handleSetListening()
361 mWindowManager.removeWindowToken(mToken, mDisplayTracker.getDefaultDisplayId()); in handleDestroy()
406 mDisplayTracker.getDefaultDisplayId(), null /* options */); in handleClick()
573 final DisplayTracker mDisplayTracker; field in CustomTile.Builder
602 mDisplayTracker = displayTracker; in Builder()
634 mDisplayTracker in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnification.java66 private final DisplayTracker mDisplayTracker; field in WindowMagnification
116 mDisplayTracker = displayTracker; in WindowMagnification()
137 mMagnificationControllerSupplier.valueAt(mDisplayTracker.getDefaultDisplayId()); in updateSysUiStateFlag()
144 .commitUpdate(mDisplayTracker.getDefaultDisplayId()); in updateSysUiStateFlag()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionProxyReceiverTest.java71 private final FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in ActionProxyReceiverTest
140 mMockScreenshotSmartActions, mDisplayTracker); in constructActionProxyReceiver()
144 mDisplayTracker); in constructActionProxyReceiver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarTransitionsTest.java64 private final FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in NavigationBarTransitionsTest
88 navBar, mLightBarTransitionsFactory, mDisplayTracker); in setup()
DNavigationBarButtonTest.java69 private FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in NavigationBarButtonTest
88 mNavBar.setDisplayTracker(mDisplayTracker); in setup()
DNavBarHelperTest.java110 DisplayTracker mDisplayTracker; field in NavBarHelperTest
128 when(mDisplayTracker.getDefaultDisplayId()).thenReturn(0); in setup()
139 mDisplayTracker, mDumpManager, mCommandQueue); in setup()
DNavigationBarControllerTest.java86 private FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in NavigationBarControllerTest
118 mDisplayTracker)); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DWMShellTest.java67 FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in WMShellTest
105 mDisplayTracker, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DIWindowMagnificationConnectionTest.java80 private FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in IWindowMagnificationConnectionTest
93 mModeSwitchesController, mSysUiState, mOverviewProxyService, mDisplayTracker); in setUp()
DWindowMagnificationTest.java78 private FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in WindowMagnificationTest
96 mSysUiState, mOverviewProxyService, mDisplayTracker); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java321 private final DisplayTracker mDisplayTracker; field in LightBarController.Factory
335 mDisplayTracker = displayTracker; in Factory()
341 mNavModeController, mDumpManager, mDisplayTracker); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java124 private final DisplayTracker mDisplayTracker; field in AssistManager
154 mDisplayTracker = displayTracker; in AssistManager()
219 .commitUpdate(mDisplayTracker.getDefaultDisplayId()); in registerVoiceInteractionSessionListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java67 private FakeDisplayTracker mDisplayTracker = new FakeDisplayTracker(mContext); field in CommandQueueTest
73 mCommandQueue = new CommandQueue(mContext, mDisplayTracker); in setup()
421 mDisplayTracker.triggerOnDisplayRemoved(SECONDARY_DISPLAY); in testOnDisplayRemoved()

12