#include "flutter/shell/platform/linux/fl_view_accessible.h"
#include "flutter/shell/platform/linux/fl_accessible_node.h"
#include "flutter/shell/platform/linux/fl_accessible_text_field.h"
#include "flutter/shell/platform/linux/public/flutter_linux/fl_value.h"
#include "flutter/shell/platform/linux/public/flutter_linux/fl_view.h"
Go to the source code of this file.
Classes | |
struct | _FlViewAccessible |
Enumerations | |
enum | { kProp0, kPropEngine, kPropLast } |
Functions | |
static FlAccessibleNode * | create_node (FlViewAccessible *self, FlutterSemanticsNode2 *semantics) |
static FlAccessibleNode * | lookup_node (FlViewAccessible *self, int32_t id) |
static FlAccessibleNode * | get_node (FlViewAccessible *self, FlutterSemanticsNode2 *semantics) |
static gint | fl_view_accessible_get_n_children (AtkObject *accessible) |
static AtkObject * | fl_view_accessible_ref_child (AtkObject *accessible, gint i) |
static AtkRole | fl_view_accessible_get_role (AtkObject *accessible) |
static AtkStateSet * | fl_view_accessible_ref_state_set (AtkObject *accessible) |
static void | fl_view_accessible_dispose (GObject *object) |
static void | fl_view_accessible_class_init (FlViewAccessibleClass *klass) |
static void | fl_view_accessible_init (FlViewAccessible *self) |
FlViewAccessible * | fl_view_accessible_new (FlEngine *engine) |
void | fl_view_accessible_handle_update_semantics (FlViewAccessible *self, const FlutterSemanticsUpdate2 *update) |
Variables | |
static constexpr int32_t | kRootSemanticsNodeId = 0 |
anonymous enum |
|
static |
Definition at line 29 of file fl_view_accessible.cc.
References fl_accessible_node_new(), and fl_accessible_text_field_new().
Referenced by get_node().
|
static |
Definition at line 119 of file fl_view_accessible.cc.
References fl_view_accessible_dispose(), fl_view_accessible_get_n_children(), fl_view_accessible_get_role(), fl_view_accessible_ref_child(), and fl_view_accessible_ref_state_set().
|
static |
Definition at line 105 of file fl_view_accessible.cc.
Referenced by fl_view_accessible_class_init().
|
static |
Definition at line 70 of file fl_view_accessible.cc.
References lookup_node().
Referenced by fl_view_accessible_class_init().
|
static |
Definition at line 94 of file fl_view_accessible.cc.
Referenced by fl_view_accessible_class_init().
void fl_view_accessible_handle_update_semantics | ( | FlViewAccessible * | accessible, |
const FlutterSemanticsUpdate2 * | update | ||
) |
fl_view_accessible_handle_update_semantics: @accessible: an #FlViewAccessible. @update: semantic update information.
Handle a semantics update from Flutter.
Definition at line 142 of file fl_view_accessible.cc.
References fl_accessible_node_set_actions(), fl_accessible_node_set_children(), fl_accessible_node_set_extents(), fl_accessible_node_set_flags(), fl_accessible_node_set_name(), fl_accessible_node_set_parent(), fl_accessible_node_set_text_direction(), fl_accessible_node_set_text_selection(), fl_accessible_node_set_value(), fl_value_get_int32_list(), fl_value_get_length(), fl_value_new_int32_list(), fl_value_unref(), get_node(), i, lookup_node(), TRUE, user_data, and value.
Referenced by TEST(), and update_semantics_cb().
|
static |
Definition at line 128 of file fl_view_accessible.cc.
FlViewAccessible* fl_view_accessible_new | ( | FlEngine * | engine | ) |
|
static |
Definition at line 82 of file fl_view_accessible.cc.
References i, and lookup_node().
Referenced by fl_view_accessible_class_init().
|
static |
Definition at line 99 of file fl_view_accessible.cc.
References lookup_node().
Referenced by fl_view_accessible_class_init().
|
static |
Definition at line 45 of file fl_view_accessible.cc.
References create_node(), fl_accessible_node_set_parent(), kRootSemanticsNodeId, and lookup_node().
Referenced by fl_view_accessible_handle_update_semantics().
|
static |
Definition at line 38 of file fl_view_accessible.cc.
Referenced by fl_view_accessible_get_n_children(), fl_view_accessible_handle_update_semantics(), fl_view_accessible_ref_child(), fl_view_accessible_ref_state_set(), and get_node().
|
staticconstexpr |
Definition at line 11 of file fl_view_accessible.cc.
Referenced by get_node().