Home
last modified time | relevance | path

Searched refs:defaultDisplay (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/repository/
DStatusBarModeRepositoryStore.kt33 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/
DWindowDecorationTests.java165 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 …]
DDesktopModeWindowDecorationTests.java173 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/
DLightsOutInteractorTest.kt37 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/
DHeadsUpStyleProviderImplTest.kt45 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/
DFakeStatusBarModeRepository.kt36 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/
DDisplayOrientationController.kt73 context.display ?: windowManager.defaultDisplay
75 windowManager.defaultDisplay
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1372 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/
DVirtualDisplayTest.java180 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/
DUnfoldMoveFromCenterAnimator.kt63 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/
DWindowSurfacePlacer.java144 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/
DHeadsUpStyleProvider.kt42 statusBarModeRepositoryStore.defaultDisplay.isInFullscreenMode.value in shouldApplyCompactStyle()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java71 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/
DOngoingCallControllerTest.kt605 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/
DAccessibilityFloatingMenuController.java185 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/
DFakeApp.java105 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/
DTestService.java62 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/
DCollapsedStatusBarViewModelImplTest.kt347 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/
DDragToDismissBubbleScreenTest.kt60 wm.run { wm.defaultDisplay.getMetrics(displaySize) } in <lambda>()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/
DWindowAreaComponentImpl.java259 final Display defaultDisplay = mDisplayManager in getRearDisplayMetrics() local
261 rotateRearDisplayMetricsIfNeeded(defaultDisplay.getRotation(), in getRearDisplayMetrics()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarMoveFromCenterAnimationControllerTest.kt42 whenever(windowManager.defaultDisplay).thenReturn(display) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeControllerImplTest.kt106 whenever(windowManager.defaultDisplay).thenReturn(display) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/animation/
DUnfoldMoveFromCenterAnimatorTest.kt235 whenever(windowManager.defaultDisplay).thenReturn(display) in givenScreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallController.kt143 statusBarModeRepository.defaultDisplay.isInFullscreenMode.collect { in <lambda>()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java486 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()

12