Searched refs:displayPeriod (Results 1 – 4 of 4) sorted by relevance
106 nsecs_t displayPeriod) const { in getDisplayFrames()107 auto [displayFramesQuot, displayFramesRem] = std::div(layerPeriod, displayPeriod); in getDisplayFrames()109 std::abs(displayFramesRem - displayPeriod) <= MARGIN_FOR_PERIOD_CALCULATION) { in getDisplayFrames()232 const auto displayPeriod = scores[i].first->hwcConfig->getVsyncPeriod(); in getBestRefreshRate() local238 auto actualLayerPeriod = displayPeriod; in getBestRefreshRate()242 actualLayerPeriod = displayPeriod * multiplier; in getBestRefreshRate()262 getDisplayFrames(layerPeriod, displayPeriod); in getBestRefreshRate()273 static_cast<float>(displayPeriod)) * in getBestRefreshRate()279 auto diff = std::abs(displayFramesRem - (displayPeriod - displayFramesRem)); in getBestRefreshRate()282 diff = diff - (displayPeriod - diff); in getBestRefreshRate()
313 std::pair<nsecs_t, nsecs_t> getDisplayFrames(nsecs_t layerPeriod, nsecs_t displayPeriod) const;
74 void setDisplayRefreshPeriod(nsecs_t displayPeriod);
72 void FrameTracker::setDisplayRefreshPeriod(nsecs_t displayPeriod) { in setDisplayRefreshPeriod() argument74 mDisplayPeriod = displayPeriod; in setDisplayRefreshPeriod()