Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.cpp419 bool isSeamlessSwitch) const { in calculateLayerScoreLocked()
422 const float seamlessness = isSeamlessSwitch ? 1.0f : kSeamedSwitchPenalty; in calculateLayerScoreLocked()
684 const bool isSeamlessSwitch = modePtr->getGroup() == activeMode.getGroup(); in getRankedFrameRatesLocked() local
686 if (layer.seamlessness == Seamlessness::OnlySeamless && !isSeamlessSwitch) { in getRankedFrameRatesLocked()
693 if (layer.seamlessness == Seamlessness::SeamedAndSeamless && !isSeamlessSwitch && in getRankedFrameRatesLocked()
735 const float layerScore = calculateLayerScoreLocked(layer, fps, isSeamlessSwitch); in getRankedFrameRatesLocked()
1042 constexpr bool isSeamlessSwitch = true; in getFrameRateOverrides() local
1043 const auto layerScore = calculateLayerScoreLocked(*layer, fps, isSeamlessSwitch); in getFrameRateOverrides()
DRefreshRateSelector.h487 bool isSeamlessSwitch) const REQUIRES(mLock);