Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::FakeRefreshRateUpdater Class Reference
Inheritance diagram for flutter::testing::FakeRefreshRateUpdater:
flutter::Stopwatch::RefreshRateUpdater

Public Member Functions

fml::Milliseconds GetFrameBudget () const override
 
void SetFrameBudget (fml::Milliseconds budget)
 
virtual fml::Milliseconds GetFrameBudget () const =0
 

Detailed Description

Definition at line 15 of file stopwatch_unittests.cc.

Member Function Documentation

◆ GetFrameBudget()

fml::Milliseconds flutter::testing::FakeRefreshRateUpdater::GetFrameBudget ( ) const
inlineoverridevirtual

Time limit for a smooth frame. See: DisplayManager::GetMainDisplayRefreshRate.

Implements flutter::Stopwatch::RefreshRateUpdater.

Definition at line 17 of file stopwatch_unittests.cc.

17{ return budget_; }

◆ SetFrameBudget()

void flutter::testing::FakeRefreshRateUpdater::SetFrameBudget ( fml::Milliseconds  budget)
inline

Definition at line 19 of file stopwatch_unittests.cc.

19{ budget_ = budget; }

The documentation for this class was generated from the following file: