Namespaces
Enumerations
enum class MouseViewStatus : uint32_t
| Name | Value | Comments |
|---|---|---|
| ENTERED | 1u |
The stream is directed towards this view. |
| EXITED | 2u |
The stream is directed away from this view. |
A description of mouse event stream's relationship to this view.
Defined at line 22 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/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 pointer is no longer available. |
The possible states of a pointer event. These phases of events in a stream
follow a state machine that starts with the `ADD` phase, followed by zero or
more `CHANGE` phases, and finally terminates with `REMOVE` or `CANCEL`
phase.
```
ADD ---> CHANGE* -+-> REMOVE
|
+-> CANCEL
```
A finite sequence of pointer events that follows this state machine,
starting from the initial state, is called an **interaction**. A closed (or
past) interaction is one where it has reached the terminal state; an open
(or current) interaction is one where it has not.
For a given device pointer, a stream of events is observed as a succession
of zero or more closed interactions (the past history of user engagement),
followed by at most one open interaction (the current user engagement).
When we need to group pointer events by their interaction, an event carries
an **interaction id** that is unique in that pointer stream. This common
reference makes it possible to operate on a closed interaction, as well as
an open interaction.
For example, touch events are typically observed as a succession of
interactions, as fingers engage and disengage with the display.
Defined at line 65 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
enum class TouchInteractionStatus : uint32_t
| Name | Value | Comments |
|---|---|---|
| DENIED | 1u |
The client has been denied ownership of the interaction. |
| GRANTED | 2u |
The client has been granted ownership of the interaction. |
A description of the interaction's relationship to this client.
Defined at line 93 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
enum class TouchResponseType : uint32_t
| Name | Value | Comments |
|---|---|---|
| NO | 1u |
The client has no further interest in this interaction; it declines |
| MAYBE | 2u |
The client is interested in this interaction, but needs to see more |
| MAYBE_PRIORITIZE | 3u |
The client is interested in this interaction, but needs to see more |
| MAYBE_SUPPRESS | 4u |
The client is interested in this interaction, but needs to see more |
| MAYBE_PRIORITIZE_SUPPRESS | 5u |
The client is interested in this interaction, but needs to see more |
| HOLD | 6u |
The client is interested in this interaction, but needs to see a |
| HOLD_SUPPRESS | 7u |
The client is interested in this interaction, but needs to see a |
| YES | 8u |
The client wishes exclusive access to the remaining events in this |
| YES_PRIORITIZE | 9u |
The client wishes exclusive access to the remaining events in this |
The possible interaction dispositions that a client can respond with to a
given |TouchPointerSample|. Used as part of a gesture disambiguation scheme.
The responses are based on the idea of an ownership claim on a interaction.
Clients may assert a claim of ownership on an open interaction, but only one
client's claim is granted by the server; other clients' claims are denied.
Defined at line 116 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
Records
-
class MouseDeviceInfo -
class MouseEvent -
class MouseEventStreamInfo -
class MousePointerSample -
class MouseSource -
class MouseSourceV2 -
class MouseSourceV2AcknowledgeEventsRequest -
class MouseSourceV2OnMouseEventsRequest -
class MouseSourceV2_EventSender -
class MouseSourceV2_Proxy -
class MouseSourceV2_RequestDecoder -
class MouseSourceV2_RequestEncoder -
class MouseSourceV2_ResponseDecoder -
class MouseSourceV2_ResponseEncoder -
class MouseSourceV2_Stub -
class MouseSourceV2_Sync -
class MouseSourceV2_SyncProxy -
class MouseSourceWatchResponse -
class MouseSource_EventSender -
class MouseSource_Proxy -
class MouseSource_RequestDecoder -
class MouseSource_RequestEncoder -
class MouseSource_ResponseDecoder -
class MouseSource_ResponseEncoder -
class MouseSource_Stub -
class MouseSource_Sync -
class MouseSource_SyncProxy -
class Rectangle -
class TouchDeviceInfo -
class TouchEvent -
class TouchInteractionId -
class TouchInteractionResult -
class TouchPointerSample -
class TouchResponse -
class TouchSource -
class TouchSourceUpdateResponseRequest -
class TouchSourceV2 -
class TouchSourceV2AcknowledgeEventsRequest -
class TouchSourceV2OnTouchEventsRequest -
class TouchSourceV2_EventSender -
class TouchSourceV2_Proxy -
class TouchSourceV2_RequestDecoder -
class TouchSourceV2_RequestEncoder -
class TouchSourceV2_ResponseDecoder -
class TouchSourceV2_ResponseEncoder -
class TouchSourceV2_Stub -
class TouchSourceV2_Sync -
class TouchSourceV2_SyncProxy -
class TouchSourceWatchRequest -
class TouchSourceWatchResponse -
class TouchSource_EventSender -
class TouchSource_Proxy -
class TouchSource_RequestDecoder -
class TouchSource_RequestEncoder -
class TouchSource_ResponseDecoder -
class TouchSource_ResponseEncoder -
class TouchSource_Stub -
class TouchSource_Sync -
class TouchSource_SyncProxy -
class ViewParameters
Functions
-
zx_status_t Clone (::fuchsia::ui::pointer::MouseViewStatus value, ::fuchsia::ui::pointer::MouseViewStatus * result)Defined at line 31 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::ui::pointer::EventPhase value, ::fuchsia::ui::pointer::EventPhase * result)Defined at line 80 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::ui::pointer::TouchInteractionStatus value, ::fuchsia::ui::pointer::TouchInteractionStatus * result)Defined at line 102 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (::fuchsia::ui::pointer::TouchResponseType value, ::fuchsia::ui::pointer::TouchResponseType * result)Defined at line 174 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::MouseSourceV2AcknowledgeEventsRequest & _value, ::fuchsia::ui::pointer::MouseSourceV2AcknowledgeEventsRequest * _result)Defined at line 348 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::MouseEventStreamInfo & _value, ::fuchsia::ui::pointer::MouseEventStreamInfo * _result)Defined at line 599 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::TouchSourceV2AcknowledgeEventsRequest & _value, ::fuchsia::ui::pointer::TouchSourceV2AcknowledgeEventsRequest * _result)Defined at line 634 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::TouchInteractionId & _value, ::fuchsia::ui::pointer::TouchInteractionId * _result)Defined at line 772 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::TouchInteractionResult & _value, ::fuchsia::ui::pointer::TouchInteractionResult * _result)Defined at line 799 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::TouchSourceWatchRequest & _value, ::fuchsia::ui::pointer::TouchSourceWatchRequest * _result)Defined at line 941 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::TouchSourceUpdateResponseRequest & _value, ::fuchsia::ui::pointer::TouchSourceUpdateResponseRequest * _result)Defined at line 964 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::Rectangle & _value, ::fuchsia::ui::pointer::Rectangle * _result)Defined at line 1520 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::ViewParameters & _value, ::fuchsia::ui::pointer::ViewParameters * _result)Defined at line 1571 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::MouseSourceV2OnMouseEventsRequest & _value, ::fuchsia::ui::pointer::MouseSourceV2OnMouseEventsRequest * _result)Defined at line 1911 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::MouseSourceWatchResponse & _value, ::fuchsia::ui::pointer::MouseSourceWatchResponse * _result)Defined at line 1963 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::TouchSourceV2OnTouchEventsRequest & _value, ::fuchsia::ui::pointer::TouchSourceV2OnTouchEventsRequest * _result)Defined at line 2313 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h
-
zx_status_t Clone (const ::fuchsia::ui::pointer::TouchSourceWatchResponse & _value, ::fuchsia::ui::pointer::TouchSourceWatchResponse * _result)Defined at line 2365 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/hlcpp/fuchsia/ui/pointer/cpp/fidl.h