Flutter Engine
The Flutter Engine
|
#include <pointer_event_utility.h>
Public Member Functions | |
MouseEventBuilder & | AddTime (zx_time_t time) |
MouseEventBuilder & | AddSample (uint32_t id, std::array< float, 2 > position, std::vector< uint8_t > pressed_buttons, std::array< int64_t, 2 > scroll, std::array< int64_t, 2 > scroll_in_physical_pixel, bool is_precision_scroll) |
MouseEventBuilder & | AddViewParameters (std::array< std::array< float, 2 >, 2 > view, std::array< std::array< float, 2 >, 2 > viewport, std::array< float, 9 > transform) |
MouseEventBuilder & | AddMouseDeviceInfo (uint32_t id, std::vector< uint8_t > buttons) |
fuchsia::ui::pointer::MouseEvent | Build () |
std::vector< fuchsia::ui::pointer::MouseEvent > | BuildAsVector () |
Static Public Member Functions | |
static MouseEventBuilder | New () |
Definition at line 44 of file pointer_event_utility.h.
MouseEventBuilder & flutter_runner::testing::MouseEventBuilder::AddMouseDeviceInfo | ( | uint32_t | id, |
std::vector< uint8_t > | buttons | ||
) |
Definition at line 143 of file pointer_event_utility.cc.
MouseEventBuilder & flutter_runner::testing::MouseEventBuilder::AddSample | ( | uint32_t | id, |
std::array< float, 2 > | position, | ||
std::vector< uint8_t > | pressed_buttons, | ||
std::array< int64_t, 2 > | scroll, | ||
std::array< int64_t, 2 > | scroll_in_physical_pixel, | ||
bool | is_precision_scroll | ||
) |
Definition at line 105 of file pointer_event_utility.cc.
MouseEventBuilder & flutter_runner::testing::MouseEventBuilder::AddTime | ( | zx_time_t | time | ) |
Definition at line 100 of file pointer_event_utility.cc.
MouseEventBuilder & flutter_runner::testing::MouseEventBuilder::AddViewParameters | ( | std::array< std::array< float, 2 >, 2 > | view, |
std::array< std::array< float, 2 >, 2 > | viewport, | ||
std::array< float, 9 > | transform | ||
) |
Definition at line 134 of file pointer_event_utility.cc.
fup_MouseEvent flutter_runner::testing::MouseEventBuilder::Build | ( | ) |
Definition at line 152 of file pointer_event_utility.cc.
std::vector< fup_MouseEvent > flutter_runner::testing::MouseEventBuilder::BuildAsVector | ( | ) |
Definition at line 170 of file pointer_event_utility.cc.
|
static |
Definition at line 96 of file pointer_event_utility.cc.