/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | TemperatureControlBehavior.kt | 48 val activeMode = template.getCurrentActiveMode() in <lambda>() constant 54 val enabled = activeMode != 0 && activeMode != TemperatureControlTemplate.MODE_OFF in <lambda>() 56 cvh.applyRenderInfo(enabled, activeMode) in <lambda>() 71 activeMode in <lambda>()
|
/frameworks/native/services/surfaceflinger/Display/ |
D | DisplayModeController.cpp | 104 const auto activeMode = displayPtr->selectorPtr->getActiveMode(); in setDesiredMode() local 106 !desiredMode.force && activeMode.modePtr->getId() == desiredModePtr->getId()) { in setDesiredMode() 107 if (activeMode == desiredMode.mode) { in setDesiredMode() 118 setActiveModeLocked(displayId, activeMode.modePtr->getId(), in setDesiredMode() 119 activeMode.modePtr->getVsyncRate(), activeMode.modePtr->getPeakFps()); in setDesiredMode()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.cpp | 500 const auto& activeMode = *getActiveModeLocked().modePtr; in getRankedFrameRatesLocked() local 505 const auto ranking = rankFrameRates(activeMode.getGroup(), RefreshRateOrder::Descending, in getRankedFrameRatesLocked() 523 const auto ranking = rankFrameRates(activeMode.getGroup(), RefreshRateOrder::Descending); in getRankedFrameRatesLocked() 604 seamedFocusedLayers > 0 ? activeMode.getGroup() : defaultMode->getGroup(); in getRankedFrameRatesLocked() 622 const auto ranking = rankFrameRates(activeMode.getGroup(), RefreshRateOrder::Ascending); in getRankedFrameRatesLocked() 639 rankFrameRates(anchorGroup, RefreshRateOrder::Ascending, activeMode.getId()); in getRankedFrameRatesLocked() 646 const DisplayModeId activeModeId = activeMode.getId(); in getRankedFrameRatesLocked() 651 const auto ranking = rankFrameRates(activeMode.getGroup(), RefreshRateOrder::Ascending, in getRankedFrameRatesLocked() 684 const bool isSeamlessSwitch = modePtr->getGroup() == activeMode.getGroup(); in getRankedFrameRatesLocked() 689 to_string(activeMode).c_str()); in getRankedFrameRatesLocked() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp | 243 DisplayModePtr activeMode = DisplayMode::Builder(Case::Display::HWC_ACTIVE_CONFIG_ID) in setupNewDisplayDeviceInternalTest() local 253 .activeMode = activeMode}; in setupNewDisplayDeviceInternalTest() 262 *kConnectionTypeOpt, makeModes(activeMode), in setupNewDisplayDeviceInternalTest() 268 .registerDisplay(it->second.snapshot(), activeMode->getId(), {})); in setupNewDisplayDeviceInternalTest()
|
D | TestableSurfaceFlinger.h | 1103 .activeMode = activeModeOpt->get()}; in inject()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | LocalDisplayAdapterTest.java | 516 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated() local 517 assertThat(matches(activeMode, displayMode)).isTrue(); in testAfterDisplayChange_DisplayModesAreUpdated() 540 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated() 541 assertThat(matches(activeMode, addedDisplayInfo)).isTrue(); in testAfterDisplayChange_DisplayModesAreUpdated() 565 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated() local 566 assertThat(activeMode.matches(1920, 1080, 60f)).isTrue(); in testAfterDisplayChange_ActiveModeIsUpdated() 582 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated() 583 assertThat(activeMode.matches(1920, 1080, 50f)).isTrue(); in testAfterDisplayChange_ActiveModeIsUpdated() 604 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_RenderFrameRateIsUpdated() local 605 assertThat(activeMode.matches(1920, 1080, 60f)).isTrue(); in testAfterDisplayChange_RenderFrameRateIsUpdated() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | HardwareRenderer.java | 1384 final Mode activeMode = defaultDisplay.getMode(); in initDisplayInfo() local 1392 int largestWidth = activeMode.getPhysicalWidth(); in initDisplayInfo() 1393 int largestHeight = activeMode.getPhysicalHeight(); in initDisplayInfo()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 1429 const auto& activeMode = pendingModeOpt->mode; in finalizeDisplayModeChange() local 1433 oldResolution != activeMode.modePtr->getResolution()) { in finalizeDisplayModeChange() 1440 state.physical->activeMode = activeMode.modePtr.get(); in finalizeDisplayModeChange() 1447 mDisplayModeController.finalizeModeChange(displayId, activeMode.modePtr->getId(), in finalizeDisplayModeChange() 1448 activeMode.modePtr->getVsyncRate(), activeMode.fps); in finalizeDisplayModeChange() 1451 mScheduler->updatePhaseConfiguration(activeMode.fps); in finalizeDisplayModeChange() 1455 dispatchDisplayModeChangeEvent(displayId, activeMode); in finalizeDisplayModeChange() 3516 const std::string activeMode = in loadDisplayModes() local 3520 activeMode.c_str(), base::Join(hwcModes, ", ").c_str()); in loadDisplayModes() 3560 const DisplayModePtr activeMode = in loadDisplayModes() local [all …]
|
D | DisplayDevice.h | 265 DisplayModePtr activeMode; member
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayAdapter.java | 285 List<OverlayMode> modes, int activeMode, int defaultMode, in OverlayDisplayDevice() argument 302 mActiveMode = activeMode; in OverlayDisplayDevice()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 2686 if (const auto activeMode = info.getActiveDisplayMode()) { in getActiveDisplayMode() local 2687 *mode = *activeMode; in getActiveDisplayMode()
|