Namespaces
Enumerations
enum MouseViewStatus
| Name | Value |
|---|---|
| kEntered | 1u |
| kExited | 2u |
A description of mouse event stream's relationship to this view.
Defined at line 18 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/common_types.h
enum EventPhase
| Name | Value |
|---|---|
| kAdd | 1u |
| kChange | 2u |
| kRemove | 3u |
| kCancel | 4u |
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 69 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/common_types.h
enum TouchInteractionStatus
| Name | Value |
|---|---|
| kDenied | 1u |
| kGranted | 2u |
A description of the interaction's relationship to this client.
Defined at line 101 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/common_types.h
enum TouchResponseType
| Name | Value |
|---|---|
| kNo | 1u |
| kMaybe | 2u |
| kMaybePrioritize | 3u |
| kMaybeSuppress | 4u |
| kMaybePrioritizeSuppress | 5u |
| kHold | 6u |
| kHoldSuppress | 7u |
| kYes | 8u |
| kYesPrioritize | 9u |
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 132 of file fidling/gen/sdk/fidl/fuchsia.ui.pointer/fuchsia.ui.pointer/cpp/fidl/fuchsia.ui.pointer/cpp/common_types.h
Records
-
class MouseDeviceInfo -
class MouseEvent -
class MouseEventStreamInfo -
class MousePointerSample -
class MouseSource -
class MouseSourceWatchResponse -
class Rectangle -
class TouchDeviceInfo -
class TouchEvent -
class TouchInteractionId -
class TouchInteractionResult -
class TouchPointerSample -
class TouchResponse -
class TouchSource -
class TouchSourceUpdateResponseRequest -
class TouchSourceWatchRequest -
class TouchSourceWatchResponse -
class ViewParameters
Functions
-
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::MouseDeviceInfo & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::MouseViewStatus & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::MouseEventStreamInfo & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::EventPhase & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchDeviceInfo & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchInteractionId & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchInteractionStatus & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchInteractionResult & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchResponseType & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchResponse & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchSourceWatchRequest & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchSourceUpdateResponseRequest & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::MousePointerSample & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchPointerSample & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::Rectangle & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::ViewParameters & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::MouseEvent & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::MouseSourceWatchResponse & value) -
std::ostream & operator<< (std::ostream & os, const ::fuchsia_ui_pointer::TouchEvent & value) -
std::ostream & operator<< (std::ostream & osconst ::fuchsia_ui_pointer::TouchSourceWatchResponse & value)