Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DExternalDisplayPolicy.java63 static boolean isExternalDisplayLocked(@NonNull final LogicalDisplay logicalDisplay) { in isExternalDisplayLocked() argument
64 return logicalDisplay.getDisplayInfoLocked().type == TYPE_EXTERNAL; in isExternalDisplayLocked()
134 var logicalDisplay = mLogicalDisplayMapper.getDisplayLocked(displayId); in onBootCompleted() local
135 if (logicalDisplay != null) { in onBootCompleted()
136 handleExternalDisplayConnectedLocked(logicalDisplay); in onBootCompleted()
169 void setExternalDisplayEnabledLocked(@NonNull final LogicalDisplay logicalDisplay, in setExternalDisplayEnabledLocked() argument
171 if (!isExternalDisplayLocked(logicalDisplay)) { in setExternalDisplayEnabledLocked()
191 mLogicalDisplayMapper.setDisplayEnabledLocked(logicalDisplay, enabled); in setExternalDisplayEnabledLocked()
199 void handleExternalDisplayConnectedLocked(@NonNull final LogicalDisplay logicalDisplay) { in handleExternalDisplayConnectedLocked() argument
200 if (!isExternalDisplayLocked(logicalDisplay)) { in handleExternalDisplayConnectedLocked()
[all …]
DBrightnessSetting.java62 @NonNull LogicalDisplay logicalDisplay, in BrightnessSetting() argument
65 mLogicalDisplay = logicalDisplay; in BrightnessSetting()
DLogicalDisplayMapper.java410 LogicalDisplay logicalDisplay = getDisplayLocked(device, /* includeDisabled= */ true); in getDisplayInfoForStateLocked() local
411 if (logicalDisplay == null) { in getDisplayInfoForStateLocked()
416 DisplayInfo displayInfo = new DisplayInfo(logicalDisplay.getDisplayInfoLocked()); in getDisplayInfoForStateLocked()
1045 final LogicalDisplay logicalDisplay = mLogicalDisplays.valueAt(i); in resetLayoutLocked() local
1046 final int displayId = logicalDisplay.getDisplayIdLocked(); in resetLayoutLocked()
1047 final DisplayDevice device = logicalDisplay.getPrimaryDisplayDeviceLocked(); in resetLayoutLocked()
1083 logicalDisplay.isInTransitionLocked() in resetLayoutLocked()
1089 if (transitionValue != logicalDisplay.isInTransitionLocked()) { in resetLayoutLocked()
1096 logicalDisplay.setIsInTransitionLocked(transitionValue); in resetLayoutLocked()
DDisplayManagerService.java724 mLogicalDisplayMapper.forEachLocked(logicalDisplay -> { in onUserSwitching()
725 if (logicalDisplay.getDisplayInfoLocked().type != Display.TYPE_INTERNAL) { in onUserSwitching()
729 logicalDisplay.getDisplayIdLocked()); in onUserSwitching()
736 logicalDisplay.getPrimaryDisplayDeviceLocked().getUniqueId(), in onUserSwitching()
740 final DisplayDevice device = logicalDisplay.getPrimaryDisplayDeviceLocked(); in onUserSwitching()
744 newBrightness = logicalDisplay.getDisplayInfoLocked().brightnessDefault; in onUserSwitching()
2669 final LogicalDisplay logicalDisplay = mLogicalDisplayMapper.getDisplayLocked(displayDevice); in getDpcFromUniqueIdLocked() local
2670 if (logicalDisplay != null) { in getDpcFromUniqueIdLocked()
2671 final int displayId = logicalDisplay.getDisplayIdLocked(); in getDpcFromUniqueIdLocked()
2702 mLogicalDisplayMapper.forEachLocked((logicalDisplay) -> { in loadBrightnessConfigurations() argument
[all …]
DDisplayPowerController.java501 SensorManager sensorManager, DisplayBlanker blanker, LogicalDisplay logicalDisplay, in DisplayPowerController() argument
508 mLogicalDisplay = logicalDisplay; in DisplayPowerController()
512 mDisplayDeviceConfig = logicalDisplay.getPrimaryDisplayDeviceLocked() in DisplayPowerController()
514 mIsEnabled = logicalDisplay.isEnabledLocked(); in DisplayPowerController()
515 mIsInTransition = logicalDisplay.isInTransitionLocked(); in DisplayPowerController()
516 mIsDisplayInternal = logicalDisplay.getPrimaryDisplayDeviceLocked() in DisplayPowerController()
525 logicalDisplay.getDisplayInfoLocked().thermalBrightnessThrottlingDataId; in DisplayPowerController()
527 mUniqueDisplayId = logicalDisplay.getPrimaryDisplayDeviceLocked().getUniqueId(); in DisplayPowerController()
589 logicalDisplay.getPowerThrottlingDataIdLocked(), in DisplayPowerController()