Flutter Engine
The Flutter Engine
|
#include "flutter/shell/platform/linux/fl_accessible_node.h"
#include "flutter/shell/platform/linux/fl_engine_private.h"
Go to the source code of this file.
Classes | |
struct | ActionData |
struct | FlAccessibleNodePrivate |
Macros | |
#define | FL_ACCESSIBLE_NODE_GET_PRIVATE(node) |
Enumerations | |
enum | { kProp0 , kPropEngine , kPropId , kPropLast } |
Functions | |
static void | fl_accessible_node_component_interface_init (AtkComponentIface *iface) |
static void | fl_accessible_node_action_interface_init (AtkActionIface *iface) |
G_DEFINE_TYPE_WITH_CODE (FlAccessibleNode, fl_accessible_node, ATK_TYPE_OBJECT, G_IMPLEMENT_INTERFACE(ATK_TYPE_COMPONENT, fl_accessible_node_component_interface_init) G_IMPLEMENT_INTERFACE(ATK_TYPE_ACTION, fl_accessible_node_action_interface_init)) static gboolean flag_is_changed(FlutterSemanticsFlag old_flags | |
static gboolean | has_flag (FlutterSemanticsFlag flags, FlutterSemanticsFlag flag) |
static gboolean | has_action (FlutterSemanticsAction actions, FlutterSemanticsAction action) |
static ActionData * | get_action (FlAccessibleNodePrivate *priv, gint index) |
static gboolean | has_child (GPtrArray *children, AtkObject *object) |
static void | fl_accessible_node_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) |
static void | fl_accessible_node_dispose (GObject *object) |
static const gchar * | fl_accessible_node_get_name (AtkObject *accessible) |
static AtkObject * | fl_accessible_node_get_parent (AtkObject *accessible) |
static gint | fl_accessible_node_get_index_in_parent (AtkObject *accessible) |
static gint | fl_accessible_node_get_n_children (AtkObject *accessible) |
static AtkObject * | fl_accessible_node_ref_child (AtkObject *accessible, gint i) |
static AtkRole | fl_accessible_node_get_role (AtkObject *accessible) |
static AtkStateSet * | fl_accessible_node_ref_state_set (AtkObject *accessible) |
static void | fl_accessible_node_get_extents (AtkComponent *component, gint *x, gint *y, gint *width, gint *height, AtkCoordType coord_type) |
static AtkLayer | fl_accessible_node_get_layer (AtkComponent *component) |
static gboolean | fl_accessible_node_do_action (AtkAction *action, gint i) |
static gint | fl_accessible_node_get_n_actions (AtkAction *action) |
static const gchar * | fl_accessible_node_get_name (AtkAction *action, gint i) |
static void | fl_accessible_node_set_name_impl (FlAccessibleNode *self, const gchar *name) |
static void | fl_accessible_node_set_extents_impl (FlAccessibleNode *self, gint x, gint y, gint width, gint height) |
static void | fl_accessible_node_set_flags_impl (FlAccessibleNode *self, FlutterSemanticsFlag flags) |
static void | fl_accessible_node_set_actions_impl (FlAccessibleNode *self, FlutterSemanticsAction actions) |
static void | fl_accessible_node_set_value_impl (FlAccessibleNode *self, const gchar *value) |
static void | fl_accessible_node_set_text_selection_impl (FlAccessibleNode *self, gint base, gint extent) |
static void | fl_accessible_node_set_text_direction_impl (FlAccessibleNode *self, FlutterTextDirection direction) |
static void | fl_accessible_node_perform_action_impl (FlAccessibleNode *self, FlutterSemanticsAction action, GBytes *data) |
static void | fl_accessible_node_class_init (FlAccessibleNodeClass *klass) |
static void | fl_accessible_node_init (FlAccessibleNode *self) |
FlAccessibleNode * | fl_accessible_node_new (FlEngine *engine, int32_t id) |
void | fl_accessible_node_set_parent (FlAccessibleNode *self, AtkObject *parent, gint index) |
void | fl_accessible_node_set_children (FlAccessibleNode *self, GPtrArray *children) |
void | fl_accessible_node_set_name (FlAccessibleNode *self, const gchar *name) |
void | fl_accessible_node_set_extents (FlAccessibleNode *self, gint x, gint y, gint width, gint height) |
void | fl_accessible_node_set_flags (FlAccessibleNode *self, FlutterSemanticsFlag flags) |
void | fl_accessible_node_set_actions (FlAccessibleNode *self, FlutterSemanticsAction actions) |
void | fl_accessible_node_set_value (FlAccessibleNode *self, const gchar *value) |
void | fl_accessible_node_set_text_selection (FlAccessibleNode *self, gint base, gint extent) |
void | fl_accessible_node_set_text_direction (FlAccessibleNode *self, FlutterTextDirection direction) |
void | fl_accessible_node_perform_action (FlAccessibleNode *self, FlutterSemanticsAction action, GBytes *data) |
Variables | |
struct { | |
AtkStateType state | |
FlutterSemanticsFlag flag | |
gboolean invert | |
} | flag_mapping [] |
static ActionData | action_mapping [] |
FlutterSemanticsFlag | flags |
#define FL_ACCESSIBLE_NODE_GET_PRIVATE | ( | node | ) |
Definition at line 86 of file fl_accessible_node.cc.
anonymous enum |
|
static |
Definition at line 470 of file fl_accessible_node.cc.
|
static |
Definition at line 423 of file fl_accessible_node.cc.
|
static |
Definition at line 464 of file fl_accessible_node.cc.
|
static |
Definition at line 163 of file fl_accessible_node.cc.
|
static |
Definition at line 304 of file fl_accessible_node.cc.
|
static |
Definition at line 277 of file fl_accessible_node.cc.
|
static |
Definition at line 196 of file fl_accessible_node.cc.
|
static |
Definition at line 299 of file fl_accessible_node.cc.
|
static |
Definition at line 322 of file fl_accessible_node.cc.
|
static |
Definition at line 202 of file fl_accessible_node.cc.
|
static |
Definition at line 328 of file fl_accessible_node.cc.
|
static |
Definition at line 184 of file fl_accessible_node.cc.
|
static |
Definition at line 190 of file fl_accessible_node.cc.
|
static |
Definition at line 219 of file fl_accessible_node.cc.
|
static |
Definition at line 476 of file fl_accessible_node.cc.
FlAccessibleNode * fl_accessible_node_new | ( | FlEngine * | engine, |
int32_t | id | ||
) |
fl_accessible_node_new: @engine: the #FlEngine this node came from. @id: the semantics node ID this object represents.
Creates a new accessibility object that exposes Flutter accessibility information to ATK.
Returns: a new #FlAccessibleNode.
Definition at line 482 of file fl_accessible_node.cc.
void fl_accessible_node_perform_action | ( | FlAccessibleNode * | node, |
FlutterSemanticsAction | action, | ||
GBytes * | data | ||
) |
fl_accessible_node_dispatch_action: @node: an #FlAccessibleNode. @action: the action being dispatched. @data: (allow-none): data associated with the action.
Performs a semantic action for this node.
Definition at line 580 of file fl_accessible_node.cc.
|
static |
Definition at line 415 of file fl_accessible_node.cc.
|
static |
Definition at line 208 of file fl_accessible_node.cc.
|
static |
Definition at line 258 of file fl_accessible_node.cc.
void fl_accessible_node_set_actions | ( | FlAccessibleNode * | node, |
FlutterSemanticsAction | actions | ||
) |
fl_accessible_node_set_actions: @node: an #FlAccessibleNode. @actions: the actions this node can perform.
Sets the actions that this node can perform.
Definition at line 550 of file fl_accessible_node.cc.
|
static |
Definition at line 382 of file fl_accessible_node.cc.
void fl_accessible_node_set_children | ( | FlAccessibleNode * | node, |
GPtrArray * | children | ||
) |
fl_accessible_node_set_children: @node: an #FlAccessibleNode. @children: (transfer none) (element-type AtkObject): a list of #AtkObject.
Sets the children of this node. The children can be changed at any time.
Definition at line 499 of file fl_accessible_node.cc.
void fl_accessible_node_set_extents | ( | FlAccessibleNode * | node, |
gint | x, | ||
gint | y, | ||
gint | width, | ||
gint | height | ||
) |
fl_accessible_node_set_extents: @node: an #FlAccessibleNode. @x: x co-ordinate of this node relative to its parent. @y: y co-ordinate of this node relative to its parent. @width: width of this node in pixels. @height: height of this node in pixels.
Sets the position and size of this node.
Definition at line 532 of file fl_accessible_node.cc.
|
static |
Definition at line 348 of file fl_accessible_node.cc.
void fl_accessible_node_set_flags | ( | FlAccessibleNode * | node, |
FlutterSemanticsFlag | flags | ||
) |
fl_accessible_node_set_flags: @node: an #FlAccessibleNode. @flags: the flags for this node.
Sets the flags for this node.
Definition at line 543 of file fl_accessible_node.cc.
|
static |
Definition at line 361 of file fl_accessible_node.cc.
void fl_accessible_node_set_name | ( | FlAccessibleNode * | self, |
const gchar * | name | ||
) |
Definition at line 526 of file fl_accessible_node.cc.
|
static |
Definition at line 340 of file fl_accessible_node.cc.
void fl_accessible_node_set_parent | ( | FlAccessibleNode * | node, |
AtkObject * | parent, | ||
gint | index | ||
) |
fl_accessible_node_set_parent: @node: an #FlAccessibleNode. @parent: an #AtkObject. @index: the index of this node in the parent.
Sets the parent of this node. The parent can be changed at any time.
Definition at line 488 of file fl_accessible_node.cc.
|
static |
Definition at line 142 of file fl_accessible_node.cc.
void fl_accessible_node_set_text_direction | ( | FlAccessibleNode * | node, |
FlutterTextDirection | direction | ||
) |
fl_accessible_node_set_text_direction: @node: an #FlAccessibleNode. @direction: the direction of the text.
Sets the text direction of this node.
Definition at line 572 of file fl_accessible_node.cc.
|
static |
Definition at line 410 of file fl_accessible_node.cc.
void fl_accessible_node_set_text_selection | ( | FlAccessibleNode * | node, |
gint | base, | ||
gint | extent | ||
) |
fl_accessible_node_set_text_selection: @node: an #FlAccessibleNode. @base: the position at which the text selection originates. @extent: the position at which the text selection terminates.
Sets the text selection of this node.
Definition at line 563 of file fl_accessible_node.cc.
|
static |
Definition at line 405 of file fl_accessible_node.cc.
void fl_accessible_node_set_value | ( | FlAccessibleNode * | node, |
const gchar * | value | ||
) |
fl_accessible_node_set_value: @node: an #FlAccessibleNode. @value: a node value.
Sets the value of this node.
Definition at line 557 of file fl_accessible_node.cc.
|
static |
Definition at line 401 of file fl_accessible_node.cc.
G_DEFINE_TYPE_WITH_CODE | ( | FlAccessibleNode | , |
fl_accessible_node | , | ||
ATK_TYPE_OBJECT | , | ||
G_IMPLEMENT_INTERFACE(ATK_TYPE_COMPONENT, fl_accessible_node_component_interface_init) G_IMPLEMENT_INTERFACE(ATK_TYPE_ACTION, fl_accessible_node_action_interface_init) | |||
) |
|
static |
Definition at line 124 of file fl_accessible_node.cc.
|
static |
Definition at line 118 of file fl_accessible_node.cc.
|
static |
|
static |
Definition at line 112 of file fl_accessible_node.cc.
|
static |
Definition at line 36 of file fl_accessible_node.cc.
Definition at line 11 of file fl_accessible_node.cc.
struct { ... } flag_mapping[] |
FlutterSemanticsFlag flags |
Definition at line 106 of file fl_accessible_node.cc.
gboolean invert |
Definition at line 12 of file fl_accessible_node.cc.
AtkStateType state |
Definition at line 10 of file fl_accessible_node.cc.