/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/repository/ |
D | StatusBarModeRepositoryStore.kt | 33 val defaultDisplay: StatusBarModePerDisplayRepository constant 47 override val defaultDisplay = factory.create(displayId) in forDisplay() constant 51 defaultDisplay in forDisplay() 57 defaultDisplay.start() in forDisplay() 61 defaultDisplay.onStatusBarViewInitialized(component) in forDisplay() 65 defaultDisplay.dump(pw, args) in forDisplay()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | WindowDecorationTests.java | 165 final Display defaultDisplay = mock(Display.class); in testLayoutResultCalculation_invisibleTask() local 166 doReturn(defaultDisplay).when(mMockDisplayController) in testLayoutResultCalculation_invisibleTask() 212 final Display defaultDisplay = mock(Display.class); in testLayoutResultCalculation_visibleFocusedTask() local 213 doReturn(defaultDisplay).when(mMockDisplayController) in testLayoutResultCalculation_visibleFocusedTask() 249 verify(mMockSurfaceControlViewHostFactory).create(any(), eq(defaultDisplay), any()); in testLayoutResultCalculation_visibleFocusedTask() 277 final Display defaultDisplay = mock(Display.class); in testLayoutResultCalculation_visibleFocusedTaskToInvisible() local 278 doReturn(defaultDisplay).when(mMockDisplayController) in testLayoutResultCalculation_visibleFocusedTaskToInvisible() 377 final Display defaultDisplay = mock(Display.class); in testAddViewHostViewContainer() local 378 doReturn(defaultDisplay).when(mMockDisplayController) in testAddViewHostViewContainer() 426 .create(any(), eq(defaultDisplay), any()); in testAddViewHostViewContainer() [all …]
|
D | DesktopModeWindowDecorationTests.java | 173 final Display defaultDisplay = mock(Display.class); in setUp() local 174 doReturn(defaultDisplay).when(mMockDisplayController).getDisplay(Display.DEFAULT_DISPLAY); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/domain/interactor/ |
D | LightsOutInteractorTest.kt | 37 statusBarModeRepository.defaultDisplay.statusBarMode.value = StatusBarMode.LIGHTS_OUT in <lambda>() 46 statusBarModeRepository.defaultDisplay.statusBarMode.value = in isLowProfile_lightsOutTransparentStatusBarMode_true() 56 statusBarModeRepository.defaultDisplay.statusBarMode.value = StatusBarMode.TRANSPARENT in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | HeadsUpStyleProviderImplTest.kt | 45 statusBarModeRepositoryStore.defaultDisplay.isInFullscreenMode.value = true in setUp() 60 statusBarModeRepositoryStore.defaultDisplay.isInFullscreenMode.value = true in shouldApplyCompactStyle_returnsTrue_whenImmersiveModeEnabled() 70 statusBarModeRepositoryStore.defaultDisplay.isInFullscreenMode.value = false in shouldApplyCompactStyle_returnsFalse_whenImmersiveModeDisabled()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/data/repository/ |
D | FakeStatusBarModeRepository.kt | 36 override val defaultDisplay: FakeStatusBarModePerDisplayRepository = constant in com.android.systemui.statusbar.data.repository.FakeStatusBarModeRepository 41 return defaultDisplay in forDisplay()
|
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/display/ |
D | DisplayOrientationController.kt | 73 context.display ?: windowManager.defaultDisplay 75 windowManager.defaultDisplay
|
/frameworks/base/graphics/java/android/graphics/ |
D | HardwareRenderer.java | 1372 final Display defaultDisplay = dm.getDisplay(Display.DEFAULT_DISPLAY); in initDisplayInfo() local 1373 if (defaultDisplay == null) { in initDisplayInfo() 1384 final Mode activeMode = defaultDisplay.getMode(); in initDisplayInfo() 1386 defaultDisplay.getPreferredWideGamutColorSpace(); in initDisplayInfo() 1394 final OverlayProperties overlayProperties = defaultDisplay.getOverlaySupport(); in initDisplayInfo() 1419 nInitDisplayInfo(largestWidth, largestHeight, defaultDisplay.getRefreshRate(), in initDisplayInfo() 1420 wideColorDataspace, defaultDisplay.getAppVsyncOffsetNanos(), in initDisplayInfo() 1421 defaultDisplay.getPresentationDeadlineNanos(), in initDisplayInfo()
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 180 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testPublicPresentationVirtualDisplay() local 182 defaultDisplay, GREENISH, 0); in testPublicPresentationVirtualDisplay() 188 defaultDisplay, Color.BLACK, WindowManager.LayoutParams.FLAG_SECURE); in testPublicPresentationVirtualDisplay() 227 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testSecurePublicPresentationVirtualDisplay() local 229 defaultDisplay, GREENISH, WindowManager.LayoutParams.FLAG_SECURE); in testSecurePublicPresentationVirtualDisplay()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/ |
D | UnfoldMoveFromCenterAnimator.kt | 63 fun updateDisplayProperties(@Rotation rotation: Int = windowManager.defaultDisplay.rotation) { in updateDisplayProperties() 64 windowManager.defaultDisplay.getSize(screenSize) in updateDisplayProperties()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowSurfacePlacer.java | 144 final DisplayContent defaultDisplay = mService.getDefaultDisplayContentLocked(); in performSurfacePlacementLoop() local 145 if (defaultDisplay.mWaitingForConfig) { in performSurfacePlacementLoop()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | HeadsUpStyleProvider.kt | 42 statusBarModeRepositoryStore.defaultDisplay.isInFullscreenMode.value in shouldApplyCompactStyle()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 71 Display defaultDisplay = new Display(DisplayManagerGlobal.getInstance(), DEFAULT_DISPLAY, in testDecorContextWithDefaultDisplay() local 73 final Context defaultDisplayContext = mContext.createDisplayContext(defaultDisplay); in testDecorContextWithDefaultDisplay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/ |
D | OngoingCallControllerTest.kt | 605 statusBarModeRepository.defaultDisplay.isInFullscreenMode.value = true in fullscreenIsTrue_chipStillClickable() 615 statusBarModeRepository.defaultDisplay.isInFullscreenMode.value = true in callStartedInImmersiveMode_swipeGestureCallbackAdded() 626 statusBarModeRepository.defaultDisplay.isInFullscreenMode.value = false in callStartedNotInImmersiveMode_swipeGestureCallbackNotAdded() 639 statusBarModeRepository.defaultDisplay.isInFullscreenMode.value = true in transitionToImmersiveMode_swipeGestureCallbackAdded() 648 statusBarModeRepository.defaultDisplay.isInFullscreenMode.value = true in transitionOutOfImmersiveMode_swipeGestureCallbackRemoved() 652 statusBarModeRepository.defaultDisplay.isInFullscreenMode.value = false in transitionOutOfImmersiveMode_swipeGestureCallbackRemoved() 660 statusBarModeRepository.defaultDisplay.isInFullscreenMode.value = true in callEndedWhileInImmersiveMode_swipeGestureCallbackRemoved()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuController.java | 185 final Display defaultDisplay = mDisplayManager.getDisplay( in showFloatingMenu() local 187 final Context windowContext = mContext.createWindowContext(defaultDisplay, in showFloatingMenu()
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeApp.java | 105 final Display defaultDisplay = dm.getDisplay(DEFAULT_DISPLAY); in onCreate() local 106 final Context windowContext = createDisplayContext(defaultDisplay) in onCreate()
|
/frameworks/base/services/tests/powerstatstests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
D | TestService.java | 62 final Display defaultDisplay = dm.getDisplay(Display.DEFAULT_DISPLAY); in onCreate() local 63 final Context defaultDisplayContext = createDisplayContext(defaultDisplay); in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/ |
D | CollapsedStatusBarViewModelImplTest.kt | 347 statusBarModeRepository.defaultDisplay.statusBarMode.value = in areNotificationsLightsOut_lowProfileWithNotifications_true() 361 statusBarModeRepository.defaultDisplay.statusBarMode.value = in areNotificationsLightsOut_lowProfileWithoutNotifications_false() 375 statusBarModeRepository.defaultDisplay.statusBarMode.value = StatusBarMode.TRANSPARENT in areNotificationsLightsOut_defaultStatusBarModeWithoutNotifications_false() 388 statusBarModeRepository.defaultDisplay.statusBarMode.value = StatusBarMode.TRANSPARENT in areNotificationsLightsOut_defaultStatusBarModeWithNotifications_false()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/bubble/src/com/android/wm/shell/flicker/bubble/ |
D | DragToDismissBubbleScreenTest.kt | 60 wm.run { wm.defaultDisplay.getMetrics(displaySize) } in <lambda>()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/ |
D | WindowAreaComponentImpl.java | 259 final Display defaultDisplay = mDisplayManager in getRearDisplayMetrics() local 261 rotateRearDisplayMetricsIfNeeded(defaultDisplay.getRotation(), in getRearDisplayMetrics()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarMoveFromCenterAnimationControllerTest.kt | 42 whenever(windowManager.defaultDisplay).thenReturn(display) in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | ShadeControllerImplTest.kt | 106 whenever(windowManager.defaultDisplay).thenReturn(display) in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/animation/ |
D | UnfoldMoveFromCenterAnimatorTest.kt | 235 whenever(windowManager.defaultDisplay).thenReturn(display) in givenScreen()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/ |
D | OngoingCallController.kt | 143 statusBarModeRepository.defaultDisplay.isInFullscreenMode.collect { in <lambda>()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 486 DisplayContent defaultDisplay = mWm.mRoot.getDisplayContent(DEFAULT_DISPLAY); in testDefaultDisplayOverrideConfigUpdate() local 487 final Configuration currentConfig = defaultDisplay.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() 494 defaultDisplay.updateDisplayOverrideConfigurationLocked(newOverrideConfig, in testDefaultDisplayOverrideConfigUpdate() 503 defaultDisplay.updateDisplayOverrideConfigurationLocked(currentConfig, in testDefaultDisplayOverrideConfigUpdate() 573 final DisplayContent defaultDisplay = mWm.getDefaultDisplayContentLocked(); in testShouldWaitForSystemDecorWindowsOnBoot_OnDefaultDisplay() local 574 final WindowState[] windows = createNotDrawnWindowsOn(defaultDisplay, in testShouldWaitForSystemDecorWindowsOnBoot_OnDefaultDisplay() 583 assertTrue(defaultDisplay.shouldWaitForSystemDecorWindowsOnBoot()); in testShouldWaitForSystemDecorWindowsOnBoot_OnDefaultDisplay() 588 assertFalse(defaultDisplay.shouldWaitForSystemDecorWindowsOnBoot()); in testShouldWaitForSystemDecorWindowsOnBoot_OnDefaultDisplay()
|