Searched refs:currentRefreshRate (Results 1 – 3 of 3) sorted by relevance
90 int currentRefreshRate = kDefaultInvalidRefreshRate; in onMeasure() local114 currentRefreshRate = durationNsToFreq(avgDurationNs); in onMeasure()116 currentRefreshRate = majorRefreshRate.round(); in onMeasure()120 currentRefreshRate = std::max(currentRefreshRate, 1); in onMeasure()121 currentRefreshRate = std::min(currentRefreshRate, mMaxFrameRate); in onMeasure()122 setNewRefreshRate(currentRefreshRate); in onMeasure()
55 auto currentRefreshRate = roundDivide(mVsyncRate, numVsync); in onPresentInternal() local56 currentRefreshRate = std::max(1, currentRefreshRate); in onPresentInternal()57 setNewRefreshRate(currentRefreshRate); in onPresentInternal()
112 int currentRefreshRate = kDefaultInvalidRefreshRate; in updateRefreshRate() local116 currentRefreshRate = refreshRate; in updateRefreshRate()120 setNewRefreshRate(currentRefreshRate); in updateRefreshRate()