Namespaces

Enumerations

enum DeviceType
Name Value
TOUCH 1u
MOUSE 2u

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 DispatchPolicy
Name Value
EXCLUSIVE_TARGET 1u
TOP_HIT_AND_ANCESTORS_IN_TARGET 2u
MOUSE_HOVER_AND_LATCH_IN_TARGET 3u

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 EventPhase
Name Value
ADD 1u
CHANGE 2u
REMOVE 3u
CANCEL 4u

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

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 & osconst Target & value)