Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
flutter::testing::FakeAnimatorDelegate Class Reference
Inheritance diagram for flutter::testing::FakeAnimatorDelegate:
flutter::Animator::Delegate

Public Member Functions

 MOCK_METHOD (void, OnAnimatorBeginFrame,(fml::TimePoint frame_target_time, uint64_t frame_number),(override))
 
void OnAnimatorNotifyIdle (fml::TimeDelta deadline) override
 
 MOCK_METHOD (void, OnAnimatorUpdateLatestFrameTargetTime,(fml::TimePoint frame_target_time),(override))
 
 MOCK_METHOD (void, OnAnimatorDraw,(std::shared_ptr< FramePipeline > pipeline),(override))
 
void OnAnimatorDrawLastLayerTrees (std::unique_ptr< FrameTimingsRecorder > frame_timings_recorder) override
 
- Public Member Functions inherited from flutter::Animator::Delegate
virtual void OnAnimatorBeginFrame (fml::TimePoint frame_target_time, uint64_t frame_number)=0
 
virtual void OnAnimatorNotifyIdle (fml::TimeDelta deadline)=0
 
virtual void OnAnimatorUpdateLatestFrameTargetTime (fml::TimePoint frame_target_time)=0
 
virtual void OnAnimatorDraw (std::shared_ptr< FramePipeline > pipeline)=0
 
virtual void OnAnimatorDrawLastLayerTrees (std::unique_ptr< FrameTimingsRecorder > frame_timings_recorder)=0
 

Public Attributes

bool notify_idle_called_ = false
 

Detailed Description

Definition at line 28 of file animator_unittests.cc.

Member Function Documentation

◆ MOCK_METHOD() [1/3]

flutter::testing::FakeAnimatorDelegate::MOCK_METHOD ( void  ,
OnAnimatorBeginFrame  ,
(fml::TimePoint frame_target_time, uint64_t frame_number)  ,
(override)   
)

◆ MOCK_METHOD() [2/3]

flutter::testing::FakeAnimatorDelegate::MOCK_METHOD ( void  ,
OnAnimatorDraw  ,
(std::shared_ptr< FramePipeline > pipeline)  ,
(override)   
)

◆ MOCK_METHOD() [3/3]

flutter::testing::FakeAnimatorDelegate::MOCK_METHOD ( void  ,
OnAnimatorUpdateLatestFrameTargetTime  ,
(fml::TimePoint frame_target_time)  ,
(override)   
)

◆ OnAnimatorDrawLastLayerTrees()

void flutter::testing::FakeAnimatorDelegate::OnAnimatorDrawLastLayerTrees ( std::unique_ptr< FrameTimingsRecorder frame_timings_recorder)
inlineoverridevirtual

Implements flutter::Animator::Delegate.

Definition at line 49 of file animator_unittests.cc.

50 {}

◆ OnAnimatorNotifyIdle()

void flutter::testing::FakeAnimatorDelegate::OnAnimatorNotifyIdle ( fml::TimeDelta  deadline)
inlineoverridevirtual

Implements flutter::Animator::Delegate.

Definition at line 35 of file animator_unittests.cc.

Member Data Documentation

◆ notify_idle_called_

bool flutter::testing::FakeAnimatorDelegate::notify_idle_called_ = false

Definition at line 52 of file animator_unittests.cc.


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