Searched refs:displayPeriod (Results 1 – 4 of 4) sorted by relevance
74 void setDisplayRefreshPeriod(nsecs_t displayPeriod);
68 void FrameTracker::setDisplayRefreshPeriod(nsecs_t displayPeriod) { in setDisplayRefreshPeriod() argument70 mDisplayPeriod = displayPeriod; in setDisplayRefreshPeriod()
297 nsecs_t displayPeriod) const { in getDisplayFrames()298 auto [quotient, remainder] = std::div(layerPeriod, displayPeriod); in getDisplayFrames()300 std::abs(remainder - displayPeriod) <= MARGIN_FOR_PERIOD_CALCULATION) { in getDisplayFrames()309 nsecs_t displayPeriod, nsecs_t layerPeriod) const { in calculateNonExactMatchingDefaultLayerScoreLocked() argument315 auto actualLayerPeriod = displayPeriod; in calculateNonExactMatchingDefaultLayerScoreLocked()319 actualLayerPeriod = displayPeriod * multiplier; in calculateNonExactMatchingDefaultLayerScoreLocked()331 const auto displayPeriod = refreshRate.getPeriodNsecs(); in calculateNonExactMatchingLayerScoreLocked() local334 return calculateNonExactMatchingDefaultLayerScoreLocked(displayPeriod, layerPeriod); in calculateNonExactMatchingLayerScoreLocked()376 getDisplayFrames(layerPeriod, displayPeriod); in calculateNonExactMatchingLayerScoreLocked()385 return (static_cast<float>(layerPeriod) / static_cast<float>(displayPeriod)) * in calculateNonExactMatchingLayerScoreLocked()[all …]
445 std::pair<nsecs_t, nsecs_t> getDisplayFrames(nsecs_t layerPeriod, nsecs_t displayPeriod) const;493 float calculateNonExactMatchingDefaultLayerScoreLocked(nsecs_t displayPeriod,