Namespaces
Enumerations
enum class DeviceType : uint32_t
| Name | Value | Comments |
|---|---|---|
| TOUCH | 1u |
A device intended for manipulation by direct contact over its surface. |
| MOUSE | 2u |
A device intended for manipulation by precise movement over a surface. |
A characterization of a device that issues pointer event streams.
Defined at line 18 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
enum class DispatchPolicy : uint32_t
| Name | Value | Comments |
|---|---|---|
| EXCLUSIVE_TARGET | 1u |
A single client latches onto a pointer event stream, where:
Note: This policy guarantees confidentiality, integrity, and |
| TOP_HIT_AND_ANCESTORS_IN_TARGET | 2u |
Multiple clients may latch onto a pointer stream, where:
With multiple latches, a pointer stream is dispatched in parallel to
Note: It's possible for no clients to latch, if the hit test fails to |
| MOUSE_HOVER_AND_LATCH_IN_TARGET | 3u |
The top hit client in the |Target|'s view tree receives hover events when
A mouse initiates a latch via button down, and until the release of that
Note: It's possible for no client to latch, if the hit test fails to |
A specification of the UI clients that may have injected events dispatched
to them in an |Target|. One is specified in |Config|.
A useful concept is "latching", where one or more clients may start
receiving the pointer event stream, prior to assignment of stream ownership.
After ownership is assigned (e.g., through a gesture disambiguation
protocol), non-owning clients have their latch terminated -- they stop
receiving the pointer event stream.
- A client's latch does not itself confer stream ownership (receiving the
entire pointer event stream); gesture disambiguation or device termination
may prematurely end the stream dispatched to that client.
- It's possible for a client to latch while hidden from the user (i.e.,
manipulate a surface that is invisible to the user), where the occluding
surface is owned by a client outside of |Target|. Conversely, these
occluding clients cannot latch, because latched clients must be in
|Target|'s view tree.
Defined at line 55 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
enum class EventPhase : uint32_t
| Name | Value | Comments |
|---|---|---|
| ADD | 1u |
The device has started tracking the pointer. |
| CHANGE | 2u |
The device has reported an update to the pointer state. |
| REMOVE | 3u |
The device has stopped tracking the pointer. |
| CANCEL | 4u |
The event stream is no longer available. |
The possible states of a pointer event stream's state machine.
A typical pointer will move through this state machine:
ADD - CHANGE* - REMOVE
Defined at line 172 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
Records
-
class Config -
class Context -
class Data -
class Device -
class DeviceInjectRequest -
class Device_EventSender -
class Device_Proxy -
class Device_RequestDecoder -
class Device_RequestEncoder -
class Device_ResponseDecoder -
class Device_ResponseEncoder -
class Device_Stub -
class Device_Sync -
class Device_SyncProxy -
class Event -
class PointerSample -
class Registry -
class RegistryRegisterRequest -
class Registry_EventSender -
class Registry_Proxy -
class Registry_RequestDecoder -
class Registry_RequestEncoder -
class Registry_ResponseDecoder -
class Registry_ResponseEncoder -
class Registry_Stub -
class Registry_Sync -
class Registry_SyncProxy -
class Target -
class Viewport
Functions
-
zx_status_t Clone (::fuchsia::ui::pointerinjector::DeviceType value, ::fuchsia::ui::pointerinjector::DeviceType * result)Defined at line 27 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::ui::pointerinjector::DispatchPolicy value, ::fuchsia::ui::pointerinjector::DispatchPolicy * result)Defined at line 103 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::ui::pointerinjector::EventPhase value, ::fuchsia::ui::pointerinjector::EventPhase * result)Defined at line 187 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointerinjector::Context & value, ::fuchsia::ui::pointerinjector::Context * result)Defined at line 301 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointerinjector::Target & value, ::fuchsia::ui::pointerinjector::Target * result)Defined at line 380 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointerinjector::RegistryRegisterRequest & _value, ::fuchsia::ui::pointerinjector::RegistryRegisterRequest * _result)Defined at line 1016 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointerinjector::Data & value, ::fuchsia::ui::pointerinjector::Data * result)Defined at line 1561 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointerinjector::DeviceInjectRequest & _value, ::fuchsia::ui::pointerinjector::DeviceInjectRequest * _result)Defined at line 1776 of file fidling/gen/sdk/fidl/fuchsia.ui.pointerinjector/fuchsia.ui.pointerinjector/hlcpp/fuchsia/ui/pointerinjector/cpp/fidl.h
-
std::ostream & operator<< (std::ostream & os, const DeviceType & value) -
std::ostream & operator<< (std::ostream & os, const DispatchPolicy & value) -
std::ostream & operator<< (std::ostream & os, const EventPhase & value) -
std::ostream & operator<< (std::ostream & os, const DeviceInjectRequest & value) -
std::ostream & operator<< (std::ostream & os, const RegistryRegisterRequest & value) -
std::ostream & operator<< (std::ostream & os, const Config & value) -
std::ostream & operator<< (std::ostream & os, const Event & value) -
std::ostream & operator<< (std::ostream & os, const PointerSample & value) -
std::ostream & operator<< (std::ostream & os, const Viewport & value) -
std::ostream & operator<< (std::ostream & os, const Context & value) -
std::ostream & operator<< (std::ostream & os, const Data & value) -
std::ostream & operator<< (std::ostream & os, const Target & value)