class TouchSystem
Defined at line 34 of file ../../src/ui/scenic/lib/input/touch_system.h
Tracks input APIs.
Thread-unsafe. All methods are expected to be called from the same thread (the "input thread").
The only exception is that `SnapshotHolder` can be updated from the main thread.
Public Methods
void ~TouchSystem ()
Defined at line 38 of file ../../src/ui/scenic/lib/input/touch_system.h
fidl::Client<fuchsia_ui_input_accessibility::PointerEventListener> & accessibility_pointer_event_listener ()
Defined at line 44 of file ../../src/ui/scenic/lib/input/touch_system.h
void RegisterA11yListener (fidl::ClientEnd<fuchsia_ui_input_accessibility::PointerEventListener> listener, fit::function<void (bool)> callback)
For tests.
TODO(https://fxbug.dev/42152433): Remove when integration tests are properly separated out.
Defined at line 61 of file ../../src/ui/scenic/lib/input/touch_system.h
void TouchSystem (async_dispatcher_t *input_dispatcher,HitTester &hit_tester,inspect::Node &parent_node)
Defined at line 69 of file ../../src/ui/scenic/lib/input/touch_system.cc
void Bind (fidl::ServerEnd<fuchsia_ui_pointer_augment::LocalHit> server_end)
Defined at line 132 of file ../../src/ui/scenic/lib/input/touch_system.cc
void BindA11yPointerEventRegistry (fidl::ServerEnd<fuchsia_ui_input_accessibility::PointerEventRegistry> request)
Defined at line 138 of file ../../src/ui/scenic/lib/input/touch_system.cc
void RegisterTouchSource (fidl::ServerEnd<fuchsia_ui_pointer::TouchSource> touch_source_server_end, zx_koid_t client_view_ref_koid)
Defined at line 251 of file ../../src/ui/scenic/lib/input/touch_system.cc
void RegisterTouchSourceV2 (fidl::ServerEnd<fuchsia_ui_pointer::TouchSourceV2> touch_source_server_end, zx_koid_t client_view_ref_koid)
Defined at line 284 of file ../../src/ui/scenic/lib/input/touch_system.cc
void Upgrade (UpgradeRequest & request, UpgradeCompleter::Sync & completer)
|fidl::Server
<fuchsia
_ui_pointer_augment::LocalHit>|
Defined at line 153 of file ../../src/ui/scenic/lib/input/touch_system.cc
void InjectTouchEventExclusive (InternalTouchEventevent,StreamIdstream_id,const view_tree::Snapshot &snapshot)
Injects a touch event directly to the View with koid |event.target|.
Defined at line 316 of file ../../src/ui/scenic/lib/input/touch_system.cc
void InjectTouchEventHitTested (InternalTouchEventevent,StreamIdstream_id,const view_tree::Snapshot &snapshot)
Injects a touch event by hit testing for appropriate targets.
Defined at line 370 of file ../../src/ui/scenic/lib/input/touch_system.cc