◆ FlatlandConnectionTest()
flutter_runner::testing::FlatlandConnectionTest::FlatlandConnectionTest |
( |
| ) |
|
|
inlineprotected |
Definition at line 73 of file flatland_connection_unittests.cc.
74 : session_subloop_(loop_.StartNewLoop()),
75 flatland_handle_(
fuchsia::ui::composition::FlatlandHandle ConnectFlatland(async_dispatcher_t *dispatcher=nullptr)
◆ ~FlatlandConnectionTest()
flutter_runner::testing::FlatlandConnectionTest::~FlatlandConnectionTest |
( |
| ) |
|
|
overrideprotecteddefault |
◆ fake_flatland()
FakeFlatland & flutter_runner::testing::FlatlandConnectionTest::fake_flatland |
( |
| ) |
|
|
inlineprotected |
◆ loop()
async::TestLoop & flutter_runner::testing::FlatlandConnectionTest::loop |
( |
| ) |
|
|
inlineprotected |
◆ OnNextFrameBegin() [1/2]
void flutter_runner::testing::FlatlandConnectionTest::OnNextFrameBegin |
( |
int |
num_present_credits | ) |
|
|
inlineprotected |
Definition at line 102 of file flatland_connection_unittests.cc.
102 {
107 kPresentationTime2);
108 }
void OnNextFrameBegin(int num_present_credits, const fml::TimePoint &presentation_time_1, const fml::TimePoint &presentation_time_2)
static constexpr TimeDelta FromSeconds(int64_t seconds)
◆ OnNextFrameBegin() [2/2]
void flutter_runner::testing::FlatlandConnectionTest::OnNextFrameBegin |
( |
int |
num_present_credits, |
|
|
const fml::TimePoint & |
presentation_time_1, |
|
|
const fml::TimePoint & |
presentation_time_2 |
|
) |
| |
|
inlineprotected |
Definition at line 90 of file flatland_connection_unittests.cc.
92 {
93 fuchsia::ui::composition::OnNextFrameBeginValues on_next_frame_begin_values;
94 on_next_frame_begin_values.set_additional_present_credits(
95 num_present_credits);
96 on_next_frame_begin_values.set_future_presentation_infos(
97 CreateFuturePresentationInfos(presentation_time_1,
98 presentation_time_2));
100 std::move(on_next_frame_begin_values));
101 }
void FireOnNextFrameBeginEvent(fuchsia::ui::composition::OnNextFrameBeginValues on_next_frame_begin_values)
FakeFlatland & fake_flatland()
◆ TakeFlatlandHandle()
fidl::InterfaceHandle< fuchsia::ui::composition::Flatland > flutter_runner::testing::FlatlandConnectionTest::TakeFlatlandHandle |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: