Searched refs:InstantRefreshRateCalculator (Results 1 – 4 of 4) sorted by relevance
25 InstantRefreshRateCalculator::InstantRefreshRateCalculator(EventQueue* eventQueue) in InstantRefreshRateCalculator() function in android::hardware::graphics::composer::InstantRefreshRateCalculator26 : InstantRefreshRateCalculator(eventQueue, kDefaultMaxValidTimeNs) {} in InstantRefreshRateCalculator()28 InstantRefreshRateCalculator::InstantRefreshRateCalculator(EventQueue* eventQueue, in InstantRefreshRateCalculator() function in android::hardware::graphics::composer::InstantRefreshRateCalculator34 std::move(std::bind(&InstantRefreshRateCalculator::updateRefreshRate, this)); in InstantRefreshRateCalculator()37 int InstantRefreshRateCalculator::getRefreshRate() const { in getRefreshRate()41 void InstantRefreshRateCalculator::onPresentInternal(int64_t presentTimeNs, int flag) { in onPresentInternal()67 void InstantRefreshRateCalculator::reset() { in reset()72 void InstantRefreshRateCalculator::setEnabled(bool isEnabled) { in setEnabled()81 bool InstantRefreshRateCalculator::isOutdated(int64_t timeNs) const { in isOutdated()86 void InstantRefreshRateCalculator::setNewRefreshRate(int newRefreshRate) { in setNewRefreshRate()[all …]
26 class InstantRefreshRateCalculator : public RefreshRateCalculator {28 InstantRefreshRateCalculator(EventQueue* eventQueue);30 InstantRefreshRateCalculator(EventQueue* eventQueue, int64_t maxValidTimeNs);43 InstantRefreshRateCalculator(const InstantRefreshRateCalculator&) = delete;44 InstantRefreshRateCalculator& operator=(const InstantRefreshRateCalculator&) = delete;
24 return std::make_shared<InstantRefreshRateCalculator>(eventQueue, maxValidPeriodNs); in BuildRefreshRateCalculator()72 return std::make_shared<InstantRefreshRateCalculator>(eventQueue); in BuildRefreshRateCalculator()
155 libvrr/RefreshRateCalculator/InstantRefreshRateCalculator.cpp \