PROTOCOLS
Controls
Defined in fuchsia.wm/controls.fidl
Cycle
Shifts all views forward by one position, view at position 0 is moved to the end.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
Controls_Cycle_Result
|
Focus
Sets keyboard focus to the view at position
and makes that view visible.
Request
Name | Type |
---|---|
position |
uint64
|
Response
Name | Type |
---|---|
payload |
Controls_Focus_Result
|
List
List ids of all views in the order they are being presented.
Request
<EMPTY>
Response
Name | Type |
---|---|
payload |
Controls_List_Result
|
SetOrder
Moves the view at the given old_position
to the given new_position
.
Items in between are shifted and all other views keep their same relative order.
Window Manager expects both positions to be within the range of the length of
views currently presented. If invalid args are provided, the command will not
execute and an error message will be logged.
Request
Name | Type |
---|---|
old_position |
uint64
|
new_position |
uint64
|
Response
Name | Type |
---|---|
payload |
Controls_SetOrder_Result
|
STRUCTS
Controls_Cycle_Response
Defined in fuchsia.wm/controls.fidl
<EMPTY>
Controls_Focus_Response
Defined in fuchsia.wm/controls.fidl
<EMPTY>
Controls_List_Response
Defined in fuchsia.wm/controls.fidl
Field | Type | Description | Default |
---|---|---|---|
views |
vector<ListedView>
|
No default |
Controls_SetOrder_Response
Defined in fuchsia.wm/controls.fidl
<EMPTY>
ListedView
Defined in fuchsia.wm/controls.fidl
Field | Type | Description | Default |
---|---|---|---|
position |
uint64
|
No default | |
id |
ViewId
|
No default |
UNIONS
Controls_Cycle_Result strict
Defined in fuchsia.wm/controls.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Controls_Cycle_Response
|
|
3 |
framework_err |
internal
|
Controls_Focus_Result strict
Defined in fuchsia.wm/controls.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Controls_Focus_Response
|
|
3 |
framework_err |
internal
|
Controls_List_Result strict
Defined in fuchsia.wm/controls.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Controls_List_Response
|
|
3 |
framework_err |
internal
|
Controls_SetOrder_Result strict
Defined in fuchsia.wm/controls.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
Controls_SetOrder_Response
|
|
3 |
framework_err |
internal
|
ALIASES
Name | Value | Description |
---|---|---|
ViewId |
string [fuchsia.element/MAX_ANNOTATION_KEY_VALUE_SIZE ] |