class FlatlandTouchIntegrationTest
Defined at line 79 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
TODO(https://fxbug.dev/447603809): DO NOT COPY THIS TEST.
All HLCCP tests, and should be migrated from ScenicCtfHlcppTest to ScenicCtfTest.
Protected Members
TransformId kRootTransform
ContentId kRootContentId
bool injector_channel_closed_
float display_width_
float display_height_
InterfacePtr root_session_
ViewRef root_view_ref_
static const uint32_t kDeviceId
static const uint32_t kPointerId
static array kIdentityMatrix
Protected Methods
void SetUp ()
clang-format on
Defined at line 91 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void InjectNewViewport (Viewport viewport)
Defined at line 124 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void Inject (floatx,floaty,fupi_EventPhasephase)
Defined at line 139 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void RegisterInjector (fuchsia::ui::views::ViewRefcontext_view_ref,fuchsia::ui::views::ViewReftarget_view_ref,DispatchPolicydispatch_policy,std::array<float, 9>viewport_to_context_transform)
Defined at line 159 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void StartWatchLoop (fuchsia::ui::pointer::TouchSourcePtr &touch_source,std::vector<TouchEvent> &out_events,TouchResponseTyperesponse_type)
Starts a recursive TouchSource::Watch() loop that collects all received events into
|out_events|.
Defined at line 194 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
void ConnectChildView (fuchsia::ui::composition::FlatlandPtr &flatland,ViewportCreationToken &&token,fuchsia::math::SizeUsize,TransformIdtransform_id,ContentIdcontent_id)
Defined at line 220 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<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 241 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc
fuchsia::math::SizeU FullscreenSize ()
Defined at line 285 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 294 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_touch_integration_test.cc