Project: /_project.yaml Book: /_book.yaml
Defined in fuchsia.ui.policy/device_listener.fidl
Service for exposing state and events of devices, such as media buttons.
Registers a listener to receive media button related events, such as changes from volume buttons and mute switches.
Defined in fuchsia.ui.policy/presentation.fidl
Presentation.CaptureKeyboardEvent
will consume this listener interface and call OnEvent
when the registered keyboard event occurs.
Defined in fuchsia.ui.policy/presentation.fidl
Presentation.CapturePointerEvent
will consume this listener interface and call OnEvent
when a pointer event occurs.
Defined in fuchsia.ui.policy/presentation.fidl
Presentation.RegisterMediaButtonsListener
will consume this listener interface and call OnMediaButtonsEvent
when the registered media buttons event occurs.
Defined in fuchsia.ui.policy/presentation.fidl
Allows clients of Presenter.Present() to control a presentation. Experimental.
Enable or disable clipping for the Scenic renderer associated with the presentation.
Set parameters such as the shadow algorithm used to render the scene. NOTE: a single param would be better than an array; see TO-529.
Override the intended usage of the display.
Rotates the display.
Override the dimensions of the display. Values must be less than the actual size of the display. If either of the values are 0, then they are ignored and the actual size of the display is used.
This call exists so that base shell can capture hotkeys and do special things with it (e.g., switch a session shell). Phase and modifiers are always matched, and valid (non-zero) code points are matched. If there is no valid code point, the filter will match against the hid usage value. The full KeyboardEvent is supplied to listener
's OnEvent.
This call exists so that base shell can capture pointer events.
Registers a listener for media buttons events.
EXPERIMENTAL. Inject pointer events into input stream. This WILL go away. Used exclusively by Session Shells to test focus navigation.
Defined in fuchsia.ui.policy/presentation.fidl
Tell client that the screen mode has changed, according to sensors. N.B. There can be a race where the actual mode continues to change, after the listener has been notified. The client must call GetPresentationMode(), which will return the latest detected mode.
Defined in fuchsia.ui.policy/presenter.fidl
The Presenter service provides a way for applications to ask that a view be added to a view tree, leaving any window management concerns up to the discretion of the presenter implementation.
Request that the View's contents be displayed on the screen as a Presentation
.
Sets new default renderer params and forces them on for the duration of the presenter's lifetime. Only applies to any subsequent calls to Present(). Used for testing.
Defined in fuchsia.ui.policy/device_listener.fidl
Service for exposing state and events of devices, such as media buttons.
Registers a listener to receive media button related events, such as changes from volume buttons and mute switches.
Defined in fuchsia.ui.policy/presentation.fidl
Presentation.CaptureKeyboardEvent
will consume this listener interface and call OnEvent
when the registered keyboard event occurs.
Defined in fuchsia.ui.policy/presentation.fidl
Presentation.CapturePointerEvent
will consume this listener interface and call OnEvent
when a pointer event occurs.
Defined in fuchsia.ui.policy/presentation.fidl
Presentation.RegisterMediaButtonsListener
will consume this listener interface and call OnMediaButtonsEvent
when the registered media buttons event occurs.
Defined in fuchsia.ui.policy/presentation.fidl
Allows clients of Presenter.Present() to control a presentation. Experimental.
Enable or disable clipping for the Scenic renderer associated with the presentation.
Set parameters such as the shadow algorithm used to render the scene. NOTE: a single param would be better than an array; see TO-529.
Override the intended usage of the display.
Rotates the display.
Override the dimensions of the display. Values must be less than the actual size of the display. If either of the values are 0, then they are ignored and the actual size of the display is used.
This call exists so that base shell can capture hotkeys and do special things with it (e.g., switch a session shell). Phase and modifiers are always matched, and valid (non-zero) code points are matched. If there is no valid code point, the filter will match against the hid usage value. The full KeyboardEvent is supplied to listener
's OnEvent.
This call exists so that base shell can capture pointer events.
Registers a listener for media buttons events.
EXPERIMENTAL. Inject pointer events into input stream. This WILL go away. Used exclusively by Session Shells to test focus navigation.
Defined in fuchsia.ui.policy/presentation.fidl
Tell client that the screen mode has changed, according to sensors. N.B. There can be a race where the actual mode continues to change, after the listener has been notified. The client must call GetPresentationMode(), which will return the latest detected mode.
Defined in fuchsia.ui.policy/presenter.fidl
The Presenter service provides a way for applications to ask that a view be added to a view tree, leaving any window management concerns up to the discretion of the presenter implementation.
Request that the View's contents be displayed on the screen as a Presentation
.
Sets new default renderer params and forces them on for the duration of the presenter's lifetime. Only applies to any subsequent calls to Present(). Used for testing.
Type: uint32
Defined in fuchsia.ui.policy/display_usage.fidl
Describes the intended usage of the display.
Type: uint32
Defined in fuchsia.ui.policy/presentation.fidl
Screen modes that can be detected via sensor data. N.B. We use accelerometers to measure gravity when at rest, so detection is limited to earth-relative orientations.
Type: uint32
Defined in fuchsia.ui.policy/display_usage.fidl
Describes the intended usage of the display.
Type: uint32
Defined in fuchsia.ui.policy/presentation.fidl
Screen modes that can be detected via sensor data. N.B. We use accelerometers to measure gravity when at rest, so detection is limited to earth-relative orientations.