class FlatlandTouchIntegrationTest
Defined at line 132 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
Protected Members
unique_ptr root_session_
ViewRef root_view_ref_
float display_width_
float display_height_
unique_ptr injector_
static const uint32_t kDeviceId
static const uint32_t kPointerId
static array kIdentityMatrix
Protected Methods
void SetUp ()
clang-format on
Defined at line 144 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void InjectNewViewport (fupi::Viewport viewport)
Defined at line 189 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void Inject (floatx,floaty,fupi::EventPhasephase)
Defined at line 205 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void RegisterInjector (fuv::ViewRefcontext_view_ref,fuv::ViewReftarget_view_ref,fupi::DispatchPolicydispatch_policy,std::array<float, 9>viewport_to_context_transform)
Defined at line 227 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void StartWatchLoop (SimpleWatcherClient<fup::TouchSource> &touch_source,std::vector<fup::TouchEvent> &out_events,fup::TouchResponseTyperesponse_type)
Starts a recursive TouchSource::Watch() loop that collects all received events into
|out_events|.
Defined at line 256 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void ConnectChildView (FlatlandClientWithEventHandler &flatland,fuv::ViewportCreationToken &&token,fuchsia_math::SizeUsize,fuc::TransformIdviewport_transform_id,fuc::ContentIdviewport_content_id)
Defined at line 290 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void InjectionHelper (const std::vector<std::array<float, 2>> &points,const std::vector<fup::TouchEvent> &view_events,floatx_offset,floaty_offset)
Injects |points| and checks that the events received in |view_events| match with an offset.
Defined at line 320 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
fuchsia_math::SizeU FullScreenSize ()
Defined at line 362 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
std::array<std::array<float, 2>, 2> FullScreenExtents ()
Defined at line 367 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc