Home
last modified time | relevance | path

Searched refs:desiredMode (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Display/
DDisplayModeController.cpp80 DisplayModeRequest&& desiredMode) -> DesiredModeAction { in setDesiredMode() argument
87 ALOGD("%s %s", displayPtr->concatId(__func__).c_str(), to_string(desiredMode).c_str()); in setDesiredMode()
95 desiredModeOpt = std::move(desiredMode); in setDesiredMode()
105 if (const auto& desiredModePtr = desiredMode.mode.modePtr; in setDesiredMode()
106 !desiredMode.force && activeMode.modePtr->getId() == desiredModePtr->getId()) { in setDesiredMode()
107 if (activeMode == desiredMode.mode) { in setDesiredMode()
113 desiredMode.mode.fps); in setDesiredMode()
122 displayPtr->desiredModeOpt = std::move(desiredMode); in setDesiredMode()
179 DisplayModeRequest&& desiredMode, in initiateModeChange() argument
197 displayPtr->pendingModeOpt = std::move(desiredMode); in initiateModeChange()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1311 void SurfaceFlinger::setDesiredMode(display::DisplayModeRequest&& desiredMode) { in setDesiredMode() argument
1312 const auto mode = desiredMode.mode; in setDesiredMode()
1317 const bool emitEvent = desiredMode.emitEvent; in setDesiredMode()
1321 switch (mDisplayModeController.setDesiredMode(displayId, std::move(desiredMode))) { in setDesiredMode()